API reference
Platform
Last updated:
Pricing, spec, meta
- GET
/v2/account/usageYour credits and usage - GET
/v2/changelogWhat changed on the API - GET
/v2/pricingThe machine-readable rate card - GET
/v2/openapi.jsonThis document
/v2/account/usagesince 2026-11-19Your 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
daysintegeroptionalTrailing 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
200AccountUsageplanobjectidstringThe rate-card plan id, e.g. "free", "starter"
namestringmonthlyPricenumber | nullUSD a month; null = sales-led
allowanceinteger | nullMonthly credit allowance; null = custom
overageBilledbooleantrue: usage past the allowance is billed, never blocked. false: a hard stop at the allowance.
overagePricePerCreditnumber | nullcycleobjectstartstringISO 8601: the start of this billing cycle (UTC month)
resetstringISO 8601: when the allowance resets; the value of X-Credits-Reset
creditsobjectspentintegerCredits used this cycle, from every source (allowance, packs, overage)
allowanceRemaininginteger | nullThe value of X-Credits-Remaining; null on a custom allowance
percentUsedinteger | nullAllowance used this cycle, 0-100+; null on a custom allowance
packsintegerPrepaid pack credits left
windowobjectstartstringendstringdaysintegerdailyobject[]One entry per UTC day in the window, oldest first; a day with no calls is 0
datestringUTC day, YYYY-MM-DD
creditsintegerrequestsintegerfamiliesobject[]Usage in the window by family, most credits first
familystringThe rate-card family (GET /v2/pricing), e.g. vin, recalls, listings
creditsintegerrequestsintegerkeysobject[]Usage in the window by API key, most credits first
idstring | nullAPI key id; null for a deleted key or a session read
namestring | nullstartstring | nullThe first characters of the key as issued (e.g. crdg_a1); never the key
creditsintegernextPlanobject | nullThe plan above this one on the rate card; null at the top
idstringnamestringmonthlyPricenumber | nullallowanceinteger | nulllinksobjectself: this operation. pricing: the rate card.
Example response
9 keysErrors400401403429500503every non-2xx body is the error envelope
/v2/changelogsince 2026-11-19What 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
sincestringoptionalOnly entries published on or after this date (YYYY-MM-DD)
tagstringoptionalOnly entries carrying this tag, e.g. "recalls"
breakingbooleanoptionaltrue: only entries that broke an existing consumer
limitintegeroptionalEntries 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
200Changelogdataobject[]Newest first
slugstringPermanent, date-prefixed
datestringPublish date, YYYY-MM-DD
versionstring | nullThe dated API version the entry ships in (Cardog-Version); null before dated versions
titlestringdescriptionstringtagsstring[]breakingbooleansunsetstring | nullWhen the pre-change shape stops being served; set on every breaking entry
surfacesstring[]urlstringThe entry on cardog.app/changelog
docsstring[]The /docs pages the entry links to, as paths
totalintegerEntries matching the filters, before the limit
linksobjectself: this operation. The page itself is https://cardog.app/changelog (markdown: /changelog.md).
Example response
3 keysErrors400401429500every non-2xx body is the error envelope
/v2/pricingno authsince 2026-07-30The 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
200PricingversionintegerMonotonic rate-card version. Bump it on any price change.
asOfstringWhen this card took effect (ISO 8601)
currencystringISO 4217, e.g. "USD"
ratesobject[]Only ENFORCED rates appear
familystringBilling 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).
unitstringWhat one metered unit is: "request", "vin" (batch = N units), "check", "image" (one photo), "session", "thread" or "download".
creditsnumberCredits debited per unit. 0 = unmetered class read.
descriptionstringoptionaloperationsobject[]optionalThe 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"operationIdstringAn operationId from GET /v2/openapi.json
plansobject[]idstringStable plan id, e.g. "free", "starter", "growth", "enterprise"
namestringmonthlyPricenumber | nullMonthly base price in currency; null = sales-led (contact)
monthlyCreditsinteger | nullThe monthly credit allowance; null = custom (sales-led)
overageobjectbilledbooleantrue = past-allowance usage is billed, not blocked; false = hard stop (free tier)
pricePerCreditnumber | nullOverage price per credit in currency; null when overage is not billed
rateLimitsobjectoptionalperMinuteinteger | nullToken-bucket rate; null = plan-custom
selfServebooleantrue = instant key, no sales call
requiresCardbooleanoptionalfalse on the evaluation tier
descriptionstringoptionalpacksobject[]optionalPrepaid 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.
idstringStable pack id, e.g. "pack-250"
creditsintegerCredits granted by one purchase
pricenumberOne-time price in currency
descriptionstringoptionalcustomTopUpobjectoptionalCaller-chosen top-up amount at a flat per-credit rate (no volume bonus); mechanics identical to packs.
ratePerCreditnumberFlat price per credit in currency; no volume bonus
minCreditsintegerSmallest purchasable amount
maxCreditsintegerLargest purchasable amount
expiryMonthsintegerMonths from purchase until unspent credits expire
creditHeadersstring[]optionalThe response headers that carry live budget state
signupGrantobjectoptionalPresent only while a signup credit grant is running: new accounts created before endsAt receive credits prepaid credits. Absent when no campaign is open.
creditsintegerCredits granted to a new account
endsAtstringThe last moment a signup qualifies (ISO 8601)
expiryMonthsintegerMonths until unspent granted credits expire
descriptionstringHuman-readable offer, e.g. plan-equivalent framing
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
docs_urlstringoptionalExample response
11 keysErrors429500every non-2xx body is the error envelope
/v2/openapi.jsonno authsince 2026-07-30This document
curl "https://api.cardog.app/v2/openapi.json"Example response
7 keysGenerated from the contract. Machine-readable spec: GET https://api.cardog.app/v2/openapi.json · markdown twin: /docs/reference/platform.md
Was this helpful?