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.

  1. 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.

  2. Save it in your shell

    export CARDOG_API_KEY="crdg_..."
  3. 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: 48

    Example

    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