LogoOcean.io
API/Endpoints/Search

Get auto completion

Auto complete the name search

POST
/v2/autocomplete/companies

Request Body

application/jsonRequired
nameRequiredAuto completion input

Beginning of the name or the domain of a company

countryFiltersCountry filters

List of countries to filter for the autocompletion

excludeDomainsExclude domains

List of domains to exclude from the results

Query Parameters

apiTokenRequiredApitoken
curl -X POST "https://api.ocean.io/v2/autocomplete/companies?apiToken=string" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "ocea",
    "countryFilters": [
      "dk",
      "se"
    ],
    "excludeDomains": [
      "ocean.com"
    ]
  }'

Successful Response

{
  "companies": [
    {
      "domain": "ocean.io",
      "logo": "https://cdn2.ocean.io/companies-logos-v1/domain.com/020539e284d9318e805301b672ad23047c30818a.png",
      "name": "Ocean"
    }
  ]
}