Autocomplete

Autocomplete keywords

Changed on

Auto complete the keyword search.

post/v2/autocomplete/keywords

Request

  • Base URL
    https://api.ocean.io
  • URL
    https://api.ocean.io/v2/autocomplete/keywords
  • Auth
    none declared

Query parameters

apiTokenstring nullable

Headers

x-api-tokenstring nullable

Request body

querystring required

Beginning of the keyword

limitinteger

Number of keywords to return. Default is 5 if not specified, maximum is 15.

Example request

{
  "query": "softw",
  "limit": 5
}

Response

Successful Response

keywordsstring[] required

Array of found keywords. Returns empty array if no results

Changes

    • breaking

      the request property's minLength was increased from 0 to 1

    • info

      added the non-success response with the status