Download OpenAPI description
Overview
Languages
Servers
https://api.spokeo.com/v5/

Search for a Person by Name

Request

Supported Query Combinations

Queries must satisfy the following conditions:
  1. Provide at least one name:

    • first_name or
    • last_name
  2. Provide at least one of the following additional fields:

    • the other name (first_name or last_name, whichever wasn't used in the condition above)
    • middle_name
    • phone
    • email
    • street
    • city
    • state
    • relative_first_name
    • relative_last_name
    • age_min
    • age_max

Valid Examples
  • first_name + last_name
  • first_name + email
  • last_name + phone
  • first_name + state
  • first_name + city
  • first_name + relative_last_name
  • last_name + middle_name + state
  • first_name + city + distance
  • first_name + street + unit
  • first_name + age_min
  • last_name + age_max
  • first_name + age_min + age_max

Invalid Examples
  • first_name only
  • last_name only
Query
first_namestring

The first name of the person you are searching for.

Conditionally required. Either provide both first_name and last_name, or provide this field with additional identifying fields.

middle_namestring

The middle name of the person you are searching for.

last_namestring

The last name of the person you are searching for.

Conditionally required. Either provide both first_name and last_name, or provide this field with additional identifying fields.

streetstring

A street address associated with the person you are searching for.

unitstring

A unit or suite number associated with the person you are searching for. Must be paired with street.

citystring

A city associated with the person you are searching for.

statestring

A state associated with the person you are searching for.

distancenumber

Restricts results to people associated with addresses located within the specified distance (in miles) of the city provided in the city parameter. The maximum accepted value is 999. Must be paired with the city.

emailstring

An email address associated with the person you are searching for.

phonestring

A 10-digit US phone number associated with the person you are searching for.

relative_first_namestring

The first name of a relative associated with the person you are searching for.

relative_last_namestring

The last name of a relative associated with the person you are searching for.

age_mininteger

The minimum age of the searched name.

age_maxinteger

The maximum age of the searched name.

start_indexstring

The starting index from which results should be fetched. This is a 1-based index. For example, if there are 10 total results and start_index is set to 3, results from the third item (index 3) through to the tenth item (index 10) will be returned.

end_indexstring

The ending index up to which results should be fetched. This is a 1-based index. For example, if there are 10 total results and end_index is set to 7, results from the first item (index 1) through to the seventh item (index 7) will be returned.

position_tokenstring

This method facilitates continuous data retrieval in a sequenced manner. If the response has position_token set, use the token obtained from the initial Name Search response as a parameter in the search URL to access the next set of results. Each response is limited to returning a maximum of 50 results.

curl -i -X GET \
  https://api.spokeo.com/v5/names \
  -H 'X-api-key: YOUR_API_KEY_HERE'

Responses

OK - A successful Name Search returns an array of people.

Bodyapplication/json
dataobject
data.​peopleArray of objects
data.​people[].​idstring

A unique Spokeo identifier associated with the person. Input this ID into Person ID Search to retrieve person data, including contact information.

Example: 1234567890
data.​people[].​namesArray of objects

Names associated with the person.

data.​people[].​agenumber

The person’s current age or age at death.

Example: 30
data.​people[].​dob_monthnumber

The person’s dob month as a number.

Example: 12
data.​people[].​dob_yearnumber

The person’s dob year as a number.

Example: 1990
data.​people[].​is_deceasedboolean

A value of "true" signifies that the person is deceased, while "false" signifies that the person is alive.

Example: false
data.​people[].​phonesArray of objects

Phone numbers associated with the person.

data.​people[].​emailsArray of objects

Email addresses associated with the person.

data.​people[].​addressesArray of objects

Addresses associated with the person.

data.​people[].​relativesArray of objects

Relatives associated with the person.

data.​people[].​usernamesArray of strings

Usernames associated with the person.

Example: ["johndoe123"]
data.​people[].​work_historyArray of objects

Work history associated with the person.

data.​people[].​schoolsArray of objects

Schools associated with the person.

data.​people[].​phone_record_countnumber

The total number of phone records associated with the person.

Example: 5
data.​people[].​phone_record_delta_countnumber

The total change in the number of phone records associated with the person.

Example: 1
data.​people[].​email_record_countnumber

The total number of email records associated with the person.

Example: 5
data.​people[].​email_record_delta_countnumber

The total change in the number of email records associated with the person.

Example: 2
data.​people[].​address_countnumber

The total number of addresses associated with the person.

Example: 10
data.​people[].​address_record_delta_countnumber

The total change in the number of address records associated with the person.

Example: 0
data.​people[].​relative_countnumber

The total number of relatives associated with the person.

Example: 10
data.​people[].​username_countnumber

The total number of usernames associated with the person.

Example: 10
metadataobject
metadata.​total_people_countnumber

The total count in the array of people returned based on your search inputs.

Example: 200
position_tokenstring

A token indicating that there are additional results beyond those initially returned. Use the token obtained from the initial Name Search response as a parameter in the search URL to access the next set of results.

Example: "Mg=="
Response
application/json
{ "data": { "people": [ { "id": 1234567890, "names": [ { "first_name": "John", "last_name": "Doe", "middle_name": "U", "full_name": "John U Doe Jr.", "suffix": "Jr.", "name_type": "main" } ], "age": 30, "dob_month": 12, "dob_year": 1990, "is_deceased": false, "phones": [ { "phone": 5551234567, "phone_is_new": true, "phone_is_new_rank_one": true } ], "emails": [ { "email": "username@email.com", "email_is_new": true, "email_is_new_rank_one": true } ], "addresses": [ { "city": "Anytown", "state": "CA", "street_address": "123 Main St", "zip": 12345, "latitude": 40.689247, "longitude": -74.0451471, "address_is_new": true, "address_is_new_rank_one": true } ], "relatives": [ { "names": [ { "first_name": "John", "last_name": "Doe", "full_name": "John Doe" } ] } ], "usernames": [ "johndoe123" ], "work_history": [ { "company_name": "Example Corp", "title": "Software Engineer", "location": "New York, NY" } ], "schools": [ { "name": "Example University", "type": "Post-Secondary Institution", "location": "Boston, MA" } ], "phone_record_count": 5, "phone_record_delta_count": 1, "email_record_count": 5, "email_record_delta_count": 2, "address_count": 10, "address_record_delta_count": 0, "relative_count": 10, "username_count": 10 } ] }, "metadata": { "total_people_count": 200 }, "position_token": "Mg==" }