API reference
Entities
Last updated:
The registry: browse, resolve, dereference
- GET
/v2/entitiesBrowse/search the entity registry (paged, capped) - GET
/v2/entities/resolveFree text → refs with confidence (the front door) - GET
/v2/entities/{ref}Dereference a ref: node + parents/children + counts + links
/v2/entitiessince 2026-07-30Browse/search the entity registry (paged, capped)
With no parameters at all, returns the domain index — every domain the registry serves, each with a `browse` link. With `domain`, one page of that domain's nodes. Page caps are dump-resistance: the registry is browsable for evaluation, not extractable by pagination.
Query parameters
domainstringoptionalEntity domain, e.g. "make", "model", "fuel-type". Omit every parameter to get the domain index.
qstringoptionalSubstring match on display names (requires domain)
pageintegeroptionalPage number
limitintegeroptionalPage size, 1 to 100; a larger value is refused with 400
curl "https://api.cardog.app/v2/entities?domain=make" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Example response
4 keysErrors400401429500every non-2xx body is the error envelope
/v2/entities/resolvesince 2026-07-30Free text → refs with confidence (the front door)
The ONE endpoint that accepts free text. Returns candidates ordered best-first; `best` is null when nothing clears the confidence floor — the API never guesses for you.
Query parameters
qstringrequired"2021 Civic", "teslla", …
domainstringoptionalConstrain to one domain (optional)
limitintegeroptionalMax candidates
curl "https://api.cardog.app/v2/entities/resolve?q=2021%20civic" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200EntityResolvequerystringdomainstring | nulloptionalEntity domain, e.g. "make", "model", "model-year", "fuel-type"
candidatesobject[]refstringThe entity ref ({domain}:{key}), the permanent identifier for this entity. Example: "make:tesla"
domainstringEntity domain, e.g. "make", "model", "model-year", "fuel-type"
namestringDisplay name, e.g. "Tesla"
parentRefstring | nulloptionalRef of the parent entity, for domains that nest (the parent of "model:mini/hardtop" is "make:mini")
confidencenumberMatch confidence, 0 to 1. Candidates are ordered highest first.
bestobject | nullThe top candidate, only when its confidence clears the server's floor. Otherwise null, and the caller chooses.
refstringThe entity ref ({domain}:{key}), the permanent identifier for this entity. Example: "make:tesla"
domainstringEntity domain, e.g. "make", "model", "model-year", "fuel-type"
namestringDisplay name, e.g. "Tesla"
parentRefstring | nulloptionalRef of the parent entity, for domains that nest (the parent of "model:mini/hardtop" is "make:mini")
confidencenumberMatch confidence, 0 to 1. Candidates are ordered highest first.
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Example response
4 keysErrors400401429500every non-2xx body is the error envelope
/v2/entities/{ref}since 2026-07-30Dereference a ref: node + parents/children + counts + links
Path parameters
refstringrequiredAny registry ref or permanent alias, e.g. "gvwr:class-5". Both forms return the original canonical ref. Slashes in refs must be URL-encoded (%2F).
curl "https://api.cardog.app/v2/entities/make:tesla" \
-H "x-api-key: $CARDOG_API_KEY" \
-H "Cardog-Version: 2026-10-26"Response
200EntityDetailrefstringThe entity ref ({domain}:{key}), the permanent identifier for this entity. Example: "make:tesla"
domainstringEntity domain, e.g. "make", "model", "model-year", "fuel-type"
namestringDisplay name, e.g. "Tesla"
parentRefstring | nulloptionalRef of the parent entity, for domains that nest (the parent of "model:mini/hardtop" is "make:mini")
parentsobject[]optionalAncestors, nearest first: a model year lists its model, then its make
refstringThe entity ref ({domain}:{key}), the permanent identifier for this entity. Example: "make:tesla"
domainstringEntity domain, e.g. "make", "model", "model-year", "fuel-type"
namestringDisplay name, e.g. "Tesla"
parentRefstring | nulloptionalRef of the parent entity, for domains that nest (the parent of "model:mini/hardtop" is "make:mini")
childrenobject[]optionalDirect children, capped. childrenTruncated is true when the list was cut.
refstringThe entity ref ({domain}:{key}), the permanent identifier for this entity. Example: "make:tesla"
domainstringEntity domain, e.g. "make", "model", "model-year", "fuel-type"
namestringDisplay name, e.g. "Tesla"
parentRefstring | nulloptionalRef of the parent entity, for domains that nest (the parent of "model:mini/hardtop" is "make:mini")
childrenTruncatedbooleanoptionalcountsobjectoptionalRelated-resource counts, e.g. {"children": 42, "listings": 917, "recalls": 12}
linksobjectoptionalRelated resources, keyed by relation name, each a server-relative path. Example: {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}
Example response
9 keysErrors400401404429500every non-2xx body is the error envelope
Generated from the contract. Machine-readable spec: GET https://api.cardog.app/v2/openapi.json · markdown twin: /docs/reference/entities.md
Was this helpful?