Repair Data API documentation
Base URL https://www.shopcrank.com/api/v1. Version 1. Every response is JSON over HTTPS. The complete reference is the OpenAPI 3.1 specification; this page covers what you need to start.
- Quick start
- Authentication and keys
- Endpoints
- Usage, limits and billing
- Example response
- Errors
- Account and billing
- Good practices
Quick start
Get a key on the signup page, then send it as a bearer token.
curl "https://www.shopcrank.com/api/v1/codes/P0420?make=Kia&model=Soul&year=2014" \ -H "Authorization: Bearer sck_live_YOUR_KEY" curl "https://www.shopcrank.com/api/v1/vehicles/Ford/F-150?year=2015&system=Brakes" \ -H "Authorization: Bearer sck_live_YOUR_KEY"
Authentication and keys
Send Authorization: Bearer sck_live_… on every request. Keys are shown once at checkout and stored by us only as a hash. Rotate a key with POST /api/v1/keys/rotate (the old one stops working at once); recover a lost key by email on the recovery page. Keys are for server-side use only: never put one in a browser, mobile app or public repository.
Endpoints
| Request | Returns | Options |
|---|---|---|
GET /api/v1/codes/{code} | Meaning, causes, symptoms, difficulty, labor hours, factory bulletins, owner reports, confirmed fixes. | make, model, year put that vehicle's bulletins and reports first; limit (max 100). |
GET /api/v1/vehicles/{make}/{model} | Reported symptoms ranked by reports, with repairs and codes; bulletins; recalls; confirmed fixes. | year, system (e.g. Brakes, Engine), q (symptom or part words; filters symptoms, bulletins and recalls), limit. |
GET /api/v1/makes | Every make with its model and complaint counts. | |
GET /api/v1/makes/{make} | The make's models (use these names in vehicle lookups). | |
GET /api/v1/usage | Lookups in the current billing period (periodStart, periodEnd), included lookups and overage. Not billed. | |
POST /api/v1/keys/rotate | A new key; the one you sent stops working. | |
POST /api/v1/keys/recover | Lost your key? No key needed: we email a one-hour link that replaces it. Or use the recovery page. | Body: {"email":"[email protected]"}. |
POST /api/v1/account/billing-portal | A link to update the card, see invoices or cancel. Works while payment is past due. | |
POST /api/v1/account/plan | Switch plan. Body: {"tier":"starter"} or {"tier":"pro"}. The new allowance and rate limit apply at once; the price difference is prorated. Overage already incurred this period stays billed. |
Usage, limits and billing
Lookups count toward your billing period even when nothing is found; a lookup that fails on our side (5xx) is not counted. While payment is past due, lookups answer 402 until billing is fixed. Responses carry X-Usage-Calls, X-Usage-Included and X-RateLimit-Limit. Over the per-minute limit you get 429 with Retry-After. Keys are for server-side use; do not put them in a browser or mobile app.
Plan prices, overage and what is billed: pricing.
Example response
GET /api/v1/codes/P0420?make=Kia&model=Soul&year=2014 (shortened):
{
"code": "P0420",
"title": "Catalyst System Efficiency Below Threshold Bank 1",
"causes": [{ "cause": "Catalyst aged or poisoned (oil consumption, silicone, coolant)", "likelihood": "high" }],
"difficulty": "medium",
"laborHours": { "min": 0.5, "max": 3 },
"vehicle": { "make": "Kia", "model": "Soul", "year": 2014 },
"serviceBulletins": {
"count": 331,
"items": [{ "id": "SC176Y_TSB_R1", "date": "2026-03-24", "action": "Replace part",
"vehicles": ["Kia Soul 2012-2016"], "matchesVehicle": true, "summary": "..." }]
},
"ownerReports": {
"complaints": 380,
"symptoms": [{ "symptom": "Check engine light on", "count": 258 }],
"repairs": [{ "repair": "Catalytic converter", "count": 128, "saidFixed": 2 }]
},
"confirmedFixes": { "shops": 0, "repairs": 0, "parts": [], "symptoms": [] }
}
The full shape of every response is in the OpenAPI 3.1 specification, which most languages can turn into a client.
Errors
Errors are JSON: {"error": "what went wrong"}.
| Status | Meaning |
|---|---|
400 | The request is malformed (for example, not a valid trouble code). |
401 | Missing, malformed, unknown or revoked API key. |
402 | Payment is past due or the subscription has ended. |
404 | Nothing on file for that code or vehicle (billed), or an unknown endpoint (not billed). |
409 | The key was already rotated; use the newer one. |
429 | Over your plan's requests per minute. Wait the seconds in Retry-After. |
5xx | A problem on our side. Not billed; retry with backoff. |
Good practices
- Cache results on your side: the database changes monthly, so a code or vehicle answer stays good for weeks and saves you lookups.
- Retry
429afterRetry-Afterseconds and5xxwith exponential backoff; do not retry4xxunchanged. - Use the model names from
/makes/{make}in vehicle lookups. - When you show results to people, say they are reference information and that recalls must be confirmed by VIN (see the acceptable use policy).
Where the data comes from
Public NHTSA records, the OBDex generic trouble-code library and anonymous repair data from ShopCrank shops. Details and disclaimers: data sources and disclaimers.