API reference

Platform

Last updated:

Pricing, spec, meta

GET/v2/account/usagesince 2026-11-19

Your credits and usage

Your own plan, credits used this cycle, what is left of the allowance, usage by day, by family and by key over the last `days` days, and the next plan up. Costs 0 credits. A signed-in session reads its own account and a personal API key reads its owner's; there is no way to read anyone else's. An organization key or a server token has no personal account (403).

Query parameters

daysintegeroptional

Trailing window in UTC days (1-90, default 14)

curl "https://api.cardog.app/v2/account/usage" \
  -H "x-api-key: $CARDOG_API_KEY" \
  -H "Cardog-Version: 2026-10-26"

Response

200AccountUsage
planobject
idstring

The rate-card plan id, e.g. "free", "starter"

namestring
monthlyPricenumber | null

USD a month; null = sales-led

allowanceinteger | null

Monthly credit allowance; null = custom

overageBilledboolean

true: usage past the allowance is billed, never blocked. false: a hard stop at the allowance.

overagePricePerCreditnumber | null
cycleobject
startstring

ISO 8601: the start of this billing cycle (UTC month)

resetstring

ISO 8601: when the allowance resets; the value of X-Credits-Reset

creditsobject
spentinteger

Credits used this cycle, from every source (allowance, packs, overage)

allowanceRemaininginteger | null

The value of X-Credits-Remaining; null on a custom allowance

percentUsedinteger | null

Allowance used this cycle, 0-100+; null on a custom allowance

packsinteger

Prepaid pack credits left

windowobject
startstring
endstring
daysinteger
dailyobject[]

One entry per UTC day in the window, oldest first; a day with no calls is 0

datestring

UTC day, YYYY-MM-DD

creditsinteger
requestsinteger
familiesobject[]

Usage in the window by family, most credits first

familystring

The rate-card family (GET /v2/pricing), e.g. vin, recalls, listings

creditsinteger
requestsinteger
keysobject[]

Usage in the window by API key, most credits first

idstring | null

API key id; null for a deleted key or a session read

namestring | null
startstring | null

The first characters of the key as issued (e.g. crdg_a1); never the key

creditsinteger
nextPlanobject | null

The plan above this one on the rate card; null at the top

idstring
namestring
monthlyPricenumber | null
allowanceinteger | null
linksobject

self: this operation. pricing: the rate card.

Example response

9 keys
"response": {
"plan": {
"id": "starter",
"name": "Starter",
"monthlyPrice": 30,
"allowance": 1000,
"overageBilled": true,
"overagePricePerCredit": 0.05
},
"cycle": {
"start": "2026-11-01T00:00:00.000Z",
"reset": "2026-12-01T00:00:00.000Z"
},
"credits": {
"spent": 512,
"allowanceRemaining": 488,
"percentUsed": 51,
"packs": 0
},
"window": {
"start": "2026-11-06T00:00:00.000Z",
"end": "2026-11-19T15:04:05.000Z",
"days": 14
},
"daily": [
0: {3 items},
1: {3 items},
2: {3 items},
3: {3 items},
4: {3 items},
5: {3 items},
6: {3 items},
7: {3 items},
8: {3 items},
9: {3 items},
10: {3 items},
11: {3 items},
12: {3 items},
13: {3 items}
],
"families": [
0: {3 items},
1: {3 items},
2: {3 items}
],
"keys": [
0: {4 items}
],
"nextPlan": {
"id": "pro",
"name": "Pro",
"monthlyPrice": 100,
"allowance": 5000
},
"links": {
"self": "/v2/account/usage?days=14",
"pricing": "/v2/pricing"
}
}

Errors400401403429500503every non-2xx body is the error envelope

GET/v2/changelogsince 2026-11-19

What changed on the API

The changelog at cardog.app/changelog as data, newest first: each entry's date, the dated API version it ships in, whether it broke anything and when the old shape stops, the surfaces it touched, its page and the /docs pages it links to. Costs 0 credits. Filter with `since`, `tag` or `breaking`.

Query parameters

sincestringoptional

Only entries published on or after this date (YYYY-MM-DD)

tagstringoptional

Only entries carrying this tag, e.g. "recalls"

breakingbooleanoptional

true: only entries that broke an existing consumer

limitintegeroptional

Entries to return (1-50, default 10)

curl "https://api.cardog.app/v2/changelog" \
  -H "x-api-key: $CARDOG_API_KEY" \
  -H "Cardog-Version: 2026-10-26"

Response

200Changelog
dataobject[]

Newest first

slugstring

Permanent, date-prefixed

datestring

Publish date, YYYY-MM-DD

versionstring | null

The dated API version the entry ships in (Cardog-Version); null before dated versions

titlestring
descriptionstring
tagsstring[]
breakingboolean
sunsetstring | null

When the pre-change shape stops being served; set on every breaking entry

surfacesstring[]
urlstring

The entry on cardog.app/changelog

docsstring[]

The /docs pages the entry links to, as paths

totalinteger

Entries matching the filters, before the limit

linksobject

self: this operation. The page itself is https://cardog.app/changelog (markdown: /changelog.md).

Example response

3 keys
"response": {
"data": [
0: {11 items}
],
"total": 1,
"links": {
"self": "/v2/changelog?since=2026-10-01&limit=5"
}
}

Errors400401429500every non-2xx body is the error envelope

GET/v2/pricingno authsince 2026-07-30

The machine-readable rate card

Credit rates per family + plan allowances, as JSON. Budget mid-task with this plus the X-Credits-* headers on every metered response. Unauthenticated.

curl "https://api.cardog.app/v2/pricing"

Response

200Pricing
versioninteger

Monotonic rate-card version. Bump it on any price change.

asOfstring

When this card took effect (ISO 8601)

currencystring

ISO 4217, e.g. "USD"

ratesobject[]

Only ENFORCED rates appear

familystring

Billing family. The route groups (vin, entities, specs, listings, instruments, quotes, tape, recalls, safety, charging, parts, chassis, fuel, locations, feedback, documents, feeds, history, carriers, agent, account, changelog) plus composite products (open set).

unitstring

What one metered unit is: "request", "vin" (batch = N units), "check", "image" (one photo), "session", "thread" or "download".

creditsnumber

Credits debited per unit. 0 = unmetered class read.

descriptionstringoptional
operationsobject[]optional

The operations this line prices. A family can carry several lines (one per unit), and the line is identified by (family, unit); each (method, operationId) appears on exactly one line, so a caller resolves the request it is about to make to one price. HEAD appears only where it is priced apart from its GET.

method"GET" | "HEAD" | "POST"
operationIdstring

An operationId from GET /v2/openapi.json

plansobject[]
idstring

Stable plan id, e.g. "free", "starter", "growth", "enterprise"

namestring
monthlyPricenumber | null

Monthly base price in currency; null = sales-led (contact)

monthlyCreditsinteger | null

The monthly credit allowance; null = custom (sales-led)

overageobject
billedboolean

true = past-allowance usage is billed, not blocked; false = hard stop (free tier)

pricePerCreditnumber | null

Overage price per credit in currency; null when overage is not billed

rateLimitsobjectoptional
perMinuteinteger | null

Token-bucket rate; null = plan-custom

selfServeboolean

true = instant key, no sales call

requiresCardbooleanoptional

false on the evaluation tier

descriptionstringoptional
packsobject[]optional

Prepaid one-time credit top-ups, all tiers (free included). Spend order per debit: allowance → packs (FIFO by purchase) → overage; packs expire 12 months after purchase.

idstring

Stable pack id, e.g. "pack-250"

creditsinteger

Credits granted by one purchase

pricenumber

One-time price in currency

descriptionstringoptional
customTopUpobjectoptional

Caller-chosen top-up amount at a flat per-credit rate (no volume bonus); mechanics identical to packs.

ratePerCreditnumber

Flat price per credit in currency; no volume bonus

minCreditsinteger

Smallest purchasable amount

maxCreditsinteger

Largest purchasable amount

expiryMonthsinteger

Months from purchase until unspent credits expire

creditHeadersstring[]optional

The response headers that carry live budget state

signupGrantobjectoptional

Present only while a signup credit grant is running: new accounts created before endsAt receive credits prepaid credits. Absent when no campaign is open.

creditsinteger

Credits granted to a new account

endsAtstring

The last moment a signup qualifies (ISO 8601)

expiryMonthsinteger

Months until unspent granted credits expire

descriptionstring

Human-readable offer, e.g. plan-equivalent framing

linksobjectoptional

Related resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

docs_urlstringoptional

Example response

11 keys
"response": {
"version": 5,
"asOf": "2026-07-27T00:00:00.000Z",
"currency": "USD",
"rates": [
0: {4 items},
1: {4 items},
2: {4 items},
3: {4 items},
4: {4 items},
5: {4 items},
6: {4 items},
7: {4 items},
8: {4 items},
9: {4 items}
],
"plans": [
0: {8 items},
1: {8 items},
2: {8 items},
3: {8 items},
4: {7 items}
],
"packs": [
0: {4 items},
1: {4 items},
2: {4 items}
],
"customTopUp": {
"ratePerCredit": 0.04,
"minCredits": 125,
"maxCredits": 50000,
"expiryMonths": 12
},
"creditHeaders": [
0: "X-Credits-Rate",
1: "X-Credits-Remaining",
2: "X-Credits-Allowance",
3: "X-Credits-Reset",
4: "X-Credits-Source"
],
"signupGrant": {
"credits": 1000,
"endsAt": "2026-08-03T00:00:00.000Z",
"expiryMonths": 12,
"description": "Launch week — 1,000 credits, a free month of Starter."
},
"links": {
"openapi": "/v2/openapi.json"
},
"docs_url": "https://cardog.app/docs"
}

Errors429500every non-2xx body is the error envelope

GET/v2/openapi.jsonno authsince 2026-07-30

This document

curl "https://api.cardog.app/v2/openapi.json"

Example response

7 keys
"response": {
"openapi": "3.0.3",
"info": {
"title": "Cardog API v2",
"version": "2.0.0-rc.1",
"description": "VIN identity, canonical specs, live market data, and recalls — one key. **The ref is the API.** Every parameter is an entity ref (`make:tesla`, `model-year:honda/cr-v/2026`) or a VIN; every response carries refs plus `links` to adjacent resources. Free text is accepted in exactly one place — `GET /v2/entities/resolve` — and returns refs with confidence, never silently fuzzed results. **Errors are instructions.** Every non-2xx body is the ErrorEnvelope: `code`, `message`, `hint`, `docs_url`, the offending `refs` named, and nearest-ref `suggestions` where computable. **Price is machine-readable.** `GET /v2/pricing` is the live rate card; every metered response carries `X-Credits-*` headers.",
"contact": {3 items}
},
"servers": [
0: {1 item}
],
"tags": [
0: {2 items},
1: {2 items},
2: {2 items},
3: {2 items},
4: {2 items},
5: {2 items},
6: {2 items},
7: {2 items},
8: {2 items},
9: {2 items}
],
"paths": {
"/v2/vin/{vin}": {1 item},
"/v2/vin/batch": {1 item},
"/v2/vin/{vin}/instrument": {1 item},
"/v2/vin/{vin}/recalls": {1 item},
"/v2/vin/{vin}/listings": {1 item},
"/v2/entities": {1 item},
"/v2/entities/resolve": {1 item},
"/v2/entities/{ref}": {1 item},
"/v2/specs/catalog": {1 item},
"/v2/specs/{ref}": {1 item},
"/v2/listings/search": {1 item},
"/v2/listings/count": {1 item},
"/v2/listings/facets": {1 item},
"/v2/listings/id/{id}": {1 item},
"/v2/listings/vin/{vin}": {1 item},
"/v2/instruments": {1 item},
"/v2/instruments/{ref}": {1 item},
"/v2/quotes": {1 item},
"/v2/quotes/{ref}": {1 item},
"/v2/tape/live": {1 item},
"/v2/tape/history/{ref}": {1 item},
"/v2/recalls/vin/{vin}": {1 item},
"/v2/recalls/entity/{ref}": {1 item},
"/v2/recalls/feed": {1 item},
"/v2/recalls/stats": {1 item},
"/v2/recalls/{ref}": {1 item},
"/v2/safety/{ref}": {1 item},
"/v2/safety/{ref}/complaints": {1 item},
"/v2/pricing": {1 item},
"/v2/openapi.json": {1 item}
},
"components": {
"securitySchemes": {2 items},
"schemas": {28 items},
"responses": {0 items}
},
"security": [
0: {1 item},
1: {1 item}
]
}

Generated from the contract. Machine-readable spec: GET https://api.cardog.app/v2/openapi.json · markdown twin: /docs/reference/platform.md