Quickstart
Get up and running with the DriveDecision API in under 5 minutes.
1
Get Your API Key
Sign up for a free account and generate your API key from the dashboard.
Get API Key2
Make Your First Request
Use any HTTP client to fetch vehicle reliability data. Replace YOUR_API_KEY with your actual key.
cURL
curl -X GET "https://api.drivedecision.com/v1/vehicles/honda/civic" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"3
Parse the Response
The API returns structured JSON with vehicle data, complaints, and reliability metrics.
Response
{
"success": true,
"data": {
"make": "Honda",
"model": "Civic",
"years": [2020, 2021, 2022, 2023, 2024],
"total_complaints": 234,
"reliability_trend": "improving",
"common_categories": [
{ "name": "electrical", "count": 67 },
{ "name": "engine", "count": 45 },
{ "name": "transmission", "count": 38 }
]
}
}4
Integrate Into Your App
Use the data in your application. Here's an example with TypeScript/JavaScript:
app.ts
1const API_KEY = process.env.DRIVEDECISION_API_KEY;23async function getVehicleReliability(make: string, model: string, year?: number) {4 const url = year5 ? `https://api.drivedecision.com/v1/complaints/${make}/${model}/${year}`6 : `https://api.drivedecision.com/v1/vehicles/${make}/${model}`;78 const response = await fetch(url, {9 headers: {10 'Authorization': `Bearer ${API_KEY}`,11 'Content-Type': 'application/json',12 },13 });1415 if (!response.ok) {16 throw new Error(`API error: ${response.status}`);17 }1819 return response.json();20}2122// Example usage23const data = await getVehicleReliability('honda', 'civic', 2023);24console.log(`Reliability Score: ${data.data.reliability_score}`);API Tiers
| Tier | Requests | Rate Limit | Price |
|---|---|---|---|
| Free | 100/month | 10/min | $0 |
| Starter | 5,000/month | 60/min | $29/mo |
| Growth | 25,000/month | 300/min | $99/mo |
| Scale | 100,000/month | 1000/min | $299/mo |
| Enterprise | Unlimited | Custom | Contact us |