Skip to main content

0. Get an API key

Sign in or sign up on the dashboard with your constants.io account (Google, or a code sent to your email), open API Keys and create a key. It’s shown once, so copy it then. Keys belong to the workspace picked in the sidebar, so everyone in it can use them; invite people from Members, in your workspace settings. Every request sends it as Authorization: Bearer <key>; the examples below read it from an environment variable:

1. Search for the person

Describe the person as you would to a colleague: their name plus anything that tells them apart, like an employer, school, role or city.
The call takes 8–20 seconds. People come back best first, each with their current role and LinkedIn address:
Already have the person’s LinkedIn address? Skip this step and go straight to enriching them.

2. Enrich the person

Pass the linkedin_url of the person you meant. This collects their full profile and searches every platform for their accounts and videos:
The call takes 30–60 seconds. Set your HTTP client’s timeout to at least 120 seconds. Only matches come back, best first: accounts already enriched, with their recent posts in enrichment, and videos with their transcript. Each platform’s searched says how many results its search found before that cut. The next two steps are for any account or video you have, such as one you found yourself:

Errors

Errors return a status code and a message: