1. Get your API Key
Sign up at app.dataforb2b.ai and retrieve your API key from the dashboard.2. Make your first request
curl -X POST https://api.dataforb2b.ai/search/people \
-H "api_key: YOUR_api_key" \
-H "Content-Type: application/json" \
-d '{
"filters": {
"op": "and",
"conditions": [
{"column": "current_title", "type": "like", "value": "Engineer"}
]
},
"count": 5
}'
import requests
response = requests.post(
"https://api.dataforb2b.ai/search/people",
headers={
"api_key": "YOUR_api_key",
"Content-Type": "application/json"
},
json={
"filters": {
"op": "and",
"conditions": [
{"column": "current_title", "type": "like", "value": "Engineer"}
]
},
"count": 5
}
)
print(response.json())
const response = await fetch('https://api.dataforb2b.ai/search/people', {
method: 'POST',
headers: {
'api_key': 'YOUR_api_key',
'Content-Type': 'application/json'
},
body: JSON.stringify({
filters: {
op: 'and',
conditions: [
{ column: 'current_title', type: 'like', value: 'Engineer' }
]
},
count: 5
})
});
const data = await response.json();
console.log(data);
3. Explore the response
{
"total": 10000,
"total_is_capped": true,
"offset": 0,
"count": 5,
"has_next_page": true,
"credits_used": 3.75,
"results": [
{
"id": "prof_PVURNGJihYludzaOwFCAwNajijSHFi6H0L9R",
"first_name": "John",
"last_name": "Doe",
"headline": "Senior Software Engineer at Google",
"location": "San Francisco Bay Area",
"country": "US",
"links": {"linkedin": "https://www.linkedin.com/in/john-doe", "twitter": null, "github": null},
"experience": [
{
"company": {"id": "org_0lox54iG5IEZSb71mZWLR8z9CVPuIFEZMZre", "name": "Google"},
"title": "Senior Software Engineer",
"start_date": "2021-09",
"end_date": null,
"is_current": true
}
],
"education": [],
"skills": ["Python", "Go"],
"metrics": {"followers": 5420, "skills_count": 2}
}
]
}
Next steps
Search People
Learn about all available filters and options
Authentication
Understand how authentication works

