One API, every language.
Query 1,342,720 vehicle records — cars, motorcycles, boats and tire fitment — from Python, Node, PHP or Go. The REST API and MCP server are live today; native SDKs are rolling out in early access.
Pick your language
A working API call you can run today, and the idiomatic SDK that's on the way.
Python SDK for vehicle data
pip install vehdb
early access — not yet published
import requests
r = requests.get(
"https://api.vehdb.com/v1/cars",
params={"make": "Toyota", "year": 2026},
headers={"Authorization": "Bearer YOUR_TOKEN"},
)
print(r.json()["data"][0])
from vehdb import VehDB
client = VehDB("YOUR_TOKEN")
cars = client.cars.search(make="Toyota", year=2026)
print(cars[0].mpg_combined, cars[0].recall_count)
Node.js & TypeScript SDK for vehicle data
npm install @vehdb/sdk
early access — not yet published
const res = await fetch(
"https://api.vehdb.com/v1/cars?make=Toyota&year=2026",
{ headers: { Authorization: "Bearer YOUR_TOKEN" } }
);
const { data } = await res.json();
console.log(data[0]);
import { VehDB } from "@@vehdb/sdk";
const vehdb = new VehDB("YOUR_TOKEN");
const cars = await vehdb.cars.search({ make: "Toyota", year: 2026 });
console.log(cars[0].mpgCombined, cars[0].recallCount);
PHP SDK for vehicle data
composer require vehdb/sdk
early access — not yet published
$ctx = stream_context_create(["http" => [
"header" => "Authorization: Bearer YOUR_TOKEN",
]]);
$res = file_get_contents(
"https://api.vehdb.com/v1/cars?make=Toyota&year=2026", false, $ctx
);
$cars = json_decode($res, true)["data"];
use VehDB\Client;
$vehdb = new Client('YOUR_TOKEN');
$cars = $vehdb->cars()->search(make: 'Toyota', year: 2026);
echo $cars[0]->mpgCombined;
Go SDK for vehicle data
go get github.com/vehdb/vehdb-go
early access — not yet published
req, _ := http.NewRequest("GET",
"https://api.vehdb.com/v1/cars?make=Toyota&year=2026", nil)
req.Header.Set("Authorization", "Bearer YOUR_TOKEN")
resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()
import "github.com/vehdb/vehdb-go"
client := vehdb.New("YOUR_TOKEN")
cars, _ := client.Cars.Search(vehdb.CarQuery{Make: "Toyota", Year: 2026})
fmt.Println(cars[0].MPGCombined)
Another language? The API is plain JSON over HTTPS — see the docs. Prefer a terminal? Try the vehdb CLI.
What the SDKs handle for you
The same REST API — minus the boilerplate.
Typed models
Cars, motorcycles, boats and tire sizes as first-class types — autocomplete and compile-time checks instead of raw dicts and JSON.
Pagination & retries
Iterate result sets without juggling page params; transient errors are retried with backoff.
One token, every dataset
Authenticate once; reach specs, EPA economy, NHTSA recalls and tire fitment — the same surface as the API and MCP server.
No need to wait. The REST API and MCP server are live today and work from any language with a Bearer token — the SDKs just add idiomatic types and helpers on top.