Getting started
Quickstart
Last updated:
Your first API call in three steps.
Get a key, save it in your shell, and decode a VIN. Base URL: https://api.cardog.app.
-
Get an API key
Create a key. Sign in with your phone or a passkey, then create a key. It is shown once, so copy it before you close the dialog.
-
Save it in your shell
export CARDOG_API_KEY="crdg_..." -
Decode a VIN
curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266" \ -H "x-api-key: $CARDOG_API_KEY" \ -H "Cardog-Version: 2026-10-26"You get one identity card back. A decode costs 2 credits; the response headers say what is left:
X-Credits-Rate: 2 X-Credits-Remaining: 48Example
8 keys"response": {"vin": "2T3R1RFV7MW180266","valid": true,"year": 2021,"make": "Toyota","model": "RAV4","trim": "XLE HV","refs": {"make": "make:toyota","model": "model:toyota/rav4","modelYear": "model-year:toyota/rav4/2021"},"links": {"instrument": "/v2/vin/2T3R1RFV7MW180266/instrument","recalls": "/v2/vin/2T3R1RFV7MW180266/recalls","listings": "/v2/vin/2T3R1RFV7MW180266/listings"}}
Next steps
- Resolve free text to refs: turn "2021 civic" into refs every endpoint takes.
- Recalls by VIN: open campaigns for the car you just decoded.
- MCP server: give an agent the same calls as tools.
- Authentication: both headers, plans and key hygiene.
Was this helpful?