Skip to main content

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": 1542300,
  "offset": 0,
  "count": 5,
  "results": [
    {
      "first_name": "John",
      "last_name": "Doe",
      "headline": "Senior Software Engineer at Google",
      "current_company": "Google",
      "current_title": "Senior Software Engineer",
      "follower_count": 5420
    }
  ]
}

Next steps

Search People

Learn about all available filters and options

Authentication

Understand how authentication works