Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Credit-priced per result: searches 0.2, enrich 0.1, bulk lookup 0.05, autocomplete 0.1 per call. Email reveal (1 credit) and phone reveal (10) are asynchronous and deliver to a webhook, so they are not listed.
  • Paging uses searchAfter: send the value from the previous response.
  • Search ‘preview’ endpoints exist only on enterprise or older plans (402 otherwise).
  • The docs also accept the token as an apiToken query parameter; sending both a header and a query token is an error.

Endpoints

Get credit balance

Get credit usage over time

  • A read over POST.

List searchable industries, regions, technologies and seniorities

  • Free.

Autocomplete company names or domains

  • A read over POST. 0.1 credits per call.

Autocomplete company keywords

  • A read over POST. 0.1 credits per call.

Autocomplete job titles

  • A read over POST. 0.1 credits per call.

Autocomplete locations

  • A read over POST. 0.1 credits per call.

Autocomplete skills

  • A read over POST. 0.1 credits per call.
  • A read over POST: the filters are in the body.
  • 0.2 credits per result. Page with searchAfter.
  • Valid industries, regions and technologies come from data_fields.list.
  • A read over POST: the filters are in the body.
  • 0.2 credits per result. Page with searchAfter. Keep each result’s id: it is the input to email and phone reveal.
  • Emails and phones are not in search results; reveal is a separate, webhook-delivered call that this entry does not list.

Enrich a company

  • A read over POST.
  • 0.1 credits per result. HTTP 201 means the domain is not indexed yet and crawling started; nothing is charged, retry in 2 to 5 minutes.

Enrich a person

  • A read over POST.
  • 0.1 credits per result. The revealEmails and revealPhones options deliver by webhook and charge extra, so they are not listed here.

Look up companies by domain in bulk

  • A read over POST.
  • 0.05 credits per result.

Look up people by LinkedIn handle or Ocean id in bulk

  • A read over POST.
  • 0.05 credits per result; max 1,000 identifiers combined.

Pre-load domains into the database

  • A read over POST: it only asks Ocean to fetch public data. Free.
  • Domains already indexed come back in successfulDomains; others in triggeredDomains. Retry after 2 to 5 minutes.