Suggest

Autocomplete entities

Returns entity suggestions matching a given prefix. Useful for building autocomplete/typeahead UI.

get/v1/suggest/entities

Request

  • Base URL: https://api.apitube.io
  • URL: https://api.apitube.io/v1/suggest/entities
  • Auth: one of:
    • API key in header X-API-Key
    • API key in query parameter api_key

Query parameters

prefixstring required

Search prefix for entity name. Required.

Response

Array of matching entities

idinteger

Entity ID

namestring

Entity name

type'person' | 'location' | 'organization' | 'brand' | 'product' | 'natural-disaster' | 'disease' | 'event' | 'sport' | 'unknown'

Entity type

metadataobject

Additional entity metadata

Changes

No recorded changes to this operation across all 1 revision of this API.