The Used Car Index Compare Vehicles API
The Compare Vehicles API from The Used Car Index — 1 operation(s) for compare vehicles.
The Compare Vehicles API from The Used Car Index — 1 operation(s) for compare vehicles.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/theusedcarindex-com:theusedcarindex-com-compare-vehicles-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Used Car Index Compare Vehicles API
version: 1.1.0
description: Observed vehicle records, stored verified sales rates, and listing changes. No rating, verdict or repair advice. Version 1.1.0 keeps the /v1/ paths; see the Changes section and workers/api/CHANGELOG.md for additions, behavior changes and fixes since launch.
servers:
- url: https://api.theusedcarindex.com
tags:
- name: Compare Vehicles
paths:
/v1/compare_vehicles:
get:
summary: Compact facts and factual orderings (N units)
security:
- bearerAuth: []
- apiKey: []
parameters:
- name: vehicles
in: query
required: true
schema:
type: string
description: 2..5 comma-separated make:model:year items; URL-encode. Limited by max_compare.
responses:
'200':
description: Success
headers:
X-Request-Id:
schema:
type: string
X-RateLimit-Limit:
schema:
type: string
X-RateLimit-Remaining:
schema:
type: string
X-RateLimit-Reset:
schema:
type: string
X-RateLimit-Window:
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Comparison'
'400':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'405':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'413':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'415':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
headers:
Retry-After:
schema:
type: string
'500':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'503':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
tags:
- Compare Vehicles
operationId: getV1CompareVehicles
x-operation-id-source: derived
post:
summary: Compare 2..5 vehicles, bounded by max_compare (N units)
security:
- bearerAuth: []
- apiKey: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
vehicles:
type: array
items:
$ref: '#/components/schemas/VehicleInput'
minItems: 2
maxItems: 5
required:
- vehicles
additionalProperties: false
responses:
'200':
description: Success
headers:
X-Request-Id:
schema:
type: string
X-RateLimit-Limit:
schema:
type: string
X-RateLimit-Remaining:
schema:
type: string
X-RateLimit-Reset:
schema:
type: string
X-RateLimit-Window:
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Comparison'
'400':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'401':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'403':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'405':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'413':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'415':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'429':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
headers:
Retry-After:
schema:
type: string
'500':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'503':
description: RFC 9457 problem with stable code; 429 includes Retry-After.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
tags:
- Compare Vehicles
operationId: postV1CompareVehicles
x-operation-id-source: derived
components:
schemas:
Comparison:
type: object
properties:
vehicles:
type: array
items:
type: object
properties:
key:
type: string
vehicle:
type: object
not_found:
type: boolean
suggestions:
type: array
items:
type: object
complaints:
type:
- object
- 'null'
recalls:
type:
- object
- 'null'
investigations:
type:
- object
- 'null'
manufacturer_communications:
type:
- object
- 'null'
rate:
oneOf:
- $ref: '#/components/schemas/Rate'
- type: 'null'
top_systems:
type: array
items:
type: object
properties:
system:
type: string
count:
type: integer
minimum: 0
required:
- system
- count
required:
- key
- vehicle
- not_found
- complaints
- recalls
- investigations
- manufacturer_communications
- rate
- top_systems
comparison:
type: object
properties:
fewest_complaints_per_100k:
type: object
properties:
ordered:
type: array
items:
type: string
unrated:
type: array
items:
type: string
required:
- ordered
- unrated
most_recalls:
type: array
items:
type: string
most_complaints:
type: array
items:
type: string
required:
- fewest_complaints_per_100k
- most_recalls
- most_complaints
required:
- vehicles
- comparison
Problem:
type: object
properties:
type:
type: string
format: uri
title:
type: string
status:
type: integer
detail:
type: string
code:
type: string
required:
- type
- title
- status
- detail
- code
additionalProperties: true
VehicleInput:
type: object
properties:
make:
type: string
minLength: 1
maxLength: 64
model:
type: string
minLength: 1
maxLength: 64
year:
type: integer
minimum: 2000
maximum: 2027
required:
- make
- model
- year
additionalProperties: false
Rate:
type: object
properties:
complaints_per_100k_sold:
type:
- number
- 'null'
units_sold:
type:
- number
- 'null'
sales_year:
type:
- number
- 'null'
basis:
type:
- string
- 'null'
source:
type:
- string
- 'null'
source_url:
type:
- string
- 'null'
null_reason:
type:
- string
- 'null'
required:
- complaints_per_100k_sold
- units_sold
- sales_year
- basis
- source
- source_url
- null_reason
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: API key; distinct from administrative credentials.
apiKey:
type: apiKey
in: header
name: X-API-Key
externalDocs:
description: Changes since API 1.0.0
url: https://api.theusedcarindex.com/#changes