curl --request POST \
--url https://api.village.do/v1/people/search \
--header 'Content-Type: application/json' \
--header 'user-identifier: <user-identifier>' \
--header 'x-access-token: <api-key>' \
--data '
{
"prompt": "software engineers in silicon valley",
"limit": 25,
"high_reasoning": false,
"network_filters": {
"connection_degrees": [
1,
2
],
"exclude_teams": true,
"user_to_introducer_types": [
"linkedin_contact",
"worked_together"
],
"user_to_introducer_min_score": "good",
"introducer_to_target_types": [
"linkedin_contact"
],
"introducer_to_target_min_score": "good"
}
}
'{
"success": true,
"data": [
{
"id": "420587592",
"avatar": "https://village.sfo3.cdn.digitaloceanspaces.com/l-castilhos-anderson.jpg",
"first_name": "Anderson",
"last_name": "Castilhos",
"full_name": "Anderson Castilhos",
"title": "Senior Software Engineer",
"linkedin_identifier": "castilhos-anderson",
"linkedin_url": "https://linkedin.com/in/castilhos-anderson",
"location": "Porto Alegre, Rio Grande Do Sul, Brazil",
"village_person_url": "https://rafael-village-tunnel.village.do/people/profile/5KvSxBQ%252B%252FbUGKWrxxnr%252Fnw%253D%253D!vNnNM",
"relationship": {
"paths": {
"count": 1,
"avatars": [
"https://village.sfo3.cdn.digitaloceanspaces.com/l-rafaelmuttoni.jpg"
]
},
"score": 17.4
},
"relevant_work": {
"position": "Senior Software Engineer",
"start_date": null,
"end_date": null,
"company": {
"name": "PayPal",
"employee_size": null,
"domain_name": null,
"image_url": "",
"linkedin_url": null,
"website": ""
}
}
}
],
"pagination": {
"cursor": "eyJzb3VyY2UiOiJuZXR3b3JrIiwiY2h1bmtTa2lwIjowLCJyZXN1bHRzU2tpcCI6MTAwfQ",
"hasNextPage": true,
"count": 25
},
"metadata": {
"resultSource": "network",
"networkStageComplete": false
}
}Search for people using natural language queries. The AI processes your query semantically to find relevant individuals in your relationship network and returns results with connection paths and relationship strength data.
curl --request POST \
--url https://api.village.do/v1/people/search \
--header 'Content-Type: application/json' \
--header 'user-identifier: <user-identifier>' \
--header 'x-access-token: <api-key>' \
--data '
{
"prompt": "software engineers in silicon valley",
"limit": 25,
"high_reasoning": false,
"network_filters": {
"connection_degrees": [
1,
2
],
"exclude_teams": true,
"user_to_introducer_types": [
"linkedin_contact",
"worked_together"
],
"user_to_introducer_min_score": "good",
"introducer_to_target_types": [
"linkedin_contact"
],
"introducer_to_target_min_score": "good"
}
}
'{
"success": true,
"data": [
{
"id": "420587592",
"avatar": "https://village.sfo3.cdn.digitaloceanspaces.com/l-castilhos-anderson.jpg",
"first_name": "Anderson",
"last_name": "Castilhos",
"full_name": "Anderson Castilhos",
"title": "Senior Software Engineer",
"linkedin_identifier": "castilhos-anderson",
"linkedin_url": "https://linkedin.com/in/castilhos-anderson",
"location": "Porto Alegre, Rio Grande Do Sul, Brazil",
"village_person_url": "https://rafael-village-tunnel.village.do/people/profile/5KvSxBQ%252B%252FbUGKWrxxnr%252Fnw%253D%253D!vNnNM",
"relationship": {
"paths": {
"count": 1,
"avatars": [
"https://village.sfo3.cdn.digitaloceanspaces.com/l-rafaelmuttoni.jpg"
]
},
"score": 17.4
},
"relevant_work": {
"position": "Senior Software Engineer",
"start_date": null,
"end_date": null,
"company": {
"name": "PayPal",
"employee_size": null,
"domain_name": null,
"image_url": "",
"linkedin_url": null,
"website": ""
}
}
}
],
"pagination": {
"cursor": "eyJzb3VyY2UiOiJuZXR3b3JrIiwiY2h1bmtTa2lwIjowLCJyZXN1bHRzU2tpcCI6MTAwfQ",
"hasNextPage": true,
"count": 25
},
"metadata": {
"resultSource": "network",
"networkStageComplete": false
}
}JWT token obtained from /users/authorization endpoint
Specify the user making the request. This identifier should match the one you used when integrating the user with Village. Not needed when using user token authentication.
Natural language search query
"software engineers in silicon valley"
Number of results per page
x <= 100Cursor for pagination (returned from previous requests)
Enable high reasoning mode for complex queries
Advanced filters to refine people search results based on relationship connections and network paths. Only applicable to people search - ignored for company search.
Show child attributes
Filter by connection distance: 1st degree (direct connections), 2nd degree (friends of friends), 3rd degree (extended network requiring team introductions)
1 <= x <= 3[1, 2]Only include results that can be reached through specific people (by their LinkedIn identifiers). Useful for finding connections through particular individuals.
1["john-doe-123", "jane-smith-456"]Exclude results from your team members. Useful when searching for external connections.
Exclude results from community members. Useful when searching for connections outside your communities.
Types of connections between you and the introducer: 'worked_together' (professional colleagues), 'linkedin_contact' (LinkedIn connections), 'has_contact_info' (have contact details), 'had_meetings' (have met in person)
1worked_together, linkedin_contact, has_contact_info, had_meetings ["linkedin_contact", "worked_together"]Minimum relationship strength between you and the introducer. Higher scores indicate stronger, more trustworthy connections.
excellent, very_good, good, okay, maybe, no_path "good"
Types of connections between the introducer and target person: 'worked_together' (professional colleagues), 'linkedin_contact' (LinkedIn connections), 'has_contact_info' (have contact details), 'had_meetings' (have met in person)
1worked_together, linkedin_contact, has_contact_info, had_meetings ["linkedin_contact", "worked_together"]Minimum relationship strength between the introducer and target person. Higher scores indicate stronger, more trustworthy introduction paths.
excellent, very_good, good, okay, maybe, no_path "good"
Successfully processed AI search query
Indicates if the request was successful
true
Array of people search results
Show child attributes
Unique identifier for the person
URL to person's avatar image
Person's first name
Person's last name
Person's full name
Person's job title
LinkedIn identifier
LinkedIn profile URL
Person's location
Village profile URL
Most relevant work experience
Show child attributes
Job position
Start date
End date
Show child attributes
Company name
Employee count
Company domain
Company logo URL
Company LinkedIn URL
Company website
Was this page helpful?