Skip to main content

Setup

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

Notes

  • Credit-based; each endpoint states its cost. account.usage shows the balance.
  • Most POST endpoints take optional timeoutOpts {milliseconds, behavior}; return-partial gives partial results at the deadline (partial flag set).
  • Paged endpoints return next_cursor; send it back with the same query.

Endpoints

Retrieve a brand profile

  • A read over POST: it only looks up data. 10 credits per call.
  • The body is a union keyed by type: send type plus the one field it names (domain, name, email or ticker). by_direct_url takes a url field; its page was not checked.
  • 1 credit per call; free on Pro, Growth and Scale.

Extract a website styleguide

  • 10 credits per call.
  • A read over POST: it only queries. 2 credits (ultra 10).
  • A read over POST: it only queries. 10 credits (ultra 50).

Enrich a person from identity clues

  • A read over POST: it only looks up data. 20 credits per match; beta.

Scrape a URL

  • A read over POST. From 1 credit per call; each extra format adds cost.
  • Requests with custom headers or actions skip the cache.
  • A read over POST: it only queries. From 1 credit per 10 results.

Map a site’s URLs

  • From 1 credit per call.

Crawl a website to Markdown

  • A read over POST: it only fetches pages. 1 credit per page. Use a batch for crawls beyond 500 pages.

Research a task and return a sourced answer

  • A read over POST. 10 credits in fast mode, 100 in ultra.
  • A read over POST: it only queries. 1 credit per 10 results.

Retrieve credit balance and usage

Retrieve usage history