New: pagination on person search, fuzzy matching, and more. See what's changed →
Whitepages Pro API

Search for Person by Partial Name

Search for people using partial or incomplete name information

When you only have partial name information, use the individual name parameters (first_name, middle_name, last_name) to search more precisely than using the combined name parameter.

Use individual name parameters when:

  • You only know a person's first or last name
  • You need to search across variations of a name
  • You want more control over which parts of a name to match

Search by Last Name Only

Find all people with a specific last name in a location:

Request
curl 'https://api.whitepages.com/v2/person?last_name=Smith&city=Seattle&state_code=WA' \
  --header 'X-Api-Key: YOUR_API_KEY'

Search by First and Last Name

When you know both first and last name but want to match regardless of middle name:

Request
curl 'https://api.whitepages.com/v2/person?first_name=John&last_name=Smith&state_code=NY' \
  --header 'X-Api-Key: YOUR_API_KEY'

Include Middle Name for Precision

For more precise matching when you have complete name information:

Request
curl 'https://api.whitepages.com/v2/person?first_name=John&middle_name=Robert&last_name=Smith&zipcode=10001' \
  --header 'X-Api-Key: YOUR_API_KEY'

Combining with Location Parameters

For best results, always include at least one location parameter:

CombinationUse Case
last_name + state_codeBroad search within a state
last_name + city + state_codeCity-level search
first_name + last_name + zipcodePrecise local search

Name Parameter vs Individual Parameters

ParameterBehavior
nameMatches against the full name field, flexible ordering
first_name + last_nameMatches each field specifically, more precise

Use name for convenience when you have a full name string. Use individual parameters when you need precise control or only have partial information.

Related

On this page