entities

Turn text into refs

Changed on

The only endpoint that takes free text. Send what a person typed, such as 2021 Civic, and get back matching refs (IDs such as make:honda), best first, each with a confidence score.

best is null when no match is confident enough: the API never guesses for you. Costs 1 credit.

get/v2/entities/resolve

Request

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

Query parameters

q, string required

The text to match, e.g. "2021 Civic" or "teslla"

domain, string

Only match refs of this domain, e.g. "make"

limit, integer

Maximum matches

Response

Matches, best first, with confidence

EntityResolve required
query, string required

The text you sent

domain, string nullable

The kind you limited the search to, if any

candidates, object[] required

Possible matches, best first. Empty when nothing matched.

best, object nullable required

The top candidate, only when its confidence is high enough for us to pick it. Otherwise null, and you choose from candidates.

links, object

Paths to related endpoints, ready to request, e.g. {"recalls": "/v2/recalls/entity/model-year:toyota/rav4/2021"}

Changes

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    • info

      added the optional property requestId to the response with the status

    1 more change in this revision