Business Contact Staff Range Filter API
Retrieve employee count range options for company search.
ENDPOINTS
POST /api/v1/businessContact/staff
Request parameters
No request body required.
curl https://api.tradedata.io/api/v1/businessContact/staff \
-H "Authorization: Bearer yourTokenHere" \
-H "Content-Type: application/json" \
-d '{}'
import requests
response = requests.post(
"https://api.tradedata.io/api/v1/businessContact/staff",
headers={
"Authorization": "Bearer yourTokenHere",
"Content-Type": "application/json",
},
json={},
)
print(response.json())
const response = await fetch("https://api.tradedata.io/api/v1/businessContact/staff", {
method: "POST",
headers: {
"Authorization": "Bearer yourTokenHere",
"Content-Type": "application/json",
},
body: JSON.stringify({}),
});
const data = await response.json();
<?php
$ch = curl_init("https://api.tradedata.io/api/v1/businessContact/staff");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer yourTokenHere",
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([]),
]);
echo curl_exec($ch);
Response parameters
data.displayName
string
Human-readable label for the range.
- Example:
1-10
data.value
string
Range value to use as employeesRanges in company/page.
- Example:
1,10
Response Example
{
"code": 200,
"success": true,
"data": [
{"displayName": "1-10", "value": "1,10"},
{"displayName": "11-20", "value": "11,20"},
{"displayName": "21-50", "value": "21,50"},
{"displayName": "51-100", "value": "51,100"},
{"displayName": "101-200", "value": "101,200"},
{"displayName": "201-500", "value": "201,500"},
{"displayName": "501-1000", "value": "501,1000"},
{"displayName": "1001-2000", "value": "1001,2000"},
{"displayName": "2001-5000", "value": "2001,5000"},
{"displayName": "5001-10000", "value": "5001,10000"},
{"displayName": "10001+", "value": "10001"}
],
"msg": "success",
"total": 0,
"pageSize": 0,
"current": 0,
"sumResult": null
}