跳到主要内容
面向开发者

从自己的系统将库存发布到 MotorLoop

提供文档齐全的 REST API,可创建、更新和读取车辆信息;若您更愿意让 AI 助手操作,也有 MCP 服务器。两者均免费,只有一辆车的私人卖家与拥有两百辆车的经销商使用相同端点。

MotorLoop 的 API 令牌目前尚不能访问 REST API。

令牌仍可立即用于 AI 助手,那是 MCP 服务器,无需更改设置。对于下方 REST 端点,需由店面管理员在店面设置中开启。联系我们,我们会协助开通。

只输入一次,无需重复

如果库存已保存在经销商管理系统、电子表格或您自己的网站中,那个系统就是权威来源。把每辆车重新输入另一个网页表单才容易出错:价格只更新了一处,周二卖掉的车到了周五还在刊登。

一个权威来源

从您一直维护的系统推送。在那里修改价格,再向这里发送一个小请求。

不会意外公开

创建的所有内容都从草稿开始。您决定何时发布,也可用相同方式取消发布。

您自己的字段集合

车辆字段可按店面配置,因此 API 会告诉您此店面接受哪些字段,无需猜测。

第一次来?MotorLoop 是买车、卖车和展示爱车的地方,发布免费。创建账户即可开始,或了解我们与其他网站的比较。

约五分钟完成第一次调用

  1. 01

    创建账户

    免费,与您手动发布车辆时使用的是同一个账户。

  2. 02

    创建令牌

    个人资料 → API 令牌 → 创建令牌。如需写入,请勾选“创建和更新您的车辆信息”。密钥只显示一次。

  3. 03

    确认此处接受令牌

    查看本页顶部横幅。如果此店面关闭了 REST,需先由管理员开启。

  4. 04

    读取字段架构

    写入任何内容前先调用 /api/vehicles/attributes。它会返回此店面的字段名称、类型和允许值。

然后读取五条车辆信息,无需令牌

任何人都能搜索,因此无需注册即可运行。

curl -X GET 'https://api.motorloop.com.au/motorloop/api/vehicles?pageSize=5'

您的端点基础地址为

https://api.motorloop.com.au/motorloop

下方所有路由均基于此地址。店面名称是地址的一部分,令牌仅适用于创建它的店面。

五个容易踩的坑

每种情况都会返回成功代码,却做了与您意图不同的事。现在花两分钟了解很值得。

01没有“year”字段,也没有“state”字段

车型年份和位置是普通结构字段,应放在 `extras` 内——随附目录中为 ModelYearMY 和 State。请求体顶层的 "year" 会被忽略且不报错:您会收到 201 Created,但车源没有年份。请调用 GET /api/vehicles/attributes,并使用返回的名称。

02PUT 会替换整个车源

您发送的属性会成为完整集合,省略的内容会清空。只含两个字段的 PUT 价格更新会清除汽车规格表。日常更改请使用 POST /{id}/price、POST /{id}/status 或 POST /{id}/flags,它们仅更改各自指定的内容。

03REST API 默认禁用 API 令牌

令牌可立即用于 AI 助手,但访问这些端点属于另一项按店铺设置的功能。开启前,即使完全有效的令牌也会收到 401,看起来与无效令牌完全一样。请查看本页顶部横幅,了解此店铺的设置。

04字段值精确匹配,包括大小写

接受“VIC”,不接受“vic”;“SUV”有效,“suv”无效。请原样使用 GET /api/vehicles/attributes 的选项字符串,不要自行规范化。

05新车源均为草稿

通过 API 创建的内容,只有调用 POST /{id}/status 并指定 Active 后才对买家可见。这是刻意设计的——让您有机会在导入内容进入公开网站前检查。

不写代码也能试用

API 提供交互式控制台和机器可读的 OpenAPI 文档。控制台会发送真实请求,您可粘贴令牌,在开发前先看到调用成功。文档可直接导入 Postman、Insomnia 或客户端生成器。

文档仅描述会员可用的接口,即本页端点,不含管理端点。由于从店面路径获取,它已指向 https://api.motorloop.com.au/motorloop,路径可直接解析,无需配置。

让 AI 为您编写客户端

将这段内容粘贴到 Claude、ChatGPT、Cursor 或您使用的工具中。它会让助手读取此店面的机器可读规范,再告知规范无法说明的五件事:哪些规则会让调用成功却悄悄做错事。只需修改指定编程语言的那一行。

Write a small, typed client for the MotorLoop vehicle marketplace API.

Start by fetching the OpenAPI document — it is the authoritative contract:
  https://api.motorloop.com.au/motorloop/openapi/member.json

Base URL (the storefront name is part of the address):
  https://api.motorloop.com.au/motorloop

Auth: send "Authorization: Bearer mlp_..." — a personal access token the account holder
creates in their MotorLoop profile. Reading listings needs no token at all.

Language: <say which — TypeScript, Python, C#, PHP, Go...>

Cover: search listings, read one, list my own, create, update, change status, change
price, and upload photos.

FIVE RULES THE OPENAPI DOCUMENT CANNOT TELL YOU. Each one fails silently — the call
succeeds and the data is wrong — so encode them in the client rather than trusting a
caller to remember:

1. There is no top-level "year" and no top-level "state". Both are ordinary schema
   fields and belong inside "extras"; on the standard catalogue they are named
   ModelYearMY and State. A top-level "year" is IGNORED, not rejected: you get
   201 Created and a listing with no year on it.

2. PUT /api/vehicles/{id} REPLACES the listing. Whatever you send in "extras" becomes
   the complete set, and every field you leave out is cleared. Do not expose it as a
   patch. For routine changes use POST /{id}/price or POST /{id}/status, which touch
   only what they name. If you must PUT, read the listing first and send the whole bag
   back.

3. Every value in "extras" is an ARRAY of strings, even for single-value fields:
   {"BodyType": ["Hatch"], "ModelYearMY": ["2019"]}.

4. Field values are matched exactly, capitals included. "VIC" is accepted and "vic" is
   not; "SUV" works and "suv" does not. Take option strings verbatim from the schema
   endpoint rather than normalising them.

5. A new listing is created as a Draft and is invisible to buyers until you call
   POST /{id}/status with {"status": "Active"}. Do not publish as a side effect of
   creating.

Before writing any field mapping, call GET /api/vehicles/attributes?includeCore=true and
generate your types from what it returns. The field set is configurable per storefront, so
never hard-code it.

Also include: retry on 5xx and network errors but never on 4xx; a typed error read from the
RFC 7807 ProblemDetails body; and no logging of the token.

能浏览网页的助手会获取文档并生成类型。不能浏览的助手也能仅凭提示生成可用客户端,但请确认它在运行时读取字段架构,而不是编造固定字段列表。

端点参考

会员账户可访问的全部接口。标有无需令牌的接口在未登录时也可使用。

读取车源TOKEN+

向所有人开放——无需令牌。可用于获取您自己的库存,或在写入前读取店铺的字段结构。

GET/api/vehicles无需令牌

搜索公开车源。

参数位置作用
qquery · string对品牌、型号、描述和 ML 车牌进行自由文本搜索。
makequery · string以逗号分隔。不区分标点,因此“Mercedes Benz”可匹配“Mercedes-Benz”。
modelquery · string单个值,精确匹配。
listingTypequery · string以逗号分隔的名称:Sale、Swap、SaleOrSwap、Wanted、Showcase、Rental。不接受纯数字。
statusquery · string仅在公开集合内缩小范围:sold、active 或 under-offer。无法访问 Draft 或 Archived。
minPrice / maxPricequery · number价格上下限。
minOdo / maxOdoquery · number里程表读数上下限,单位 km。
locationquery · string逗号分隔的条件之间为 OR;用“/”连接的部分必须全部匹配同一存储值,例如 Richmond/Victoria。
nearLat, nearLng, withinKmquery · number三个参数要么全部提供,要么全部省略——只提供部分会返回 400。半径最大 1000 km。
sellerquery · string卖家的 @handle。未知用户名返回空列表,不会报错。
{FieldName}query · string店铺结构中的每个枚举字段使用一个参数,以逗号表示 OR——例如 ?BodyType=SUV,Ute&Transmission=Automatic。调用 /api/vehicles/attributes 获取当前列表。
min{FieldName} / max{FieldName}query · number任意数字、日期或年月字段的上下限——例如 ?minModelYearMY=2015&maxSeats=5。
sortquery · stringprice_asc、price_desc、oldest、newest(默认),或可排序字段的 {Field}_asc / {Field}_desc。未知值会静默回退为 newest。
pagequery · integer默认为 1。
pageSizequery · integer默认为 20,限制在 1–100 之间。

返回 Active、Sold 和 UnderOffer 车源。已登录调用者也能看到自己的 Unlisted 车源。

上述按字段筛选条件直接从查询字符串读取,因此不会出现在 OpenAPI 文档中——字段列表以您店铺的 GET /api/vehicles/attributes 返回值为准。

curl -X GET 'https://api.motorloop.com.au/motorloop/api/vehicles'

GET/api/vehicles/{id}无需令牌

按 id 获取一个车源,包含其属性和照片。

参数位置作用
id*path · uuid车源 id。

可见状态为 Active、Sold、Unlisted 和 UnderOffer。其他状态返回 404,除非您是所有者。

通过 API 读取从不计为车源浏览——浏览计数仅对带有 X-ML-View 请求头的请求增加,因此同步任务不会虚增您自己的数据。

curl -X GET 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000'

GET/api/vehicles/by-slug/{slug}无需令牌

按公开 URL slug 获取一个车源。

参数位置作用
slug*path · string例如 2019-toyota-corolla-ml-abc-123。根据 ML 车牌末尾部分解析。
curl -X GET 'https://api.motorloop.com.au/motorloop/api/vehicles/by-slug/2019-toyota-corolla-ml-abc-123'

GET/api/vehicles/mineread 权限范围

您自己的所有状态车源。

无分页或筛选——返回您拥有的全部车源,最新优先。

⚠ 此处返回的 attributes 集合为空。若同步需要字段值,请对每个车源进一步调用 GET /api/vehicles/{id},或使用会返回字段值的 MCP my_vehicles 工具。

curl -X GET 'https://api.motorloop.com.au/motorloop/api/vehicles/mine' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN'

GET/api/vehicles/attributes无需令牌

店铺的车辆字段结构——您的导入必须满足的契约。

参数位置作用
includeCorequery · boolean加入 Make、Model 和 Odometer,它们是顶层字段而非属性。构建导入程序时请发送 true。

从这里开始。字段名、数据类型、枚举选项、最小/最大限值和必填字段均因店铺而异,并可由运营方配置——不存在可硬编码的固定列表。

curl -X GET 'https://api.motorloop.com.au/motorloop/api/vehicles/attributes'

GET/api/vehicles/facets无需令牌

包含实时计数的筛选元数据——品牌、车身类型、价格与里程范围、位置。

参数位置作用
listingTypequery · string将计数范围缩小到这些车源类型。
statusquery · string将计数范围缩小到 sold / active / under-offer。
curl -X GET 'https://api.motorloop.com.au/motorloop/api/vehicles/facets'

GET/api/vehicles/makes无需令牌

带实时车源计数的品牌选项。

curl -X GET 'https://api.motorloop.com.au/motorloop/api/vehicles/makes'
创建和更新TOKEN+

需要具有写入权限的令牌。新车源始终创建为 Draft;发布须另行调用。

POST/api/vehicleswrite 权限范围

创建车源。始终创建为 Draft。

参数位置作用
make*body · string最多 100 个字符。
model*body · string最多 100 个字符。
odometerKm*body · integer0–2,000,000.
price*body · number0–100,000,000.
termsVersion*body · string创建时必填。省略时会在执行任何其他检查前拒绝调用。
currencybody · string三个字母。留空默认为 AUD。
descriptionbody · string最多 4000 个字符。
extrasbody · object字段名 → 字符串数组,适用于 /api/vehicles/attributes 中的每个字段。单值字段也使用仅含一个元素的数组。
inventoryNobody · string公开 ML 车牌。留空会自动分配。全局唯一——这不是您的库存编号。
listingTypebody · stringSale(默认)、Swap、SaleOrSwap、Wanted、Showcase 或 Rental。
templatebody · string详情页布局:standard、car-cinematic、cinematic-clean 或 car-editorial。
socialSharingbody · boolean为车源开启分享卡片。新车源默认关闭。
commentsDisabledbody · boolean关闭此车源的评论。

没有 `year` 字段,也没有 `state` 字段。两者都是普通结构字段,应放在 `extras` 中——随附目录中的名称为 ModelYearMY 和 State。

此调用不包含照片。请之后上传,或使用可从 URL 获取照片的 MCP 批量工具。

curl -X POST 'https://api.motorloop.com.au/motorloop/api/vehicles' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "make": "Toyota",
  "model": "Corolla",
  "odometerKm": 84200,
  "price": 21990,
  "currency": "AUD",
  "description": "One owner, full service history, new tyres.",
  "extras": {
    "ModelYearMY": [
      "2019"
    ],
    "State": [
      "VIC"
    ],
    "BodyType": [
      "Hatch"
    ],
    "Transmission": [
      "Automatic"
    ],
    "FuelType": [
      "Petrol"
    ],
    "Colour": [
      "White"
    ],
    "StockNumber": [
      "DLR-1042"
    ],
    "Features": [
      "Bluetooth",
      "Reversing Camera",
      "Apple CarPlay"
    ]
  },
  "termsVersion": "2026-08-03"
}'

PUT/api/vehicles/{id}write 权限范围

替换车源详情。

参数位置作用
id*path · uuid车源 id。

⚠ 这是完整替换,不是局部修补。您在 `extras` 中发送的内容会成为完整属性集——每个省略的字段都会从车源中清空。

如只需更改在线车源中的一项,请优先使用 POST /{id}/price、POST /{id}/status 或 POST /{id}/flags。它们仅更改各自指定的内容。

若必须使用 PUT,请先通过 GET /api/vehicles/{id} 读取车源,在返回属性中修改所需内容,再发送完整集合。

curl -X PUT 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "make": "Toyota",
  "model": "Corolla",
  "odometerKm": 84200,
  "price": 20990,
  "currency": "AUD",
  "description": "One owner, full service history, new tyres.",
  "extras": {
    "ModelYearMY": [
      "2019"
    ],
    "State": [
      "VIC"
    ],
    "BodyType": [
      "Hatch"
    ],
    "Transmission": [
      "Automatic"
    ],
    "FuelType": [
      "Petrol"
    ],
    "Colour": [
      "White"
    ],
    "StockNumber": [
      "DLR-1042"
    ],
    "Features": [
      "Bluetooth",
      "Reversing Camera",
      "Apple CarPlay"
    ]
  }
}'

POST/api/vehicles/{id}/statuswrite 权限范围

发布、取消发布或标记已售。

参数位置作用
id*path · uuid车源 id。

Draft 通过此调用上线。通过 API 创建的任何内容在调用它之前均不公开。

将车源转入或转出 Pending 仅限管理员;其他状态转换均可由您执行。

curl -X POST 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000/status' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "status": "Active"
}'

POST/api/vehicles/{id}/pricewrite 权限范围

更改价格,不影响其他内容。

参数位置作用
id*path · uuid车源 id。

适用于每晚价格同步的调用——不具有 PUT 的完整替换风险。

curl -X POST 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000/price' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "price": 20990,
  "currency": "AUD"
}'

POST/api/vehicles/{id}/flagswrite 权限范围

直接切换分享、评论或车源类型。

参数位置作用
id*path · uuid车源 id。

任何省略字段均保持原样。

curl -X POST 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000/flags' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "socialSharing": true,
  "listingType": "SaleOrSwap"
}'

DELETE/api/vehicles/{id}write 权限范围

删除车源。

参数位置作用
id*path · uuid车源 id。

软删除——车源从所有界面消失,管理员可以恢复。

可考虑改为通过 POST /{id}/status 设置 Archived:这样车源仍保留在您自己的列表中,供您查看。

curl -X DELETE 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN'
照片TOKEN+

照片以 multipart 表单数据上传。顺序很重要——索引 0 是封面图片。

POST/api/vehicles/{id}/imageswrite 权限范围

上传一张或多张照片。

参数位置作用
id*path · uuid车源 id。
files*form · file[]jpg、jpeg、png 或 webp;每张最多 10 MB。
labelsform · string[]可选,按相同顺序为每个文件提供一项——图片标签 tag id,或留空表示无标签。

multipart/form-data。排序后的第一张照片为封面图片。

每个店铺对车源照片数量有上限,低于店铺最低分辨率要求的照片会被拒绝。

此端点不支持按 URL 添加照片。如果图片位于网络服务器,MCP 批量导入可为您获取。

curl -X POST 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000/images' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN'

PUT/api/vehicles/{id}/images/orderwrite 权限范围

调整照片顺序,或选择新封面图片。

参数位置作用
id*path · uuid车源 id。

列表必须恰好包含每张现有照片一次。索引 0 成为封面。

curl -X PUT 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000/images/order' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "imageIds": [
    "00000000-0000-0000-0000-000000000001",
    "00000000-0000-0000-0000-000000000002"
  ]
}'

PUT/api/vehicles/{id}/images/{imageId}/labelwrite 权限范围

为照片设置标签(“正面”“内饰”等),或清除标签。

参数位置作用
id*path · uuid车源 id。
imageId*path · uuid照片 id。

发送 null 可清除。标签 id 来自 GET /api/tags——即类型为 ImageLabel 的标签。

curl -X PUT 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000/images/00000000-0000-0000-0000-000000000000/label' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "tagId": null
}'

PUT/api/vehicles/{id}/images/{imageId}write 权限范围

替换现有照片的文件,保留其位置和标签。

参数位置作用
id*path · uuid车源 id。
imageId*path · uuid照片 id。
file*form · file替换图片。
curl -X PUT 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000/images/00000000-0000-0000-0000-000000000000' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN'

DELETE/api/vehicles/{id}/images/{imageId}write 权限范围

删除照片。

参数位置作用
id*path · uuid车源 id。
imageId*path · uuid照片 id。
curl -X DELETE 'https://api.motorloop.com.au/motorloop/api/vehicles/00000000-0000-0000-0000-000000000000/images/00000000-0000-0000-0000-000000000000' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN'
账号和参考数据TOKEN+

我是谁,以及车辆字段所依赖的查询数据。这里刻意不提供创建或撤销令牌——那是浏览器操作,令牌尝试生成另一个令牌时会被拒绝。

GET/api/auth/meread 权限范围

令牌对应的账号,以及角色和权限。

确认令牌有效并查看其允许操作的最快方式。

curl -X GET 'https://api.motorloop.com.au/motorloop/api/auth/me' \
  -H 'Authorization: Bearer mlp_YOUR_TOKEN'

GET/api/tenant-info无需令牌

店铺公开设置,包括此处是否接受 API 令牌。

curl -X GET 'https://api.motorloop.com.au/motorloop/api/tenant-info'

GET/api/tags无需令牌

照片标签选项,供您通过 id 设置标签。

在此列出的唯一原因:为照片设置标签需要 tag id,而 id 来自此处。请查找类型为 ImageLabel 的标签。

curl -X GET 'https://api.motorloop.com.au/motorloop/api/tags'

GET/api/places无需令牌

郊区和城镇查询,适用于类型为 `suburb` 的字段。

参数位置作用
q*query · string要搜索的内容。
countryquery · stringISO2 代码或国家名称。省略则搜索全球。
limitquery · integer最多 25。

suburb 字段存储此调用返回的组合值,包括坐标——请勿手动拼接。

curl -X GET 'https://api.motorloop.com.au/motorloop/api/places'

可设置的状态

值显示为含义
Draft草稿仅您可见。每个新车源的起始状态。
Active已上架公开且可浏览。
Unlisted不公开已发布,但不出现在搜索中——可通过直接链接访问。
UnderOffer洽谈中仍公开且可联系,标记为已有意向买家。
Sold已售保持可见,标记已售。
Archived已归档从所有公开界面撤下,保留在您的个人列表。

将车辆信息移入或移出审核队列是管理员操作,因此不能通过 API 设置这些状态。

此店面的车辆字段

除品牌、车型和里程表读数外,MotorLoop 还接受 80 个车辆字段,下方按此店面的 12 个分区分组。这些字段可以配置,因此请将此列表视为快照,在运行时读取 /api/vehicles/attributes,不要写死;每个字段所属分区会在该调用中以 section 返回。

文件需要的列

列备注
stockNumberYour own reference. The bulk import matches on it, so re-running a file updates nothing twice. Stored as the StockNumber attribute — it is NOT the public ML plate.
make*Required.
model*Required.
odometerKm*Required. Whole kilometres.
price*Required. Numbers only — no currency symbol, no thousands separator.
currencyThree letters. Blank means AUD.
descriptionFree text, up to 4000 characters.
listingTypeSale, Swap, SaleOrSwap, Wanted, Showcase or Rental. Blank means Sale.
statusWhat to set after creating. Blank leaves the listing as a Draft.
imageUrlsPipe-separated public https URLs. Used by the MCP bulk import, which downloads them; the REST API uploads files instead.
此店面的全部 80 个架构字段+

请放在 extras 内发送,每项都是字符串数组。值须完全匹配,包括大小写。在 CSV 中,用 | 分隔多个值。

字段类型接受的值
Main6
SeriesSeriestext自由文本
BadgeBadgetext自由文本
ModelYearMYModel Year (MY)monthyear自由文本
Suburb*Vehicle Locationsuburb自由文本
PriceTypePrice TypeenumNegotiable, Fixed Price, Drive Away, Excl. Gov. Charges
seller-type*Seller TypeenumPrivate, Dealer
Dealer Details4
dealer-name*Nametext自由文本
dealer-address*Locationaddress自由文本
car-delaer-lmct*LMCTnumber自由文本
dealer-phonePhonetext自由文本
Engine & Drivetrain13
EngineDescriptionEngine Descriptiontext自由文本
EngineSizeEngine Sizenumber自由文本
CylindersCylindersenum2, 3, 4, 5, 6, 8, 10, 12
InductionInductionenumAspirated, Turbo, Twin Turbo, Supercharged, Turbo Supercharged, Not Applicable
FuelType*Fuel TypeenumPetrol, Diesel, Hybrid, Plug-in Hybrid, Electric, Dual Fuel, Gas Only, LPG
Transmission*TransmissionenumAutomatic, Manual, Sports Automatic, AMT, Dual Clutch
GearsGearsnumber自由文本
DriveTypeDrive TypeenumFront Wheel Drive, Rear Wheel Drive, All Wheel Drive, 4x4, 4x2, 6x2, 6x6
PowerPowernumber自由文本
TopSpeedTop Speednumber自由文本
PowerRpmPower RPMnumber自由文本
TorqueTorquenumber自由文本
Acceleration0-100 km/hnumber自由文本
Body & Style7
BodyTypeBody TypeenumBus, Cab Chassis, Convertible, Coupe, Hatch, People Mover, Sedan, SUV, Ute, Van, Wagon
ColourColourenumBeige, Black, Blue, Bronze, Brown, Burgundy, Gold, Green, Grey, Maroon, Orange, Pink, Purple, Red, Silver, White, Yellow, Other
PaintNamePaint / Colour Nametext自由文本
InteriorColourInterior ColourenumBeige, Black, Blue, Bronze, Brown, Burgundy, Gold, Green, Grey, Maroon, Orange, Pink, Purple, Red, Silver, White, Yellow, Other
SeatsSeatsnumber自由文本
DoorsDoorsnumber自由文本
LifestyleLifestyleenum(多选)Family, First Car, Green, Off-road 4x4, Performance, Prestige, Tradie, Unique
Fuel & Economy7
FuelEconomyFuel Economynumber自由文本
ConsumptionCityConsumption (City)number自由文本
ConsumptionHighwayConsumption (Highway)number自由文本
FuelCapacityFuel Capacitynumber自由文本
FuelGradeFuel GradeenumStandard ULP, Premium ULP 95, Premium ULP 98, Diesel, E10, E85, LPG
Co2CombinedCO2 (Combined)number自由文本
EmissionStandardEmission StandardenumEuro 4, Euro 5, Euro 6, Euro 6d
Electric & Hybrid3
RangeDriving Rangenumber自由文本
BatteryCapacityBattery Capacitynumber自由文本
PlugTypePlug Typeenum(多选)CCS2, CHAdeMO, Type 1, Type 2
Safety3
AncapRatingANCAP Safety Ratingnumber自由文本
AirbagsAirbagsnumber自由文本
FeaturesSafetySafety & Driver-assistenum(多选)Driver Airbag, Passenger Airbag, Head Airbags (1st Row), Head Airbags (2nd Row), Side Airbags (1st Row), Seatbelt Reminder, Crash Avoidance Braking (Low Speed), Pedestrian AEB, Brake Assist, Emergency Brake Signal, First Aid Kit, Vulnerable Road User Detection, ABS, Traction Control, Electronic Stability Control, Hill Holder, Active Lane Keeping, Forward Collision Warning, Blind Spot Monitoring, Front Parking Sensors, Rear Parking Sensors, Automated Parking Assist, Reversing Camera, Proximity Central Locking, Remote Central Locking
Features11
FeaturesFeaturesenum(多选)ABS, AEB, Air Conditioning, Alarm, Alloy Wheels, Android Auto, Apple CarPlay, Automatic Headlights, Automatic Wipers, Blind Spot Monitoring, Bluetooth, Bull Bar, Climate Control, Cruise Control, Daytime Running Lights, Diff Lock, ESC, Fog Lights, Forward Collision Warning, Heated Seats, Lane Departure Warning, Leather Seats, Parking Assistance, Parking Sensors, Power Mirrors, Power Windows, Proximity Keyless Entry, Rear Cross Traffic Warning, Remote Central Locking, Reversing Camera, Rollover Stability Control, Satellite Navigation, Steering Wheel Controls, Sunroof, Tow Bar, Traction Control, Trailer Sway Control, Tyre Pressure Sensors, Wheelchair Accessible
FeaturesAudioAudio & Communicationenum(多选)Bluetooth, USB Input, Aux Input, Memory Card Reader, Inbuilt Flash Drive, Wireless Charging, Android Auto, Apple CarPlay, Smart Device Integration, Colour Display Screen (Front), 14-Speaker Stereo, Subwoofer, Digital Radio (DAB+), Voice Recognition, Multi-function Control Screen
FeaturesComfortComfort & Convenienceenum(多选)Climate Control (2-zone), Adaptive Cruise / Distance Control, Ambient Lighting, Footwell Lamps (Front), Proximity Start Button, Front Centre Armrest, Floor Mats, Illuminated Vanity Mirror, 12V Auxiliary Socket
FeaturesInstrumentsInstrumentsenum(多选)Full Digital Instrument Display, Trip Computer, Tyre Pressure Monitoring, Satellite Navigation, Speed Limiter
FeaturesLightsLights & Windowsenum(多选)Auto High Beam, Adaptive High Beam, Automatic Headlights, LED Headlights, Headlight Washers, LED Tail Lights, LED Daytime Running Lamps, Electric Anti-glare Rear Mirror, Rain-sensing Wipers
FeaturesExteriorExteriorenum(多选)Body-coloured Bumpers, Body-coloured Exterior Mirrors, Power Tailgate, Electric Mirrors, Electric Anti-glare Mirrors, Electric Auto-dipping Mirrors, Electric Folding Mirrors, Electric Heated Mirrors, Scuff Plates, Lower Body Kit, Rear Diffuser, Rear Roof Spoiler
FeaturesDrivetrainDrivetrain & Modesenum(多选)Gear Shift Paddles, Selectable Driving Mode, Electronic Differential Lock, Engine Stop-start
FeaturesSteeringBrakesSteering & Brakesenum(多选)Multi-function Steering Wheel, Sports Steering Wheel, Electric Power Steering, Speed-sensitive Steering, Painted Front Calipers, Painted Rear Calipers, Ventilated Front Brakes, Solid Rear Brakes, Electric Park Brake
FeaturesInteriorInteriorenum(多选)Leather-look Inserts, Leather-look Door Inserts, Embossed Leather Seats, Nappa Leather Seats, Partial Leather Seats, Leather Steering Wheel, Metallic Air Vents, Metallic Door Mirrors, Metallic Inserts, Metallic Speaker Trims, Sports Pedals
FeaturesSuspensionWheelsSuspension & Wheelsenum(多选)Sports Suspension, Lowered Suspension, Tyre Repair Kit
FeaturesSeatingSeatingenum(多选)Sports Front Seats, Electric Driver Seat (Lumbar), Electric Passenger Seat (Lumbar), Heated Front Seats, 2nd Row Split-fold
Condition & History5
ConditionConditionenumNew, Demo, Near New, Used
BuildDateBuild Datemonthyear自由文本
ComplianceDateCompliance Datemonthyear自由文本
RegoExpiryRegistration Expirymonthyear自由文本
CountryOfOriginCountry of Origincountry自由文本
Dimensions & Weights11
LengthLengthnumber自由文本
WidthWidthnumber自由文本
HeightHeightnumber自由文本
WheelbaseWheelbasenumber自由文本
GroundClearanceGround Clearancenumber自由文本
TareMassTare Massnumber自由文本
GrossVehicleMassGross Vehicle Massnumber自由文本
BootSpaceMinBoot Space (Min)number自由文本
BootSpaceMaxBoot Space (Max)number自由文本
TowBrakedTow Braked Capacitynumber自由文本
TowUnbrakedTow Unbraked Capacitynumber自由文本
Wheels & Tyres5
RimMaterialRim MaterialenumAlloy, Steel, Forged Alloy, Carbon Fibre
FrontTyreFront Tyretext自由文本
RearTyreRear Tyretext自由文本
FrontRimFront Rimtext自由文本
RearRimRear Rimtext自由文本
Warranty & Service5
WarrantyWarrantytext自由文本
RoadsideAssistanceRoadside Assistancetext自由文本
AntiCorrosionWarrantyAnti-corrosion Warrantytext自由文本
FirstServiceFirst Servicetext自由文本
ServiceIntervalService Intervaltext自由文本

此店面的模板

根据上方架构生成,并非通用示例;列名就是此店面实际接受的字段。

这遵循行业标准吗?+

值得明确回答,因为下方字段名称是我们自己定义的,理应作出解释。

识别车辆——RedBook 的实际应用
澳大利亚经销商软件普遍通过 RedBook 代码识别车辆,carsales 的 AutoGate 也要求提供。此数据属于商业授权数据,因此 MotorLoop 不接受或存储 RedBook 代码。请改为发送普通品牌、型号和年份;如需将车源对应回自身系统,可在库存编号中保留您自己的代码。
这里没有开放的交换标准
零配件有 ACES 和 PIES,但澳大利亚车辆车源没有任何人都能实现的公开结构。carsales AutoGate 是事实上的枢纽,其 Inventory API 为专有接口;各 DMS 厂商输出的格式各不相同。因此没有统一标准可遵循,每个交易平台最终都自行定义字段。
最接近通用语言的是 Google 的数据源
Google 的 Vehicle Listings 数据源规范(CSV、TSV 或 XML)是最清晰的公开结构,大多数经销商已在生成:品牌、型号、年份、价格、里程、车况、颜色、图片链接、VIN 和门店代码。我们的 CSV 模板参照它设计,因此列名看起来会很熟悉。
您的车源页面已带有 schema.org 标记
每个已发布车源都会输出 schema.org Vehicle 和 Product 结构化数据,因此搜索引擎和 AI 答案引擎无需您操作即可读取。这是真正适用的标准,但用于输出端而非输入端。

批量操作

坦诚说明当前情况:目前没有接收整份文件的 REST 端点。现有方式是每辆车发送一次请求,以及 MCP 的批处理工具。上方 CSV 模板是供您自己的导入程序读取的格式,没有可上传它的入口。

首次载入库存

MCP 批量工具每次调用最多接受 25 辆车,写入任何一行前会检查全部行,也可在不创建内容的情况下演练整个过程。使用过的库存编号所在行会跳过而非重复,因此可安全重跑文件。它还能从您托管的 URL 获取照片。

批量导入如何运作 →

保持更新

每晚同步时,遍历有变更的车辆,每辆发送一个小请求:调价用 /price,售出用 /status。仅在详情本身改变时才用 PUT,且须发送完整属性集合。

REST 还是 MCP?

进入同一市场的两种方式,同一个令牌两者通用。大致而言:用 REST 编写代码,用 MCP 连接助手。

您想做什么使用原因
从 DMS 或电子表格执行可重复的脚本同步REST确定性请求,可记录、重试并比较差异。
上传磁盘上的照片文件RESTMultipart 上传。MCP 工具无法发送文件字节。
搜索图库上传并读取照片详情均可登录后按文本或图库字段搜索自己的共享上传。MCP 返回尺寸、元数据和页面使用情况;策展人可搜索所有上传者。
管理已上传图库照片均可编辑描述和标签、提交审核、下架照片或删除未使用照片。两种方式均遵循相同所有权和审核规则。RootAdmin 可管理其他上传者;图片替换仅限策展人。
从您已托管的 URL 添加照片MCP批量工具在后台获取照片。REST 请求体没有图片 URL 字段。
一次调用创建多个车源MCP每次最多 25 个,写入前先按批次验证。REST 则每辆车一个请求。
在任何写入前预演导入MCP试运行会报告每行将执行的操作,不创建任何内容。
跳过已导入行MCP根据您自己的库存编号匹配行,因此可安全地重新导入。
让用户用普通英语提出请求来管理库存MCPClaude、ChatGPT、Cursor 等直接连接。
无需额外店铺设置即可使用MCP令牌可立即访问 MCP;REST 需要店铺先开启。
完全无需账号即可读取车源均可两种渠道均开放搜索和读取。
发布、取消发布或标记汽车已售均可无论使用哪种方式,底层操作相同。

改为连接 AI 助手 →

要集成您自己的系统?

如果您运营经销商管理系统、面向经销商的网站,或是库存存放在不易对接系统中的经销商,请告诉我们现状,我们会与您一起确定映射。登记意向后我们会致电,无义务,也不收费。

常见问题

使用 API 必须是经销商吗?
不必。任何账户都可以创建令牌。只有一辆车的私人卖家与拥有两百辆车的经销商使用完全相同的 API 端点,没有单独的级别,也无需申请。
费用是多少?
在 MotorLoop 发布车辆免费,通过 API 发布也免费。不按调用次数收费,也没有单独的开发者套餐。
我的令牌能用于 AI 助手,但 API 返回 401。
能否访问 REST 端点由各店面的独立设置决定,店面管理员开启前默认关闭。拒绝响应有意与令牌无效时相同,因此在排查代码错误前,请先查看本页顶部横幅中该店面的状态。
为什么更新后车辆信息的详情丢失了?
PUT 会替换整条车辆信息:您发送的属性成为完整集合,遗漏的属性会被清除。常规修改请使用 price、status 或 flags 端点,它们只修改名称所指的内容。
年份应该放在哪里?
放在属性集合中,键名使用店面的车型年份字段名称,标准目录中为 ModelYearMY。不存在顶层 year 字段;顶层发送的年份会被忽略而非拒绝,因此车辆信息会在没有年份的情况下保存。
可以通过 URL 上传照片吗?
REST 不支持,它接收上传的文件。MCP 批量导入可以从您托管的 URL 获取照片;如果图片已在网页服务器上,这通常更方便。
车辆信息会自动发布吗?
不会。通过 API 创建的内容最初都是草稿,调用 status 端点前始终不公开。这是有意的设计,让您有机会在买家看到前检查导入结果。
同一次导入运行两遍会怎样?
通过 MCP 批量导入时,使用过的库存编号所在行会报告为已跳过,而不会重复创建。通过 REST 时,每次请求都会创建一条信息,因此您的脚本需要记录已发送的内容。