Find a person using a first name and last name. Optionally, add a middle name, city, state, or email address to filter further.
OK - A successful Name Search returns an array of people.
object | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
object | |||||||||||||||||||||||||||||||
position_token | string 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. |
Not Found
curl --header "X-api-key: [YOUR API KEY]" \ -X GET 'https://api.spokeo.com/v4/names?first_name=john&last_name=smith&state=california'
{- "data": {
- "people": [
- {
- "id": 1234567890,
- "first_name": "John",
- "last_name": "Doe",
- "middle_name": "U",
- "full_name": "John U Doe",
- "age": 30,
- "phones": [
- {
- "phone": 5551234567,
- "chronology_rank": 1
}
], - "emails": [
- {
- "email": "username@email.com",
- "chronology_rank": 1
}
], - "addresses": [
- {
- "city": "Anytown",
- "state": "CA",
- "street_address": "123 Main St",
- "postal_code": 11111,
- "latitude": 40.689247,
- "longitude": -74.0451471
}
], - "relatives": [
- "Jane Doe"
], - "aliases": [
- "John K Doe"
], - "address_count": 10,
- "is_deceased": false
}
]
}, - "metadata": {
- "total_people_count": 200
}, - "position_token": null
}