curl --request POST \
--url https://api.brightdata.com/search/people \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"source": "linkedin_people",
"mode": "ludicrous",
"query": {
"and": [
{
"text": {
"all_text": {
"value": "product manager",
"mode": "all"
}
}
},
{
"equals": {
"country_code": "US"
}
},
{
"range": {
"followers": {
">=": 1000
}
}
}
]
},
"offset": 0,
"limit": 10,
"view": {
"fields": [
"name",
"current_title",
"current_company_name",
"location",
"followers",
"url"
]
}
}
'{
"req_id": "example_request_id",
"source": "linkedin_people",
"meta": {
"matched": 18,
"coverage_percent": 100,
"offset": 0,
"limit": 10
},
"documents": [
{
"bright_id": "example-profile-id",
"data": {
"name": "Example Person",
"current_title": "Senior Product Manager",
"current_company_name": "Example Software Company",
"location": "Austin, Texas",
"followers": 3200
}
}
]
}{
"error": "view: unknown field(s): not_a_released_field"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "Too many search requests, try again shortly"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}Business Search API: search people
Search profiles with the Business Search API. The endpoint queries linkedin_people in 3 modes and returns up to 100 records per page.
curl --request POST \
--url https://api.brightdata.com/search/people \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"source": "linkedin_people",
"mode": "ludicrous",
"query": {
"and": [
{
"text": {
"all_text": {
"value": "product manager",
"mode": "all"
}
}
},
{
"equals": {
"country_code": "US"
}
},
{
"range": {
"followers": {
">=": 1000
}
}
}
]
},
"offset": 0,
"limit": 10,
"view": {
"fields": [
"name",
"current_title",
"current_company_name",
"location",
"followers",
"url"
]
}
}
'{
"req_id": "example_request_id",
"source": "linkedin_people",
"meta": {
"matched": 18,
"coverage_percent": 100,
"offset": 0,
"limit": 10
},
"documents": [
{
"bright_id": "example-profile-id",
"data": {
"name": "Example Person",
"current_title": "Senior Product Manager",
"current_company_name": "Example Software Company",
"location": "Austin, Texas",
"followers": 3200
}
}
]
}{
"error": "view: unknown field(s): not_a_released_field"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "Too many search requests, try again shortly"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}{
"error": "view: unknown field(s): not_a_released_field",
"error_code": "invalid_query"
}POST /search/people returns professional profile records that match your conditions.
Related: People search for worked examples and people field guidance, Business Search query syntax for the structured query operators and Business Search field views for the fields each view value returns.Authorizations
Your Bright Data API key, sent as Authorization: Bearer YOUR_API_KEY. Create one in the Bright Data Control Panel. See Authentication.
Body
How the query is interpreted. ludicrous takes a structured JSON object. instant and smart take a natural-language string.
ludicrous, instant, smart "instant"
A structured object for ludicrous, or a string for instant and smart. Changing mode between ludicrous and a natural-language mode also changes the type of this property.
"US software companies with 50 to 500 employees"
The dataset to search within the category. Defaults to the category's default source: linkedin_company for /search/company and linkedin_people for /search/people.
"linkedin_company"
Which stored fields appear in each result's data object. Accepts id_only, summary, full, or an object with a fields array. Defaults to id_only, which returns identifiers rather than descriptive fields. view does not change the search conditions. Each view's fields are listed in Business Search field views.
id_only, summary, full How many results to skip. Minimum 0. Ludicrous accepts values up to 10,000. In Instant and Smart, offset plus limit cannot exceed 100.
x >= 00
The requested maximum number of results in this page. Minimum 0, default 10. The maximum depends on the mode: 100 for ludicrous, 100 for instant and 10 for smart. The returned documents array can be shorter than the value you send.
x >= 010
Response
The search ran. documents can be empty when nothing matched.
Was this page helpful?