entities

A ref is an ID such as make:toyota; each kind of ref (make, model, fuel type and so on) is a domain. With no parameters, this lists every domain, each with a browse link. With domain, it returns one page of that domain's refs.

Page sizes are capped: browsing is for exploring, not for copying the whole list. Costs 1 credit.

get/v2/entities

Request

  • Base URL
    https://api.cardog.app
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Query parameters

domain, string

The domain to list, e.g. "make", "model", "fuel-type". Send no parameters at all to list the domains.

q, string

Only refs whose name contains this text. Needs domain.

page, integer

Page number

limit, integer

Results per page, 1 to 100. A larger value is a 400.

Response

With domain: one page of refs (items). Without parameters: the list of domains (domains).

union required

With domain: one page of entity nodes (items). Without parameters: the domain index (domains).

EntityBrowse required
OR
EntityDomains required

Changes

    • breaking

      for the query request parameter limit, default value 50 was added

    • warning

      for the query request parameter limit, the max was set to 100.00

    • info

      added to the response body anyOf list for the response status

    5 more changes in this revision