{"openapi":"3.1.0","info":{"title":"carsexport.us partner API","description":"US auction history by VIN for partner sites. Auth: `X-API-TOKEN: cx_live_…` (or `Authorization: Bearer`), plus `X-Lynbro-Site: <site URL>` for keys bound to a site. Errors: {\"error\":{\"code\",\"message\",\"details\"}} — invalid_key 401, scope_missing 403, origin_mismatch 403, quota_exceeded 402, rate_limited 429 (+Retry-After), invalid_vin 422. Messages in da/en/uk by Accept-Language. Webhooks: Lynbro Signature v1. Docs: https://carsexport.us/docs/wordpress","version":"1.0.0"},"servers":[{"url":"https://carsexport.us"}],"paths":{"/api/v1/report/{vin}":{"get":{"summary":"Api Report","description":"Machine-readable own-brand VIN report (decode + history + flags + recalls + import verdict)\n— powers the Chrome extension overlay and the Telegram bot. Same data as /report/{vin}, as JSON.\nScope `report:read`; one call of the key's monthly quota (charged only for a valid VIN).","operationId":"api_report_api_v1_report__vin__get","parameters":[{"name":"vin","in":"path","required":true,"schema":{"type":"string","title":"Vin"}},{"name":"to","in":"query","required":false,"schema":{"type":"string","default":"","title":"To"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/vin/{vin}/history":{"get":{"summary":"Api Vin History","description":"US auction sale history of a VIN: runs the full federated cascade (bid.cars +\ncarsbidshistory price-merge → autobidcar fallback) so the VIN page can render instantly and fill\nthe history live. PUBLIC and CORS-open without a key. With a key (X-API-TOKEN, scope\n`history:read`) the call is metered against the key's monthly quota, refused with the error\nenvelope, and the VIN joins the key's changed-VIN webhook watch list. `refresh=1` forces an\non-demand re-sweep — keys with `history:refresh` only (internal partners).","operationId":"api_vin_history_api_v1_vin__vin__history_get","parameters":[{"name":"vin","in":"path","required":true,"schema":{"type":"string","title":"Vin"}},{"name":"refresh","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Refresh"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/me":{"get":{"summary":"Api Me","description":"Who am I: plan, quota (used/limit/resets_at), scopes, bound origins, key id/last4, webhook\nstate. Any valid key; never spends quota; never cached. The WordPress \"Test\" button calls it.","operationId":"api_me_api_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"X-API-TOKEN"}}},"security":[{"apiKey":[]}]}