Docs

Changelog

Last updated:

What shipped, newest first.

Price against odometer on /v2/instruments

November 22, 2026

One read lands on /v2, additive on the 2026-10-26 contract.

Added: the mileage curve

GET /v2/instruments/{ref}/mileage?km= reads a model-year or squish instrument's live listings and fits asking price on odometer with Theil–Sen (the median of every pairwise slope, so a few mispriced listings cannot drag it). fit carries the slope per 1,000 km, n, R², the median absolute residual and the odometer range covered. projected is the band at km: the fit there plus the quartiles of its residuals. Outside the sample's range the projection is clamped to the nearest edge and flagged extrapolated. A sample too thin or too bunched to measure says so in fit.status and projects nothing.

With lat and lng, local reads the market around that point: rings from radiusKm (100 by default) widened until minLocal listings are inside, then the province, each price moved to km along the fit first. province.index is the instrument's median there over its national median. exclude takes one VIN out of every statistic, so a car already listed is never its own comparable. trims lists the trims as the listings state them, with counts, and points carries up to 80 (km, price) pairs for a sparkline.

Every figure is a statistic over live retail asking prices, never sales.


Find a dealer by name on /v2/locations

November 20, 2026

One read lands on /v2, additive on the 2026-10-26 contract.

Added: dealers by name

GET /v2/locations/dealers takes q (a dealer name or part of one), org (a dealer organization's ref, as a place's sellers.dealers[].org carries it), or both. Each dealer comes with its own name, its org ref and the place it is at, under place: the same poi: ref, address, coordinates and kinds that GET /v2/locations serves. place.kinds has "charging" when chargers share the place, and place.links.charging reads them.

curl "https://api.cardog.app/v2/locations/dealers?q=downtown%20ford" \
  -H "x-api-key: $CARDOG_API_KEY"

A name equal to q comes first, then shorter names. A name nobody carries is an empty list, not a 404. The read covers dealers in Canada that were active in the last 7 days; for a dealer elsewhere an empty list means not covered. The reference is under Locations.

SDKs

client.v2.locations.dealers({ q }) in @cardog/api, and client.v2.locations.dealers(q=...) in the Python SDK.

Pricing

1 credit per request, the locations rate. The rate card does not change.


An organization's API keys, for its agent

November 20, 2026

One read lands under /v2/agent/org, additive on the 2026-10-26 contract.

Added

  • GET /v2/agent/org/keys: the organization's API keys, newest first, each with its name, its first characters, whether it is enabled, when it was made and last used, and when it expires. Never the key or its hash. Every member of an organization whose developer surface is live may read it. For an owner or admin (seat.canManage) it also carries the credits each key spent over 30 days and the organization's keyed usage by day; for anyone else those are null. Making and revoking keys stays in the browser. It takes an org session token in X-Cardog-Agent-Grant, like the other doors, and costs 0 credits.

SDKs

client.v2.agent.orgKeys({ grant }) in TypeScript and client.v2.agent.org_keys(grant=) in Python.


Your usage and this changelog on /v2

November 19, 2026

Two reads land on /v2, additive on the 2026-10-26 contract.

Added: your usage

GET /v2/account/usage answers your plan and its allowance, the credits you used this cycle from every source, the allowance left (the number X-Credits-Remaining carries), prepaid pack credits, and usage over the last days days (default 14, up to 90) by day, by family and by key, with each key shown by its first characters only. nextPlan names the plan above yours. A personal key reads its owner's account and a signed-in session its own; an organization key has no personal account and gets a 403. The reference is under Platform.

Added: the changelog as data

GET /v2/changelog serves this page's entries newest first, without their bodies: date, the dated API version, breaking and sunset, the surfaces touched, the entry's link and the /docs pages it links to. Filter with since, tag or breaking.

Pricing

The rate card is version 15. It adds the account and changelog families at 0 credits. No existing price moved; see Credits.

SDKs

@cardog/api adds client.v2.platform.usage() and client.v2.platform.changelog() in its next minor; the Python SDK adds client.v2.platform.usage() and .changelog().


The agent replies, opens and closes coordination threads, after you approve

November 19, 2026

Inside an organization workspace the Cardog agent can now draft a reply, a new thread, or a close or reopen, show you the draft as it will appear, and post it only when you approve it. The doors it posts through are on /v2, so the same rules hold whoever calls them. Additive on the 2026-10-26 contract.

Added: the coordination doors

Every call carries an org session token from POST /v2/agent/session (opened from the workspace) in the X-Cardog-Agent-Grant header. Your membership and role are read again on every call.

  • GET /v2/agent/org/issues/{issueId}: a thread's title, key, state, subject and who takes part, never its words, plus whether your organization may close it and your seat.
  • GET /v2/agent/org/directory: the organizations you may name on a new thread.
  • POST /v2/agent/org/issues: open a thread. Plain text, blank lines between paragraphs; every participant must be in the directory.
  • POST /v2/agent/org/issues/{issueId}/comments: reply on a thread.
  • PATCH /v2/agent/org/issues/{issueId}/state: close or reopen a thread your organization owns. A state that changed since the draft is 409.

A read-only seat (the viewer role) reads and gets 403 on every write. A thread your organization does not take part in is 404, the same as one that does not exist.

Pricing

The rate card is version 15. The agent family adds action at 0 credits. No existing price moved.

SDK

@cardog/api adds client.v2.agent.orgIssue(), .orgDirectory(), .orgCreateIssue(), .orgComment() and .orgSetIssueState() in its next minor.


Complaint counts by system and month

November 19, 2026

The complaints list answers one complaint at a time. A new read on /v2, additive on the 2026-10-26 contract, answers the shape of them instead.

Added: the complaints summary

GET /v2/safety/{ref}/complaints/summary takes a model-year ref (model-year:toyota/rav4/2021) or a model ref (model:toyota/rav4, every year of the model) and answers totalCount, crashes, fires, injuryComplaints, injuries and deaths, the first and last filing dates, and three breakdowns: bySystem (most complained first), byMonth (by filing month, oldest first) and byModelYear.

Every count is of complaints, by ODI number. NHTSA files one row per affected component under the same number, so the list's totalCount counts rows and can be higher; quote the summary's. A complaint that names two systems counts once in each, so bySystem can sum past totalCount. 1 credit, like every safety read.

SDKs

@cardog/api adds client.v2.safety.complaintsSummary(ref) in its next minor; the cardog Python SDK adds client.v2.safety.complaints_summary() in its next release.


A vehicle's crash reports

November 19, 2026

GET /v2/vin/{vin}/crashes is the second per-VIN history route, on the same item shape as /operators: one item per crash report that names the VIN, most recent first, each naming the report as a document:crash/… ref.

There are two kinds of report. US federal crash reports (gov:fmcsa) cover US DOT-regulated commercial vehicles, dated to the day. New York State crash reports (gov:ny-dmv) cover every reportable crash in the state, dated to the year, because a New York report carries no day; those items carry observedAt: "2023", never an invented January 1st.

expand=detail adds the report as it was filed, typed by detail.type: fmcsa.crash (state, report number, injuries, fatalities, tow-away, vehicles involved, and the carrier operating the unit) or nydmv.crash (year, injuries, fatalities). Counts on the report, never rates. 3 credits when there is an item, 0 when there is none.

Every history response now carries links: identity (the VIN's identity card), one link per other history route for the same VIN, and carriers (the carrier search from this VIN). /operators keeps its links.carriers and gains the rest. The identity card at GET /v2/vin/{vin} links operators and crashes, and each unit on GET /v2/carriers/{dotNumber}/vehicles links crashes beside operators.

SDKs and MCP

client.v2.vin.crashes(vin, { expand }); Python client.v2.vin.crashes(vin, expand="detail"). The MCP server gains vehicle_crashes.

Additive: no existing field, route or version changed. Guide: Safety ratings.


Retry a metered POST without paying twice

November 19, 2026

Additive on the 2026-10-26 contract.

Added: Idempotency-Key on the metered POSTs

A client that retries POST /v2/vin/batch or POST /v2/chassis/image after a timeout used to be billed for both attempts. Send an Idempotency-Key header, any string up to 255 characters, one per logical call:

POST /v2/vin/batch
Idempotency-Key: 6f1c2a0e-8f0b-4b7e-9a51-2f6f0c1d7e11

A retry with the same key and the same body within 24 hours returns the first response again. It debits nothing, even if your credits have since run out: X-Credits-Rate is 0, Idempotent-Replayed is true, and X-Idempotent-Original-Request-Id is the X-Request-Id of the request that was billed.

  • The same key with a different body, path or query string is a different request and runs fresh.
  • Only a 2xx that was billed is stored, including a batch whose rows partly failed. To decode the failed rows again, send them in a new call with a new key.
  • An error, or an answer that cost nothing, is never replayed, so that call can be retried with the same key.
  • A call is billed once per key and body in 24 hours. A retry sent while the first call is still running, or within about a minute of it, can run again instead of replaying: it returns a fresh answer without Idempotent-Replayed, and is not billed again. Its X-Credits-* headers are set before the retry is recognised, so they show the call's usual rate and source, but your balance is not reduced a second time. If the first call used the last of a free allowance, such a retry can be refused with 402 insufficient_credits; send it again with the same key once the first call has returned, and it replays.
  • Keys are scoped to the API key that sent them.
  • Routes that cost nothing ignore the header.

Changed: one request id

The X-Request-Id on a response, and the requestId in an error body, is now the id recorded on the credit debit for that request. Quote it when you dispute a charge.

SDKs

@cardog/api adds { idempotencyKey } to client.v2.vin.batch and client.v2.chassis.image, and APIErrorV2.requestId, in its next minor. cardog 3.7.0 on PyPI adds idempotency_key= to client.v2.vin.batch and client.v2.chassis.image, and CardogAPIError.request_id. Neither SDK chooses a key or retries for you.


A model's years on /v2/safety, and complaints one row each

November 18, 2026

Four new reads and two new options on the safety surface, additive on the 2026-10-26 contract.

Added: a model's years

GET /v2/safety/{model-ref}/years (for example model:ford/f-150) answers every year of the model, newest first. Each year carries its model-year ref, recalls, the distinct campaigns per authority ({"tc": 28, "nhtsa": 29}, each authority's count on its own, never summed), and complaints, the NHTSA complaints filed against it, each counted once. A year appears when the registry holds it or when a recall or complaint names it. A model with no years at all is a 404.

Added: complaints grouped by complaint

NHTSA publishes one row per affected component under one ODI number, so a complaint filed under three components came back as three rows. group=complaint on GET /v2/safety/{model-year-ref}/complaints returns one row per complaint, with every component in components (the first is component); totalCount then counts complaints, and limit goes up to 500. fields=list trims summary to its first sentence, at most 160 characters, for list views. Without either parameter the response is unchanged.

Added: one complaint by ref

GET /v2/safety/complaint:nhtsa/{odino} answers one complaint, grouped the same way: the full summary, every component, crash and fire true if any row says so, injuries and deaths the largest reported, plus modelYearRefs, every model year it is filed against. An ODI number the record does not hold is a 404.

Added: complaints across every vehicle

GET /v2/safety/complaints/recent?limit= (1 to 100, default 40) answers the newest complaints NHTSA has filed, across every make and model, each grouped by complaint with its model years and a one-sentence summary.

GET /v2/safety/complaints/top?months=&limit= ranks model years by the distinct complaints filed against them in the last months months (1 to 60, default 12; since is the window's first day), with how many of those report a crash or a fire and the injuries and deaths they report.

SDKs

@cardog/api adds client.v2.safety.years(ref), client.v2.safety.complaint(ref), client.v2.safety.recentComplaints(), client.v2.safety.topComplaints() and the group and fields options on client.v2.safety.complaints in its next minor; cardog 3.6.0 on PyPI adds years(), complaint(), recent_complaints(), top_complaints() and the same options on client.v2.safety.


Japanese chassis numbers on /v2

November 5, 2026

A vehicle built for the Japanese home market has no VIN. It carries a chassis number such as ZRR80-0143041: a model code, a hyphen and a serial. Until now the API had nothing to say about one. Two reads land on /v2, additive on the 2026-10-26 contract.

Added: the chassis read

GET /v2/chassis/{chassis} answers the maker and the models sold under the code, every type approval (型式) issued for it with the emissions rule it was approved under, the engines sold under it, and the recall campaigns and build dates that hold for this serial. status is the field to branch on: read, ambiguous (a code two makers share), serial_unfit (the serial is probably mistyped) or code_unknown (we hold no record of the code, at no charge). A VIN is a 400 pointing at the VIN decode. 2 credits.

Added: the plate photo read

POST /v2/chassis/image takes a photo of the caution plate or the frame stamp and answers the number read off it, with links.chassis ready for the read above. A photo with no legible number is a 200 with read: null and a typed refusal (unreadable, vin, unsplit), at no charge. 2 credits when a number is read.

Pricing

The rate card is version 14. It adds the chassis family at 2 credits for both the read and the photo read, the VIN decode's price. No existing price moved.

SDKs

@cardog/api adds client.v2.chassis.read(chassis) and client.v2.chassis.image(image) in its next minor; cardog 3.5.0 on PyPI adds client.v2.chassis.read() and .image(). The guide is at Japanese chassis numbers.


A photo reads as a VIN or a chassis number

November 4, 2026

POST /v1/vin/image reads the identifier off a photo of a dashboard, a door jamb or a Japanese chassis plate.

Added: kind

The response carries kind beside result: vin for a 17-character VIN, ready for the VIN endpoints; chassis for a Japanese chassis number such as ZRR80-0143041, which is not a VIN and must not be sent to a VIN decode. Until now a chassis plate failed the read, because the endpoint only accepted a VIN.

Changed: an illegible photo is a 422

A photo with no identifier the model can read whole answers 422 with an error line, instead of a 500.

Changed: one model provider's failure no longer takes the endpoint down

The endpoint keeps answering when the model provider it reads with fails; when none can answer it returns 503 and the photo can be sent again.

SDK

@cardog/api adds kind to vin.image() in its next minor, and cardog 3.4.0 on PyPI adds it to VinImageResponse.


Agent sessions and thread history

October 27, 2026

The Cardog agent opens every session with a grant the API signs. You get one the same way you call anything else on /v2: with your key or your session.

Added: open an agent session

POST /v2/agent/session returns a token, the grant it carries and the agent socket path. The grant names the account the session acts as (sub), what it was minted from (kind: user, key, anonymous, or org inside an organization workspace), the tool scopes it holds, and credit: { channel, ref }, the ledger a turn debits. A session opened with a key names that key, so its turns are billed to the key that opened them. model is the model the session runs on: default on api.cardog.app. fixture, a sample model that answers every tool from a recorded example and reaches no live model or data, is minted only on a test stack. Open the socket with ?grant={token} within 120 seconds; mint a new one on every connect. An organization key, or a server with no person behind it, gets 403: the agent always acts as a person.

Added: read the history

GET /v2/agent/threads lists your threads, newest activity first, with an optional q filter. GET /v2/agent/threads/{id}/messages returns one thread and its stored messages. Without a grant they read your personal history. To read an organization workspace's history, send the session token in the X-Cardog-Agent-Grant header; the grant must be your own, or the read is 401. An anonymous session has no history.

Pricing

The rate card is version 13. The agent family lists session and thread at 0 credits on every plan. A turn will be the charged unit; tool reads inside a turn are never billed.

SDK

Both SDKs add client.v2.agent with session(), threads() and thread(id): @cardog/api in its next minor, cardog 3.3.0 on PyPI.


The carrier register, and a unit's carriers

October 27, 2026

Who ran a truck, and what else they ran. Three calls take a caller from a company name to a DOT number to the VINs on the road under it, and one call takes any of those VINs back to every carrier it ran under.

The record is the US federal register and roadside record: US DOT-regulated commercial vehicles, including the Canadian and Mexican carriers that cross the border.

The carrier register

GET /v2/carriers?q=… reads q as a DOT number, a VIN, or a name to match against legal and trade names, and says which in query.matchedAs. A name needs at least 3 characters. 1 credit.

GET /v2/carriers/{dotNumber} returns the carrier with two blocks that never mix: declared, what it filed about itself and when, and observed, what roadside inspections and crash reports recorded under it. The street address, phone and officer name on the register are not served. 5 credits.

GET /v2/carriers/{dotNumber}/vehicles pages every unit observed under the carrier, most recently seen first, each linking to its operators. These are observed associations on dated rows, not a confirmed fleet and not ownership. 5 credits a page.

A unit's carriers

GET /v2/vin/{vin}/operators is one item per day a roadside inspection or crash report put a carrier on the unit, most recent first. expand=detail adds the record and the carrier as it stands on the register. 3 credits when there is an item, 0 when there is none. It is the first of the per-VIN history routes; each kind of event gets its own route with the same item shape.

SDKs and MCP

client.v2.carriers.search({ q }), getByDot(dot), vehicles(dot, { limit, cursor }) and allVehicles(dot), which walks the pages; client.v2.vin.operators(vin, { expand }). Python 3.2.0: client.v2.carriers and client.v2.vin.operators(vin) with the same names in snake_case. The MCP server gains carrier_lookup and vehicle_operators.

Additive: no existing field, route or version changed. Guide: From a carrier's name to its fleet.


The VIN decode in NHTSA vPIC's shape

October 26, 2026

A vPIC DecodeVinValues caller can now move to Cardog by changing the URL and sending a key. Add profile=vpic and the decode answers in vPIC's own shape instead of the identity card.

# before
curl "https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVinValues/2T3R1RFV7MW180266?format=json"
# after
curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266?profile=vpic&format=json" \
  -H "x-api-key: $CARDOG_API_KEY"

The body is vPIC's

  • { Count, Message, SearchCriteria, Results: [ … ] }, with the 154 result keys of vPIC 4.10 in vPIC's order. Every value is a string, and "" means Cardog has no data for that key, as it does on vPIC.
  • Values are vPIC's text at that release: BodyClass reads Sport Utility Vehicle [SUV]/Multipurpose Vehicle [MPV], Make reads TOYOTA, and MakeID / ModelID are vPIC's ids.
  • Nothing is converted or guessed. A value Cardog states in another unit, or a category vPIC has no value for, stays "".
  • ErrorCode is 0 when the build decodes and the check digit computes, 1 when the check digit does not compute (Cardog still decodes it), and 8 when Cardog cannot name the build, with Cardog's reason codes in AdditionalErrorText.
  • A string that is not a VIN gets vPIC's answer for it, a 200 row coded 6 or 400, and is not billed. format=json and modelyear are accepted and ignored; any other format is a 400.

Batch

POST /v2/vin/batch?profile=vpic answers in vPIC's DecodeVINValuesBatch envelope, one row per VIN in request order. It takes vPIC's own form body (data=VIN1;VIN2) as well as {"vins": [...]}, up to 1,000 VINs.

What did not travel

The body is vPIC's, so the record rides in headers:

  • Cardog-Profile: vpic@4.10 names the profile and the vPIC release it is pinned to.
  • Cardog-Profile-Keys-Sha256 is the sha256 of the pinned key list.
  • Cardog-Profile-Gaps counts the keys Cardog cannot fill at this release. The key-by-key map, with a note on every gap, is VPIC_CROSSWALK in @cardog/entities/profiles/vpic.
  • Cardog-Profile-Empty counts the keys Cardog can fill that came back empty in this response.

Billing and SDKs

Billing is the identity call's, unchanged. The TypeScript SDK adds client.v2.vin.vpic(vin) and client.v2.vin.batchVpic(vins); the OpenAPI document lists the profile parameter and the VpicDecodeVinValues schema.


API 2026-10-26: recalls by market of sale

October 26, 2026

Recall lists now answer for the market a vehicle was sold in. A Canadian car's list is Transport Canada's recalls and Environment and Climate Change Canada's emissions notices, counted on their own, with every other authority's records a parameter away and never merged into them.

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

What changed

ChangeWhereBreakingGuide
market filter, default CA: recalls and total hold that market's authorities/v2/recalls/vin/{vin}, /v2/vin/{vin}/recalls, /v2/recalls/entity/{ref}yes, the defaultMigration
authority filter: a comma list; sent without market, it picks across every marketsamenoRecalls guide
regime filter: safety, emissions or all (default)samenoRecalls guide
include=other adds otherRecalls, the rows outside the market, never countedsamenoRecalls guide
market, byRegime, byAuthority, applicability on the list; market, regime, applicability on every row/v2/recalls/*noRecalls guide
One campaign by ref serves emissions notices too/v2/recalls/{ref}no
components on every row: each component the campaign names, as filed and as a component: ref (component:occupant-protection/airbags/frontal); a coarse ref names everything beneath it/v2/recalls/*, /v2/vin/{vin}/recallsnoRecalls guide

Who sees the change

  • Pinned to 2026-10-26, or on @cardog/api 3.0.0 or cardog 3.0.1: the new defaults.
  • Pinned to 2026-10-21, or no header: nothing changes. You keep every authority and safety recalls only, in the old shape, until 2027-10-26. Responses carry Deprecation, Sunset and a Link to the migration guide.

SDKs

@cardog/api 3.0.0 and cardog 3.0.1 pin 2026-10-26 and take the filters on recalls.vin, recalls.entity and vin.recalls. The MCP check_recalls tool takes market, authority, regime and include_other.


Locations: fuel stations, chargers and dealers, one ref each

October 26, 2026

A location is one place a driver goes: a gas station, a charging site, a dealer's lot. Every place now has one ref, poi:dpz83errq8, derived from its coordinates, so it is stable for as long as the place does not move. One place can be several kinds: pumps and fast chargers at one stop are one location, and an auto mall is one place holding several dealers.

curl "https://api.cardog.app/v2/locations?lat=43.6532&lng=-79.3832&kind=fuel,charging" \
  -H "x-api-key: $CARDOG_API_KEY"

Locations

  • GET /v2/locations: places near a point, nearest first, filtered by kind (fuel, charging, seller, or a comma list). A place is listed when any kind asked for is live there.
  • GET /v2/locations/{id}: one place, with a block per kind it is: fuel (fuels, current prices, amenities, opening hours), charging (its stations, with the licence's attribution) and sellers (dealers, each an org ref and name). A kind the place is not is null.

The id is the ref without poi:. Guide: Locations.

Fuel

  • GET /v2/fuel/stations: fuel stations near a point, each with its current price per fuel. sort=price with a fuel puts the cheapest first.
  • GET /v2/fuel/stations/{id}: one station with its current prices. A station's ref is its location's ref, and its id is the same id.
  • GET /v2/fuel/prices: the daily median, p10, p90 and mean card price for CA, a province (CA-ON) or a postal FSA (L3Y).

Served from our own daily snapshot. Prices are in Canadian cents per litre, as posted, each with its postedAt; "current" means posted in the last 7 days, counted from today's date. Every price names its fuelType with the same ref a vehicle's spec sheet uses, so the cost of what a car burns is one join away. On 2026-10-25 the Ontario regular median was 168.9 ¢/L across 2,803 stations. Guide: Fuel prices.

Charging

/v2/charging stations gain poi: the full poi: ref of the place they stand at, or null. Their own refs, ids and every other field are unchanged. Guide: Charging stations.

What to build

Cost to drive a car where its buyer lives, the cheapest fuel on a route, EV against gas by postal area, what is around a dealer, a fleet fuel budget by province: Build with locations.

Additive: no existing field, route or version changed. One credit a request. @cardog/api and cardog gain locations and fuel groups in a minor release.


The VIN decode names the plant country

October 26, 2026

refs.country on GET /v2/vin/{vin} and POST /v2/vin/batch was in the contract from the start and was always null. It is now the plant country: the country the vehicle was assembled in, as the decoder reads it from the VIN.

curl "https://api.cardog.app/v2/vin/2T3R1RFV7MW180266" \
  -H "x-api-key: $CARDOG_API_KEY"
# "refs": { "make": "make:toyota", "model": "model:toyota/rav4", …, "country": "country:canada" }

The country domain

  • country: holds every ISO 3166-1 country (249), plus country:england and country:kosovo, which appear as plant countries and ISO does not list.
  • Refs already published keep their spelling: the United States is country:united-states-usa and the United Kingdom country:united-kingdom-uk. The ISO names resolve to them as permanent aliases (country:united-states, country:united-kingdom, country:czechia, country:turkiye, country:viet-nam).
  • GET /v2/entities/country:canada returns the entity, and GET /v2/entities?domain=country lists the domain.
  • @cardog/entities types every country as CountryRef.

What changed for an existing integration

A field that was always null now carries a string for most decoded VINs. Its type is unchanged (string | null), so no version moved. It stays null when the decode states no plant country for the build.


Parts: OEM part numbers by model year, linked to the manufacturer's store

October 26, 2026

What it returns

GET /v2/parts/{ref} takes a model-year ref (model-year:hyundai/ioniq-5/2022) or a build code (nano:…, answered at its model year). Each part carries its ref (part:{make}/{number}), the number as the manufacturer printed it, the manufacturer's name for it, the system it belongs to, and every document that names it. The root acquire lists the manufacturer's official parts stores for the make, Canada first. A part's own acquire links appear where a link to that number on the official store is known.

What it is not, yet

Today the parts are the numbers named in recall campaigns, so coverage.complete is false: this is the parts named on recall records, not the full catalogue. A part listed for a model year applies to some builds of it, not necessarily every vehicle. There are no prices; the store has the current one.

SDKs

TypeScript: client.v2.parts.byRef(ref). Python: client.v2.parts.by_ref(ref).


Dealers API: a generated OpenAPI document, versioned by the same dates

October 26, 2026

The dealers API, https://api.cardog.app/dealer/v1, is versioned by date the same way as /v2, on the same dates.

curl "https://api.cardog.app/dealer/v1/dealerships/{dealership}/leads" \
  -H "Authorization: Bearer $CARDOG_DEALER_KEY" \
  -H "Cardog-Version: 2026-10-21"

Versions

  • Cardog-Version: YYYY-MM-DD pins a date. The first is 2026-10-21, the date /v2 went generally available. Every date on the /v2 train is served here too; 2026-10-26 changed nothing on the dealership surface.
  • No header gets the oldest date still served. A date the API does not serve is a 400 unsupported_version; one past its window names the date to move to.
  • Every response says which date shaped it in Cardog-Version. A webhook endpoint made without a version pins the date of the request that made it.
  • Additive changes (a field, an event, an optional input, an error code or rule) ship without a new date, so read unknown fields as optional and fall back on message for an unknown code. A change that would break a working integration ships only under a new date, and the old date keeps answering for at least twelve months after the new one lands.

The OpenAPI document

GET /dealer/v1/openapi.json?version=2026-10-21 is the OpenAPI 3.1 document for a date, with no credential needed. It is generated from the same contracts the API answers with: every route under /dealerships/{dealership} with its scopes, filters, request body, answer, undo and approval responses; the error body with every rule and what satisfies it; and every event type as a webhook. Without version it is the latest date's document.

What changed

Nothing in a response body.


Errors carry a request id; unknown inputs are refused by name

October 25, 2026

Version 2026-10-21 gains fields and loses wrong answers. No field is removed or renamed.

Every error carries a request id

Every /v2 error body now carries requestId, the same value as the X-Request-Id header, which every response sends and browsers can read. Quote it when you report a failure. Every error also carries a hint and a docs_url; a 404 used to carry neither a hint nor a next step.

Example

5 keys
"response": {
"code": "not_found",
"message": "Unknown entity ref: make:tesler",
"hint": "Nothing is held under that identifier. Find the right ref at GET /v2/entities/resolve or browse at GET /v2/entities; …",
"docs_url": "https://cardog.app/docs/errors/not_found.md",
"requestId": "98f185da-4b83-40ae-91f8-9e63d07b0207"
}

A filter value with the wrong grammar is named in message, details and refs: ?nano=nano:5yj3e1ebjf says nano=nano:5yj3e1ebjf, not nanos.0.

The contract

  • X-Credits-Rate, X-Credits-Remaining, X-Credits-Allowance, X-Credits-Reset and X-Credits-Source are typed under components.headers and declared on every keyed operation. -1 in Remaining or Allowance means uncapped, or a balance that could not be read, and is never a count.
  • GET /v2/entities answers EntityBrowseResult: one page (EntityBrowse) or the domain index (EntityDomains). The wire is unchanged.
  • Each line of GET /v2/pricing lists the operations it prices. A family priced in several units (recalls per VIN or per request) is several lines, and each operation is on exactly one.
  • The limit parameter states its maximum: 250 for listings, 100 for entities and complaints.

Refused, not guessed

  • /v2/listings/search, /count and /facets answer 400 invalid_request naming a parameter they do not read. ?colour=red or ?makes= used to be dropped, and the whole unfiltered set came back as the answer. A limit above 250 is a 400, not a 500.
  • GET /v2/safety/{ref}, its complaints, and GET /v2/recalls/entity/{ref} answer 404 not_found for a model year the registry does not hold, as every other group does. An empty list now always means a real model year with nothing on file.
  • GET /v2/entities/resolve refuses an unknown domain with 400 unknown_entity_domain, as browse does.

Faster entity reads

Entity reads, and the ref check behind every listings filter, now use each table's index. They were scanning every build code, and under load /v2/entities answered 500.


API 2.0: generally available, versioned by date

October 21, 2026

The v2 API is generally available. The release candidates are over: from today a change that would break a working integration ships as a new version, and the version you built against keeps answering.

curl "https://api.cardog.app/v2/vin/1GCUYDED1MZ123456" \
  -H "x-api-key: $CARDOG_API_KEY" \
  -H "Cardog-Version: 2026-10-21"

Versions are dates

  • A version is a date, YYYY-MM-DD. The first is 2026-10-21, and it is the only one served today.
  • It travels in one request header, Cardog-Version, and nowhere else. Your key never selects a version, so rotating a key never changes an answer.
  • Every /v2 response says what it served: Cardog-Version is the version it was shaped to, Cardog-Latest-Version the newest the API serves. When the two differ, a newer version exists and this changelog says what changed.
  • A version is served for 12 months after the next one lands. A response pinned to a superseded version carries Deprecation and Sunset headers and a Link to the migration guide.

Pinning

  • The SDKs pin for you. @cardog/api 2.4.0 and cardog 2.4.0 on PyPI send Cardog-Version: 2026-10-21 on every /v2 request. The value is PINNED_API_VERSION, and upgrading the SDK is how you move to a newer version.
  • Without an SDK, send Cardog-Version: 2026-10-21 on every /v2 request.
  • No header gets the oldest version still served, which today is 2026-10-21. An integration that never sends the header is never broken by a new version: it moves only when its version reaches its sunset. Earlier SDKs send no header, so they get 2026-10-21 too.

Until today a request that sent Cardog-Version was a 400. 2026-10-21 now answers 200. A date the API does not serve is still a 400 invalid_request, and its hint lists the versions it serves. The version is checked before anything is metered, so a refused one costs no credits.

What changed

Nothing in a response body. 2026-10-21 is the 2.0.0-rc.8 contract with a date on it, and GET /v2/openapi.json reports it as info.version.

Guide: Versioning.


API 2.0.0-rc.8: the spec sheet, metric, with the identity card

October 15, 2026

One change ships at 2.0.0-rc.8, on both spec reads. The sheet keeps its root, gains the identity card, speaks metric, and states what differs between trims per market.

curl "https://api.cardog.app/v2/specs/nano:2T3RWRFVMW" \
  -H "x-api-key: $CARDOG_API_KEY"

What changed

  • refs is the identity card: the same keys as GET /v2/vin/{vin} (make, model, modelYear, bodyStyle, fuelType, driveType, transmission, electrificationLevel, vehicleType, gvwr, country and the rest). A sheet and a decode join field for field. An attribute served in refs is not repeated in sections.
  • The model-year root is the overlap of everything under it. A decode field (refs, the engine columns) is served only when every decoded build of the model year states the same value; a catalogue value only when every trim states it. What differs between builds or trims is not a model-year fact: ask for the build grain (nano:{code}) or the trim grain.
  • Every value is { value, unit?, stated? }. Every number states its unit, and every unit is metric: MM, KG, L, L100K, KM, KPH, NM. Two exceptions, served as published: horsepower (HP), and rim and screen sizes in inches (IN). Tyre sizes are strings, served as designated (225/65R17). In stated, LBF is pound-feet.
  • stated is the number as the source published it, when that was in another unit: { "value": 96561, "unit": "KM", "stated": { "value": 60000, "unit": "MI" } }. A metric source's own number is served as it was published, never round-tripped through US units.
  • markets.US and markets.CA hold what each market publishes. pricing.msrp lists every price by trim and style, cheapest first, in the market's currency. colors lists every exterior and interior color offered, each { name, rgb, hex } (rgb and hex are null when the source published none). Markets are never merged.
  • GET /v2/specs/catalog: each attribute's unit is the served unit, and sourceUnit names the unit the data is held in where they differ. Two new sections, pricing and colors, carry scope: "market".

What went

  • trimDependent. An attribute the trims state differently is not served at the model-year grain; ask for the trim grain with ?trim=, as before.
  • trims. Its prices are in markets.<market>.pricing.msrp.
  • unmapped. Values the catalog cannot accept are not served.
  • source, region and disagreement on each value.
  • specVersion on the sheet. The API version is the version.
  • modelYearRef on the build sheet. refs.modelYear is the one place it lives, and links.modelYearSheet is the path to its sheet.
  • displacementCC and displacementCI, from sheets, from the dictionary and from the spec listing filters (an unknown attribute, 400). Displacement is served once, in litres (displacementL).

SDKs

  • @cardog/api 2.3.0 and cardog 2.3.0 on PyPI parse the new sheet. 2.2.x validates the old sheet on the way in and throws against rc.8; 2.3.0 throws against rc.7. Upgrade when rc.8 is live, not before.

Spec and safety sheets for every build the decoder names

October 6, 2026

The build-code sheets used to cover only builds we had seen in a listing. A build code you met first through GET /v2/vin could decode cleanly and still return 404 from specs and safety. They now read the same decoded identity GET /v2/vin serves.

What changed

  • GET /v2/specs/nano:{code} answers for every build code that decodes to a make, model and model year. Values the decoder states carry source: "decode"; catalogue values appear where a trim is linked, as before.
  • GET /v2/safety/nano:{code} answers for the same builds, matched against NHTSA's ratings for that model year exactly as before.
  • A trailer with no ratings is matchGrain: "exempt" with note: "NCAP does not rate trailers", at any weight. A light trailer used to read "unrated", which looks like ratings not yet published.
  • A build code that decodes without a model (most often a trailer) still returns 404 from both: their responses are keyed to a model year. GET /v2/vin still returns everything the decoder states about it.

Market analysis by VIN reads the vehicle's identity

October 4, 2026

Market analysis by VIN used to decode the VIN on its own and then match listings by the decoded make and model as text. It now reads the same identity GET /v2/vin/{vin} serves and selects listings by that identity's refs. One VIN, one answer, on every surface.

What changed

  • GET /v1/market/analysis/vin/{vin} selects comparable listings by make, model and modelYear refs. A text match could catch a neighbouring model or miss a renamed one; a ref match cannot. Counts, price analysis and pricing guidance may shift for a VIN whose old text match was wider or narrower than its identity.
  • A VIN we cannot identify returns 404 with { "error": "Not found", "message": "VIN … is not identified" }. It used to return 500.
  • A VIN we identify but hold no active listings for also returns 404, with the vehicle named in message.

The response shape of a successful analysis is unchanged.


API 2.0.0-rc.7: feeds, an organization's own data set pulled by key

September 30, 2026

A feed is an organization's own data set, built nightly from the Canadian vehicle record and scoped to what the organization is entitled to: a manufacturer's patterns, a government's demand set. The run is a csv; the API hands out the manifest and signed links, and the SDK turns it into rows, JSON, or an index that answers a VIN.

Added: the organization's feeds

GET /v2/feeds lists every active contract the key's organization holds, each with the pointer to its current run. GET /v2/feeds/{dataset}/latest returns the current run: its feed-manifest@1, the dataset@N declaration the rows are typed by, and one signed link per artifact (full, delta, and deletes when the dataset declares deletes). Both need a crdg_org_ key; a user key or session is 403 forbidden. Both cost 0 credits.

GET /v2/feeds/artifact/{runId}/{name} serves the bytes behind an artifacts[].url. Open it exactly as printed: it is signed, good for 24 hours, needs no key, costs 0 credits. Invalid or expired is 403; request the latest read again for a fresh link.

SDK

client.v2.feeds.latest("vehicle-identity@1") returns a FeedRun. rows() streams typed rows, gunzipped on the way in. toJSON() collects them. index() builds an in-memory index keyed by VIN pattern, and index.lookup(vin) returns the row or null.


API 2.0.0-rc.6: the factory window sticker, and the spec sheet stops reporting partial

September 24, 2026

Two things ship at 2.0.0-rc.6: a new read, the factory window sticker for a VIN, with the PDF served on a signed link; and one breaking removal on the spec sheets, partial. Nothing else on any response moves.

Added: the window sticker for a VIN

The window sticker is the manufacturer's own statement of what it built and what it asked: trim, every factory option with its price, destination charge, fuel economy. Nobody is required to keep one after the car is sold, and labels exist by VIN for some manufacturers only.

GET /v2/vin/{vin}/window-sticker returns the label we hold:

curl "https://api.cardog.app/v2/vin/1GCUYDED1MZ123456/window-sticker" \
  -H "x-api-key: $CARDOG_API_KEY"
  • label.issuer is the manufacturer, label.retrievedAt when we added it, and label.document its SHA-256 and download link.
  • label.vinVerified says whether the VIN was found inside the file. Some manufacturers render the VIN as an image or in an embedded font, so it cannot always be read. false means the label is filed under this VIN and nothing stronger.
  • A found label costs 5 credits.

Most VINs have no label, and that is a 200, not a 404: label is null and unavailable.reason says why, and what to do about it. no_lane: we do not cover this manufacturer; do not retry. lane_us_only: coverage is US-sold vehicles only and there is none for this VIN; do not retry. issuer_has_no_record: the manufacturer has none; treat as its answer. pre_lane_model_year: the vehicle predates our coverage; do not retry. not_yet_harvested: not held yet; the one reason worth a retry. An unavailable answer costs 0 credits, and HEAD on the same path is a free check: 204 when we hold a label, 404 when not, so polling costs nothing.

The label is public, US-mandated information, and the manufacturer's own document for a VIN is served as it was produced.

  • label.document.downloadUrl is a signed link to the PDF, GET /v2/window-sticker/{sha256}?exp=…&sig=…, minted on the host that answered. Good for 24 hours. Needs no API key or session, so it opens in a browser tab or an <iframe>. Served as application/pdf, inline, a single Range: bytes=N-M honoured with a 206, cached privately for the link's lifetime. 0 credits, GET or HEAD.
  • An expired or altered link is the forbidden envelope: request the read again for a fresh one. Store sha256, not the link. A signed link to a hash we hold nothing under is the not_found envelope; a file that could not be fetched right now is 503 unavailable, retry with backoff.
  • SDKs: client.v2.vin.windowSticker(vin) and client.v2.vin.windowStickerDocument(downloadUrl) (TypeScript), client.v2.vin.window_sticker(vin) and client.v2.vin.window_sticker_document(download_url) (Python). The document call fetches the link as printed and sends no API key on it.
  • The window_sticker MCP tool passes the link through, and an agent may hand it to a person as a clickable link.

Field names are camelCase, like every other v2 response. The label's printed contents (options, prices, fuel economy) are not served yet. Guide: Window stickers.

Removed: partial on the spec sheets

This is a breaking change. One field leaves both spec sheets: partial on GET /v2/specs/{ref} and GET /v2/specs/nano:{code}. It listed the attributes only some of the trims behind a sheet state, each with statedBy and of, how many trims asserted a value. That is how the sheet is folded, not a fact about a car, and nothing you could act on. statedBy and of appeared nowhere else, so after rc.6 they appear in no response.

What is served does not change. An attribute only some trims state was never served as a model-year value and still is not; it is not added to trimDependent either, because a blank is not a different value. Attributes the trims state different values for are still named in trimDependent.

What to do

If you read partial, delete the read. There is no replacement field.

If you use an SDK, upgrade before this deploys. Both published SDKs validate the spec sheet on the way in and treat partial as required, so @cardog/api 2.0.0 and cardog (Python) 2.0.0 fail on every specs.sheet() / specs.sheetByBuild() call once rc.6 is live, whether or not your code reads partial. @cardog/api 2.1.0 and cardog 2.1.0 drop the field and add the window-sticker read and the document call for the signed link. SDK majors track the API major, so an rc change is a minor bump; cardog 3.0.0 on PyPI is yanked and renumbered 2.1.0. Other routes are not affected.

changeroutebreakingdocs
window sticker for a VIN, PDF on a signed linkGET /v2/vin/{vin}/window-sticker, GET /v2/window-sticker/{sha256}noWindow stickers
partial (statedBy / of) removedGET /v2/specs/{ref}, GET /v2/specs/nano:{code}yesSpecs reference

This entry bundles the rc.6 notes first published as three entries; the signed link replaced a downloadUrl that rc.6 shipped as null, so a consumer that handled the null now sees a string there.


API 2.0.0-rc.5: the VIN identity is a record, not a decode

September 20, 2026

This is a breaking change, shipping at 2.0.0-rc.5. Two fields leave the VIN identity: trimAuthorityTier and observedTrim. Everything else in rc.5 is additive.

What changed underneath

A VIN used to be decoded when you asked for it. Now it is looked up. The identity of every vehicle we can name is computed ahead of time and stored, and the endpoint reads one row.

You will not see that directly, and that is the point — but two consequences are visible. Answers no longer vary with which decoder path served them, so the same VIN returns the same identity to you, to a bulk job, and to our own tools. And every answer now carries the engine build that produced it.

Removed

  • trimAuthorityTier — it existed to tell you which of two trims you were looking at. There is now one.
  • observedTrim — a seller's words off a listing, which is a different fact from the decoder's answer and never belonged in the identity. It stays available on the listing surfaces.

trim stays, and is unchanged: the catalogue trim the VIN pattern resolves to.

Added — the refs you were missing

The envelope served eleven entity refs. It now serves seventeen:

new refexample
refs.bodyCabbody-cab:crew-super-crew-crew-max
refs.bedTypebed-type:short
refs.seriesseries:1500
refs.fuelTypeSecondaryfuel-type:electric
refs.trailerBodyTypetrailer-body-type:enclosed
refs.trailerTypetrailer-type:semi

refs.fuelTypeSecondary matters most: without it a plug-in hybrid read as a single fuel and the electric half was lost.

Added — values

doors, numberOfWheels, numberOfAxles, shippingWeight (curb weight, lbs) and grossWeight (GVWR, lbs).

Added — a failed decode now says why

reasons is an array of codes, and it is non-empty for every valid: false. Previously a VIN we could not name came back with no explanation at all.

Eleven codes in three classes. What the engine refused on: WMI_UNKNOWN, PATTERN_UNKNOWN, UNKNOWN_MODEL_YEAR, INVALID_LENGTH, INVALID_CHARACTERS, CHECK_DIGIT_MISMATCH, NON_STANDARD_CHECK_DIGIT. What our own mapping refused on: NO_PATTERN_MATCH, MAKE_REF_GRAMMAR. And two that answer a different question — not "why could we not name this build" but "why is there no record to read": UNSEEN_BUILD (the build code is well formed and we have never held it) and UNKEYABLE_VIN (the VIN yields no build code at all).

The set is closed, so a new code is a deliberate change. It is typed as strings on the wire so adding one never breaks a client that parses the field.

Added — provenance

  • corgiBuild — the decoder build that named this vehicle. Two answers that differ are two builds, and this says which.
  • attributes — everything the decoder resolved that is not an entity: plant, confidence, warnings and the rest. Nullable, and populated as the surface fills.

Caching

A named identity is still cached for a day. A valid: false now caches for five minutes instead, because a VIN we cannot name today is one we may be able to name within the hour, and a day-long cache kept handing back the stale refusal.

If you read the identity envelope

Check for trimAuthorityTier and observedTrim and drop them. Everything else is additive: new keys are optional, so payloads captured before rc.5 keep parsing.


Report a wrong or missing record

September 12, 2026

A decode that came back valid: false was a dead end. If you knew what the vehicle was, there was nowhere to say so. Now there is.

What changed

POST /v2/feedback files a report and returns a receipt:

curl -X POST "https://api.cardog.app/v2/feedback" \
  -H "x-api-key: $CARDOG_API_KEY" \
  -H "content-type: application/json" \
  -d '{"kind":"decode_miss","subject":{"vin":"1HGCM82633A123456"},"claim":{"year":2003,"make":"Honda","model":"Accord"}}'

The response is 202 with an id, status: "received" and links.self. GET /v2/feedback/{id} returns the same receipt with its current status and, once we have looked at it, a resolution.

  • Reporting costs 0 credits on every plan, including a free key that has used its allowance.
  • The same report from the same key within 24 hours returns the original receipt with 200.
  • Each key can file 60 reports a minute and 1,000 a day.
  • Every invalid_vin error and every valid: false decode now carries links.feedback.

Additive. No field was removed or reshaped.

What a report does

A report is an observation. It never changes a record by itself. Decode reports join the queue we already work from, and when a fix ships the report moves to shipped with the version in resolution.fixed_in. Other kinds are stored now and read queued until they are routed. The feedback guide has the details.


API 2.0.0-rc.4: the spec sheet becomes typed

September 12, 2026

This is a breaking change, shipping at 2.0.0-rc.4. One endpoint changes shape: GET /v2/specs/{ref}. If you read spec[attribute] or variants on a spec sheet, both are gone, and the map is below. Everything else in rc.4 is additive.

This entry is published before the change ships, on purpose: an integration that maps the current shape today would have to map it again next week. Until the rc.4 deploy lands, GET /v2/specs/{ref} keeps serving the rc.3 shape; the OpenAPI document's version moves to 2.0.0-rc.4 with the deploy.

What is in rc.4

changeroutebreakingdocs
The spec sheet is typed: values by section, a unit and a source on every value, trim gaps namedGET /v2/specs/{ref}yesSpecs reference
The build-code sheet is its own operationGET /v2/specs/nano:{code}newSpecs reference
The catalog lists sections, names a section on every attribute, and grows to 173 attributesGET /v2/specs/catalognoSpecs reference
Report a wrong or missing record, 0 creditsPOST /v2/feedback, GET /v2/feedback/{id}noFeedback guide
links.feedback on every invalid_vin error and every valid: false decode; optional links on the error envelopeGET /v2/vin/{vin}, POST /v2/vin/batchnoErrors guide
refs.gvwr is optional in the contract, not merely nullableGET /v2/vin/{vin}, POST /v2/vin/batchnoVIN guide
Australia is a recall authority: au rows are labelled correctly on every surface/v2/recalls/*noRecalls guide
The feedback credit family, at 0 credits, joins the public rate cardGET /v2/pricingnoCredits guide
@cardog/api (major), @cardog/entities (minor) and the cardog Python package follow the contractSDKs, MCP@cardog/api yesQuickstart · MCP

The spec sheet is typed

  • Values are grouped by section. sections.dimensions.width, sections.driverAssistance.laneKeepAssist: seventeen sections, the same ones GET /v2/specs/catalog now lists under sections, and every catalog attribute names its section so a consumer can regroup flat if it prefers.
  • Every value is an envelope. { value, unit?, source, region?, disagreement? }. Every number states its unit (MM, LB, MPG, COUNT for a plain count; a price states its currency). Every value names the source that answered: decode (the decoder's row for the build) or catalogue (every linked trim agreed). Where the catalogue disagrees with the decoder on a build, the decoder's value is served and the catalogue's is recorded beside it as disagreement, reported, never resolved.
  • A model-year value is one every trim states. A value is served only when every trim with a spec states it and they all agree. Trims that state different values put the attribute in trimDependent; a value only some trims state goes to partial (how many stated it, of how many). Neither is averaged or picked; ask ?trim= for the trim's own values. The old sheet served a value stated by one trim as if it held for the model year.
  • variants is gone. It repeated the whole sheet once per trim (fifteen of a seventeen-kilobyte response, with sixty-five of sixty-six fields identical). trims lists the same catalogue entries once, as summaries, each price with its currency. currency is null when the market is unknown, and a price whose currency cannot be known is not served.
  • The build-code sheet (nano: refs) is its own operation, GET /v2/specs/nano:{code}, and drops config, variant and variants: identity values live in sections with source: "decode", the decoder's provenance moves to decode (source, confidence, corgiBuild), and trims lists every linked entry, all of them, never a pick. ?trim= on this grain is refused with a 400.
  • Nothing is dropped in silence. Leftover equipment sentences move to unmapped.features, each naming the trims behind it. A catalogue key the catalog does not define is listed under unmapped.attributes. A stated value the catalog cannot accept (a boolean where a tri-state goes, an enum value off the list, a ref from the wrong domain) is listed under unmapped.unservable with its reason. A zero the mappers write for "not applicable" (range, batteryCapacity) is served as absent, never as 0.
  • The catalog grows to 173 attributes: eighteen connectivity and infotainment fields (built-in connectivity and its provider and included months, automatic crash notification, emergency call, stolen-vehicle tracking, remote app functions, digital key and its standard, OTA update scope, mobile network generation, screen count, driver display size and type, voice assistant and its provider, infotainment platform, radio bands). They are defined now and fill as the catalogue is mapped onto them.

Where things went

beforeafter
spec.widthsections.dimensions.width.value, with .unit
spec.laneKeepAssistsections.driverAssistance.laneKeepAssist.value, with .source
variants[], the whole sheet per trimtrims[], summaries, each msrp with a currency
one trim's value served as the model year'strimDependent[] or partial[], then ?trim=
build grain: config, variant, variantssections with source: "decode", decode, trims
equipment sentences inlineunmapped.features[]
an undefined catalogue key, droppedunmapped.attributes[]
an unacceptable value, droppedunmapped.unservable[] with a reason

Additive in the same release

  • Report a wrong or missing record. POST /v2/feedback files a report and returns a receipt; GET /v2/feedback/{id} reads it back. Reporting costs 0 credits on every plan, including a free key that has used its allowance; the same report from the same key within 24 hours returns the original receipt. Every invalid_vin error and every valid: false decode now carries links.feedback, and the error envelope gains an optional links. Full detail in the entry above and the Feedback guide.
  • refs.gvwr is optional. The weight-class ref landed on 2026-09-10 as nullable, which still made the key required and rejected every response captured before it existed. The server always sends it; the contract now says optional, so older payloads parse again.
  • Australian recalls. au joins tc and nhtsa as a recall authority in the response contract. /v2/recalls/* labels those rows Vehicle Recalls (Australia) instead of AU, and the vehicle dossier attributes them to the Australian regulator instead of NHTSA. The v1 /recalls/* routes, which failed contract validation on any Australian row, serve again.
  • Pricing card v7. GET /v2/pricing lists the feedback family at 0 credits, and the credits check skips the balance gate for a 0-credit family.

First-party consumers move with it

  • @cardog/api (TypeScript) is a major release. specs.sheet() returns the new shape, specs.sheetByBuild() serves the build-code grain, and SpecVariantV2 is removed. feedback.create() and feedback.byId() are new. RequestOptions accepts revalidate and cache, passed through to fetch, so a server-rendered page can opt into caching.
  • @cardog/entities is a minor release. The spec catalog carries sections and the 18 new attributes; the per-domain ref aliases (BodyStyleRef, DriveTypeRef, FuelTypeRef, GvwrRef, VehicleTypeRef, and the rest) are exported from the package root; a new @cardog/entities/identity module defines one vehicle identity type; and the catalogue mappers keep the supplier's own units and words beside the canonical values.
  • The cardog Python package is regenerated from the rc.4 contract. It had been frozen at rc.1. It gains specs.sheet_by_build(), the charging and feedback groups, and keyword-safe field names. A Python SDK older than that release will raise on client.v2.specs.sheet() once rc.4 is live, so upgrade it with the API.
  • The public MCP server reads identify_vehicle's spec highlights from the new sections. It previously read sheet.spec behind an empty catch, which would have served specHighlights: null for every VIN after the deploy. See the MCP guide.

If you integrate against the sheet

Read sections[section][attribute].value where you read spec[attribute]; read the unit from the value instead of assuming one; treat an id in trimDependent as "ask for the trim" and an id in partial as "not a model-year fact". Read trims where you read variants, and GET /v2/specs/nano:{code} where you passed a nano: ref to the sheet. Nothing else in rc.4 requires a change.

Reference: Specs · VIN · Recalls · guides: Feedback · Errors · Credits · MCP


The decode returns the weight class

September 10, 2026

The decode response carried ten refs and not the weight class. Anyone moving from the federal decoder, which returns GVWR in its own envelope, lost the field on the way across. It is there now.

What changed

refs.gvwr on GET /v2/vin/{vin} and on the batch endpoint:

"refs": {
  "make": "make:ford",
  "model": "model:ford/f-150",
  "bodyStyle": "body-style:pickup",
  "gvwr": "gvwr:class-2f-7-001-8-000-lb-3-175-3-629-kg",
  "country": "country:united-states-usa"
}

Additive — no field was removed or reshaped, and every existing consumer is unaffected.

Where the value comes from

The build, not the vehicle. A weight class is a property of a configuration, so every VIN sharing a build code carries the same one, and a VIN we have never seen before still gets an answer. It is present on 390,448 of 824,467 build codes, of which 200,315 are Class 4 through 8.

null means we cannot derive it for that build — never that the vehicle has no rating. The value is checked against the registry like every other ref, so a class we do not recognise ships as null rather than as a join key that does not dereference.


Charging stations

August 31, 2026

Two endpoints:

  • GET /v2/charging/stations: stations near a point, nearest first (lat/lng/radius_km, plus connector, min_power_kw, status).
  • GET /v2/charging/stations/{id}: one station by its id.

Why this is not the old /charging

v1 proxied a live third-party call. This serves stations from our own database: 105,985 stations (97,869 operational), an asOf timestamp you can cite, and no dependence on anyone else's uptime. Fields we cannot vouch for (photos, rating, network) are dropped from the contract rather than returned as null.

Requests are metered at 1 credit. The rate card at /v2/pricing moved to version 6 to reflect this.

Read the charging guide or the reference.


Safety ratings in five blocks

August 21, 2026

This is a breaking change, shipping at 2.0.0-rc.3. If you read overallStars, bodyStyle, esc or any other flat field on a safety rating, it has moved. Nothing is deprecated. Every field is relocated, and the map is below.

A rating used to answer in a different vocabulary than the decode that found it. The decode said make:honda; the rating said "HONDA". The decode said body-style:pickup; the rating said "PU/CC". Same vehicle, same response, two vocabularies, and only one of them could be joined on. Underneath that, roughly forty flat fields answered five different questions with nothing marking which was which.

{
  "makeRef": "make:ram",  "make": "RAM",
  "config":     { /* what this rating COVERS: every axis an ID */ },
  "crash":      { /* what NHTSA MEASURED: with denominators and units */ },
  "equipment":  { /* what the vehicle HAS: one closed answer each */ },
  "published":  { /* what the source SAID: verbatim */ },
  "provenance": { /* who said it, and which release */ }
}

Where things went

beforeafter
overallStars: 5crash.overall: { stars: 5, outOf: 5 }
frontalDriverStarscrash.frontal.driver
rolloverPossibility: 0.095crash.rollover.possibility: { value: 9.5, unitCode: "P1" }
staticStabilityFactor: 1.48crash.rollover.staticStabilityFactor: { value: 1.48, unitCode: "C62" }
dynamicTipResult: "No Tip"crash.rollover.dynamicTip: "no-tip"
bodyStyle, driveTrain, vehicleTypepublished.*, plus resolved IDs in config
esc, abs, backupCamera, …equipment.*, plus the raw in published
productionRelease, sourceprovenance.*

Every axis is an entity ID

curl -H "Authorization: Bearer $CARDOG_KEY" \
  "https://api.cardog.app/v2/safety/nano:1C6SRFVTTN"
# → "config": { "bodyStyleRef": "body-style:pickup",
#               "bodyCabRef":   "body-cab:crew-super-crew-crew-max",
#               "driveTypeRefs": ["drive-type:4wd-4-wheel-drive-4x4"] }

Cab is the notable case. NHTSA rates a crew cab and a quad cab separately (on a 2026 Ram 1500 that is four stars against five), and it publishes the distinction inside a body code (PU/CC vs PU/EC) that nothing could compare against. Cab is now its own axis.

One closed answer per safety feature

The equipment fields were free text, and the source writes them eighty-nine different ways: three capitalisations of "Standard", five spellings of an empty value, take rates baked into the answer (optional (72%)), per-trim breakdowns, and, in the anti-lock brakes column, a manufacturer's collision-braking trim notes.

Each field now takes one of five values: standard, optional, varies, unavailable, not-published.

not-published and unavailable are different values. not-published means the source left the field blank; unavailable means the vehicle does not have the feature. A 2026 Civic has stability control (mandatory since 2012) and an empty column in the source. Those are different answers, and the response now distinguishes them.

sourceClaim names the source that answered, and grain says whether the answer covers the whole rated configuration or one specific trim. More than one record answers these fields and they do not always answer the same question.

Numbers carry units

A rollover probability of 0.095 could mean 9.5% or 0.095%, and the response did not say which. Measures now ship as { value, unitCode } using UN/CEFACT Recommendation 20 codes; see Units. stars: null means not rated, which a bare integer could not distinguish from a rating of zero.

Grouping also exposes something the flat shape hid. Cars before 2011 carry frontal and side stars and no overall score, because NHTSA did not publish an overall score until the MY2011 programme redesign. In the flat shape, that looked like missing data.

Checking our work

published carries the source's own text, unedited, beside everything we resolved. Use it to check our resolution, and to tell us when we got it wrong.

Full detail in the Safety guide.


Build codes

August 13, 2026

Trim names do not identify a vehicle. "Work Truck" spans four weight classes; "LE" spans gas and hybrid. The VIN's build pattern (positions 1–8, 10 and 11, plus 12–14 for a small-volume maker, the nano) separates them, and as of today it is a key accepted across the platform.

curl -H "Authorization: Bearer $CARDOG_KEY" \
  "https://api.cardog.app/v2/vin/2T3RWRFV4MW112492"
# → "nano": "nano:2T3RWRFVMW",
#   "links": { "specsBuild":  "/v2/specs/nano:2T3RWRFVMW",
#              "safetyBuild": "/v2/safety/nano:2T3RWRFVMW",
#              "nanoEntity":  "/v2/entities/nano:2T3RWRFVMW", ... }

The nano is derived from the VIN by string operations alone. You can compute it offline with @cardog/entities, it does not change, and it is now dereferenceable: 824,000 build codes are registry entities, one per configuration the decoder has verified.

GET /v2/specs/nano:{code} returns the config-exact sheet. It carries the decoded configuration (weight class, drive, fuel/hybrid family, engine, each with source, confidence, and the decoder build that produced it) plus every catalog entry that maps to this build. When several entries map (option packages do not change the VIN pattern), you get all of them and a fold of the values they agree on. The API does not pick one for you.

GET /v2/safety/nano:{code} returns the rating for that build. Ratings are selected by joining the build's decoded axes against what NHTSA declared, not by matching trim text. The response states how narrow the match is:

  • configuration: exactly one rating matches. tested: true marks a rating whose crash car was this build.
  • partial / model-year: a short list, or the full set for the model year. The response names what blocked a narrower match.
  • exempt: NCAP does not rate vehicles over 8,500 lb GVWR. A 2023 F-350 answers exempt rather than "missing", and the listed configurations and their driver-assist data are still included.

Weight class is now populated. North-American catalog rows never carried GVWR. It is now derived from decoded VINs and gated on unanimity: 15,000 rows, including every 2023 F-350. /v2/specs/{model-year} now serves a weight class, and it agrees with the decode.

Nothing breaks. Model-year refs keep answering everywhere they did, and the new links sit alongside the old ones. The build code is additive: a narrower key for consumers pricing, insuring, or rating a specific vehicle rather than a nameplate.


API 2.0

July 30, 2026

The Cardog API is now one keyed surface at api.cardog.app/v2. Resolve free text to a permanent ref once, then dereference that ref into identity, specs, listings, live market data, and recalls behind a single key.

curl -H "Authorization: Bearer $CARDOG_KEY" \
  "https://api.cardog.app/v2/entities/resolve?q=tesla+model+y"
# → { "ref": "model:tesla/model-y", ... }

curl -H "Authorization: Bearer $CARDOG_KEY" \
  "https://api.cardog.app/v2/listings?make=make:tesla&year=2024"

model:tesla/model-y is a permanent join key. Store it in a database column, a config file, or an agent's memory file; it will mean the same vehicle for as long as the platform exists.

Every non-2xx response carries the fix. The envelope is { code, message, hint, docs_url, suggestions }. An unknown ref returns a 400 that names the offending ref and offers the nearest valid ones. The API does not fuzzy-match a typo into a different vehicle; you get the error and the correction in the same response.

The contract generates the surface. Schemas in @cardog/contracts validate both requests and responses, and every downstream artifact regenerates from them: the OpenAPI spec, the docs reference, the conformance table, the live-check suite, both SDKs' types, and the MCP tool layer. None of it is hand-maintained.

Nine route groups, all ref-native:

GroupWhat it answers
entitiesfree text → permanent refs; the only route that accepts free text
vinVIN → identity, with per-item batch
specs155-attribute catalog by trim
listingsref-native search, facets, count over live Canadian listings
instruments · quotes · tapelive Canadian market data
recallsTransport Canada + NHTSA, fused, ref-keyed
pricingmachine-readable rate card at GET /v2/pricing

Docs are generated and machine-readable. cardog.app/docs has no hand-written endpoint prose. The cURL / TypeScript / Python tabs come from both SDK method maps, and the site has ⌘K search and a try-it panel that runs against your own key. Every page has a .md twin, and cardog.app/docs.md returns the whole platform in one fetch.

@cardog/entities is on npm, Apache-2.0. It packages the ref grammar: validate, build, and type refs offline, with no API calls and no dependencies. Resolution and the facts behind the refs are served by the API.

import { modelYearRef, parseRef, squishFromVin } from "@cardog/entities";

modelYearRef("model:tesla/model-y", 2024); // "model-year:tesla/model-y/2024"
squishFromVin("5TDGSKFC8RS123456");        // "5TDGSKFCR": offline, no network

SDKs and MCP. @cardog/api (TypeScript) and cardog (PyPI) are generated from the same OpenAPI artifact, with envelope-typed errors. mcp.cardog.io exposes five tools (resolve_entity, identify_vehicle, search_inventory, market_quote, check_recalls), and each tool description explains the ref grammar inline.

Credits are visible on every call. X-Credits-Rate, X-Credits-Remaining, X-Credits-Allowance, and X-Credits-Reset on every keyed response; X-Credits-Source on every debited one. The rate card is machine-readable at GET /v2/pricing. The free tier stops at 50 credits with an insufficient_credits envelope that says how to continue. Paid tiers bill overage and are not blocked.

What changed for existing users

  • v1 still works. No v1 route has been removed and none is being removed today. A deprecation window will be announced with dates in a future entry.
  • Your existing key works on /v2 unchanged. One channel gate covers API key, session, and internal callers.
  • Free text is only accepted by resolve. v1 accepted make/model strings on several endpoints. In v2, free text goes to GET /v2/entities/resolve and every other route takes refs. If you send a string where a ref belongs, you get a 400 naming the field and pointing at resolve.
  • Errors changed shape. v1 error bodies were not uniform. v2 is always { code, message, hint, docs_url, suggestions }. Dispatch on code; it is an open set, so fall back to message for codes you do not know.
  • null has one meaning. null means the value is not derivable from the evidence. It is not used for unknown, and it is not a placeholder.

Improvements

  • Docs content negotiation: Accept: text/markdown on any docs page, or append .md.
  • Conformance table and live-check suite generated from the contract and run per-PR against a preview deployment.

Next

In progress and not yet available: resolve for messier real-world queries, agent-minted trial keys, recall watches, ?include= so one call can answer one job, a self-serve portal for metering and upgrades, and idempotency keys.

Full reference: cardog.app/docs · one fetch: cardog.app/docs.md · this changelog as markdown: cardog.app/changelog.md