API Key Authentication
All API requests must include your API key in theapi_key header.
Getting your API Key
- Sign up or log in at app.dataforb2b.ai
- Navigate to Settings > API Keys
- Click Generate new key
- Copy and securely store your API key
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
How to authenticate your API requests
api_key header.
api_key: YOUR_api_key
curl -X POST https://api.dataforb2b.ai/search/people \
-H "api_key: dfb2b_abc123..." \
-H "Content-Type: application/json" \
-d '{"filters": {"op": "and", "conditions": [{"column": "current_title", "type": "like", "value": "Engineer"}]}, "count": 10}'
import requests
headers = {
"api_key": "dfb2b_abc123...",
"Content-Type": "application/json"
}
response = requests.post(
"https://api.dataforb2b.ai/search/people",
headers=headers,
json={"filters": {"op": "and", "conditions": [{"column": "current_title", "type": "like", "value": "Engineer"}]}, "count": 10}
)
const headers = {
'api_key': 'dfb2b_abc123...',
'Content-Type': 'application/json'
};
const response = await fetch('https://api.dataforb2b.ai/search/people', {
method: 'POST',
headers,
body: JSON.stringify({"filters": {"op": "and", "conditions": [{"column": "current_title", "type": "like", "value": "Engineer"}]}, "count": 10})
});
| Status Code | Error | Description |
|---|---|---|
| 401 | Missing API key / Invalid API key | Missing or invalid API key |
| 403 | Forbidden | API key doesn’t have permission for this resource |
