Skip to main content

Setup

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

Notes

  • Credit-based: a free account gets 1,000 credits once; plans and pay-as-you-go add more. Most calls cost 1 credit, a few cost more (stated per endpoint). account.subscription shows what is left.
  • Self-serve plans allow 5 requests per second.
  • Paging differs by endpoint: feeds use paginationToken, search uses cursor, comments and reactions use a start offset.
  • Accepts profile and post URLs as well as URNs; URNs are more stable.

Endpoints

Get plan and credits

Get credit usage

Get a profile

  • 1 credit, or 2 with fullProfile=true.

List a profile’s posts

  • A read over POST: the search terms and filters go in the JSON body.
  • Set sortBy explicitly: it has no default.

List comments on a post

List reactions on a post

Get a company

  • 1 credit.

Get up to 50 companies

  • A read over POST: the company list goes in the JSON body. Each entry succeeds or errors on its own.

List a company page’s posts