Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Credits: search 2 per request, research 1 per completed research; 402 Payment Required when the balance is short.
- Search and research are asynchronous: start, then poll the GET by id.
- Search covers the user’s own network (connections, groups, friends’ connections), so results depend on whose key it is.
- Errors use RFC 7807 problem details (type, title, status, detail). The Chat endpoints are not in this entry.
Endpoints
Get credit balance and usage
Start a person research
- Starts a billed job: it only produces data and changes nothing else in your account.
- A read over POST. 1 credit per successful, completed research; 402 when credits run out.
- At most 10 research requests running at once (429 beyond).
- Asynchronous: poll happenstance.research.get until status is COMPLETED, FAILED or FAILED_AMBIGUOUS.
Get a person research
Search people in your network
- Starts a billed job: it only produces data and changes nothing else in your account.
- A read over POST. 2 credits per search, charged when it completes; at most 10 searches running at once.
- Asynchronous: poll happenstance.search.get with the returned id.
Get search results
Find more results for a search
- Costs credits like a new search.