Quick Start

Get vehicle specifications data for 47,000+ cars, 5,400+ trucks, and 1,800+ motorcycles via a simple REST API.

Base URL
https://api.carsdataset.com
Authentication
Header: X-API-Key: your_api_key
Response Format
JSON — all endpoints return application/json
Rate Limits
Free: 100 req/min   Paid: 1,000 req/min

Your First Request

curl
# Free preview — no API key needed
curl "https://api.carsdataset.com/api/v1/preview/search?brand=BMW"

# Full access — with API key
curl -H "X-API-Key: your_api_key" \
  "https://api.carsdataset.com/api/v1/search?brand=BMW"

Authentication

The API uses API key authentication. Include your key in the X-API-Key header with every request.

Free Preview Endpoints

These endpoints require no authentication and return a subset of fields — perfect for evaluation:

GET /api/v1/preview/search          # Cars preview
GET /api/v1/preview/trucks/search    # Trucks preview
GET /api/v1/preview/motorcycles/search # Motorcycles preview

Authenticated Endpoints

All other endpoints require a valid API key. Requests without a key return 401 Unauthorized.

Example
curl -H "X-API-Key: sk_live_abc123..." \
  "https://api.carsdataset.com/api/v1/search?brand=Toyota"

Try It Live

Hit the API right from your browser. Preview endpoints are free — no API key needed.


Free Preview Endpoints

No API key required. Returns a limited set of fields for evaluation purposes.


Cars Endpoints

Full access to 47,000+ car variants across 108 brands. Requires API key.

GET /api/v1/stats 🔒 API Key

Get database statistics including total variants, brands, model count, and year range.

Example Request

curl
curl -H "X-API-Key: your_api_key" \
  "https://api.carsdataset.com/api/v1/stats"

Example Response

json
{
  "total_variants": 47344,
  "total_brands": 108,
  "total_models": 1847,
  "year_range": [1898, 2026],
  "segments": ["SUV", "Sedan", "Hatchback", "Coupe", ...]
}
GET /api/v1/brands 🔒 API Key

List all car brands with their variant counts.

Example Response

json
{
  "brands": [
    { "brand": "Toyota", "count": 523 },
    { "brand": "BMW", "count": 487 },
    ...
  ]
}
GET /api/v1/models 🔒 API Key

List all models for a specific brand.

Parameters

NameTypeRequiredDescription
brandstringrequiredBrand name (e.g., BMW)

Example Request

curl
curl -H "X-API-Key: your_api_key" \
  "https://api.carsdataset.com/api/v1/models?brand=BMW"
GET /api/v1/vehicle/{id} 🔒 API Key

Get complete specifications for a single vehicle by its ID.

Path Parameters

NameTypeRequiredDescription
idintegerrequiredVehicle ID (from search results)

Example Request

curl
curl -H "X-API-Key: your_api_key" \
  "https://api.carsdataset.com/api/v1/vehicle/8421"

Trucks Endpoints

Access 5,400+ commercial vehicle variants. Requires API key.

GET /api/v1/trucks/stats 🔒 API Key

Get truck database statistics.

Example Request

curl
curl -H "X-API-Key: your_api_key" \
  "https://api.carsdataset.com/api/v1/trucks/stats"
GET /api/v1/trucks/brands 🔒 API Key

List all truck brands with variant counts.

Example Request

curl
curl -H "X-API-Key: your_api_key" \
  "https://api.carsdataset.com/api/v1/trucks/brands"
GET /api/v1/trucks/{id} 🔒 API Key

Get complete specifications for a single truck by its ID.

Path Parameters

NameTypeRequiredDescription
idintegerrequiredTruck ID (from search results)

Example Request

curl
curl -H "X-API-Key: your_api_key" \
  "https://api.carsdataset.com/api/v1/trucks/142"

Motorcycles Endpoints

Access 1,800+ motorcycle variants across 170+ brands. Requires API key.

GET /api/v1/motorcycles/stats 🔒 API Key

Get motorcycle database statistics.

Example Request

curl
curl -H "X-API-Key: your_api_key" \
  "https://api.carsdataset.com/api/v1/motorcycles/stats"
GET /api/v1/motorcycles/brands 🔒 API Key

List all motorcycle brands with variant counts.

Example Request

curl
curl -H "X-API-Key: your_api_key" \
  "https://api.carsdataset.com/api/v1/motorcycles/brands"
GET /api/v1/motorcycles/{id} 🔒 API Key

Get complete specifications for a single motorcycle by its ID.

Path Parameters

NameTypeRequiredDescription
idintegerrequiredMotorcycle ID (from search results)

Example Request

curl
curl -H "X-API-Key: your_api_key" \
  "https://api.carsdataset.com/api/v1/motorcycles/305"

Pricing

Choose the dataset or API access plan that fits your needs.

Datasets (one-time purchase)

Cars
$499
one-time
47,000+ variants
108 brands
40+ fields per vehicle
CSV + JSON export
Trucks
$399
one-time
5,400+ variants
Commercial vehicles
45+ fields per truck
CSV + JSON export
Motorcycles
$299
one-time
1,800+ variants
170+ brands
40+ fields per bike
CSV + JSON export

API Access

Free Preview
$0
forever
Preview endpoints only
Limited fields
100 requests/min
No API key needed
API Starter
$149
per month
All endpoints
All fields (40-45+ per vehicle)
1,000 requests/min
Email support
Subscribe

Instant access. API key emailed on payment. Cancel anytime via the customer portal below.

Manage your subscription

Already a customer? Enter the email you used at checkout to open Stripe's secure customer portal. From there you can update your card, download invoices, or cancel your subscription — no login or password required.