Skip to main content

Overview

The Preview Search API supports our Person Search API by providing a preview of which fields have data in each record matching a search query.

Request Format

The endpoint for the Preview Search API is https://api.peopledatalabs.com/v5/person/search.
Creating an API Key for Preview SearchThe Preview Search API uses the same endpoint as the Person Search API. Your API Key will determine whether you use the Person Search or Preview Search API.To create an API Key that supports the Person Search Preview API, speak with your data consultant.
See Input Parameters - Person Search API for details on the supported parameters. All valid input parameters for the Person Search API will work the same way for the Preview Search API.

Example

Response Format

The Preview Search API is a wrapper on the Person Search API, meaning it returns all of the same fields as the Person Search API, but with true / false values instead (true meaning we have a value for that field and false meaning we do not have a value for it). Any nested objects will not be included in the Preview Search response. For example, if a record has data for the education field, the response will have "education": true, but will not list any of the subfields (such as education.major). To help users know which record they’re looking at, the following fields will have the actual data if it exists for the record: id, full_name, sex, linkedin_url, industry, job_title, job_title_levels, job_company_name, job_company_website, location_name. All other fields will have true/false values as described above. The output is formatted as such:

Full Example Response

JSON

Field Availability

The Preview Search API will only return the fields shown in the example response above. Even if you have purchased additional fields or bundles for Person Search, those fields will not show in the Preview Search response.

Errors

If the request encounters an error, it will instead return an Error Response in the format described in Errors.

Access & Billing

The Preview Search API is available for purchase by enterprise API customers. If you’d like access, please reach out to us. The Preview Search API uses its own set of credits. To add Preview Search credits to your Preview Search API Key, speak with your data consultant.