Health & contract
Check service dependencies and inspect the API index.
Unauthenticated process liveness probe.
Requires the none — no API key required scope.
Unversioned path, original response shape: /api/health/live
Example request
GET https://api.thecarapi.com/api/v1/health/liveExample response
{
"success": true,
"data": {
"status": "ok",
"service": "car-details-api"
},
"contract_version": "2026-10-05"
}Unauthenticated readiness probe — is the data layer reachable?
Requires the none — no API key required scope.
Unversioned path, original response shape: /api/health/ready
Example request
GET https://api.thecarapi.com/api/v1/health/readyExample response
{
"success": true,
"data": {
"status": "ready"
}
}Return service, data-feed and schema health.
Requires the any key scope.
Unversioned path, original response shape: /api/health
Example requests
GET https://api.thecarapi.com/api/v1/healthcurl -H "Authorization: Bearer $API_KEY" "https://api.thecarapi.com/api/v1/health"Example response
{
"success": true,
"data": {
"status": "healthy",
"service": "car-details-api",
"worker_pid": 41,
"typesense": {
"enabled": true,
"healthy": true
},
"public_auction_feed": {
"enabled": true,
"fresh": true
}
},
"contract_version": "2026-10-05"
}Paging limits and live-price capability of this deployment, and where its OpenAPI document is.
Requires the any key scope.
Unversioned path, original response shape: /api/contract
Example requests
GET https://api.thecarapi.com/api/v1/contractcurl -H "X-API-Key: $API_KEY" "https://api.thecarapi.com/api/v1/contract"Example response
{
"success": true,
"data": {
"version": "2026-10-05",
"live_prices": {
"enabled": true,
"sites": [
"openlane"
],
"ttl_seconds": 120
},
"limits": {
"max_limit": 100,
"max_offset": 5000
},
"openapi": "/api/v1/openapi.json"
}
}What you get back
data.versionstringThe contract version this deployment serves. Matches contract_version on every response.
data.limits.max_limitintegerThe page-size ceiling for your key. Clamp your own paging to it rather than discovering it by being clamped.
data.limits.max_offsetintegerThe offset cap on the capped endpoints (catalog, archive, top-offers, classifieds listings). /api/v1/vehicles has none.
data.live_pricesobjectWhether this deployment reads a running auction’s bid when its detail is requested, which sources it covers, and how long a refreshed price stays current ({ enabled, sites, ttl_seconds }). Read it at startup rather than hardcoding it. The whole block is absent where the feature does not exist at all.
data.openapistringThe path of the OpenAPI document for /api/v1, which lists every field of every response.
What the key you sent may do: scopes, sources, fields and quotas.
Requires the any key scope.
Unversioned path, original response shape: /api/me
Example requests
GET https://api.thecarapi.com/api/v1/mecurl -H "X-API-Key: $API_KEY" "https://api.thecarapi.com/api/v1/me"Example response
{
"success": true,
"data": {
"key": {
"prefix": "lc_live_7f3a",
"name": "Production",
"status": "active",
"sandbox": false,
"expires_at": null,
"scopes": [
"search",
"auctions",
"catalog"
],
"allowed_sites": [
"openlane",
"encar"
],
"allowed_fields": [],
"allowed_origins": [],
"ip_restricted": false,
"rate_limits": {
"minute": 60,
"day": 10000
},
"max_page_size": 100,
"usage": {
"minute": {
"used": 3,
"limit": 60,
"remaining": 57,
"reset": 1791193260
},
"day": {
"used": 412,
"limit": 10000,
"remaining": 9588,
"reset": 1791244800
}
}
}
},
"contract_version": "2026-10-05"
}What you get back
data.key.prefix / data.key.name / data.key.statusstringWhich key this is. The prefix is the first characters of the key, as the portal shows it; the secret itself is never returned.
data.key.sandboxbooleanTrue for a sandbox key. Search, single cars, batches and the brand, model, fuel, gearbox and source lists are answered from a 320-car sample inventory with filters and paging applied; other endpoints return a fixed sample.
data.key.expires_atstring | nullWhen the key stops working, or null for no expiry.
data.key.scopesstring[]Scope groups and literal URL rules granted. * is every route.
data.key.allowed_sitesstring[]Source slugs the key is confined to. Empty means every public source.
data.key.allowed_fieldsstring[]Field groups granted. Empty means the default set.
data.key.allowed_origins / data.key.ip_restrictedstring[] / booleanBrowser origins the key may be used from (empty means any), and whether an IP allowlist applies.
data.key.rate_limitsobjectConfigured request ceilings per minute, hour, day and month. A period that is missing is unlimited.
data.key.max_page_sizeintegerThe largest limit this key may ask for.
data.key.usageobjectWhat has been used in the current window of each limited period: { used, limit, remaining, reset }. Empty for a key with no limits.
Return the human-readable API index and service version.
Requires the any key scope.
Unversioned path, original response shape: /
Example requests
GET https://api.thecarapi.com/curl -H "X-API-Key: $API_KEY" "https://api.thecarapi.com/"Example response
{
"success": true,
"data": {
"service": "Car Details API",
"version": "2.0.0",
"typesense": {
"enabled": true,
"running": true
},
"openapi": "/api/v1/openapi.json"
}
}