Skip to main content

Getting Started

In order to use our Person Search API, you must have an active API key. You can look up your API key by logging into our self-serve dashboard and going to the API Keys section.
Need an API Key?If you don’t have an API key, you can easily create one by signing up for a self-serve account. For more information, check out our Self-Serve Quickstart Guide, which walks you through the sign-up process as well as shows you how to use the self-serve API dashboard.

Simple Example

As mentioned in the Overview, the Person Search API is a means of filtering and segmenting individual profiles included in our Person Dataset. In order to use the Person Search API, you will need to use either anElasticsearch query or an SQL query. Here’s a quick example to search for profiles whose location_country is mexico, whose job_title_role is health, and whose record includes at least one phone_numbers:
Heads Up! Credit UsagePerson Search API calls cost the number of total search results returned.If you are making a search that could have a large number of results, make sure to use the size parameter to set the maximum number of results and cap your credit usage.
The returned API response is a list of the records in our dataset that match the request query in the format:
JSON
The objects in the data array will follow the Person Schema. For a full example, see the Example Person Record.

Troubleshooting

If you don’t get this response, check out our Errors page for more information.