Business Contact Organization Filter API
Retrieve organization filter options for people search.
ENDPOINTS
POST /api/v1/businessContact/org
Request parameters
query
string
Keyword to filter organizations by name.
- Required:
No - Example:
Google
Request Example
{
"query": "Google"
}
curl https://api.tradedata.io/api/v1/businessContact/org \
-H "Authorization: Bearer yourTokenHere" \
-H "Content-Type: application/json" \
-d '{"query": "Google"}'
import requests
response = requests.post(
"https://api.tradedata.io/api/v1/businessContact/org",
headers={
"Authorization": "Bearer yourTokenHere",
"Content-Type": "application/json",
},
json={
"query": "Google",
},
)
print(response.json())
const response = await fetch("https://api.tradedata.io/api/v1/businessContact/org", {
method: "POST",
headers: {
"Authorization": "Bearer yourTokenHere",
"Content-Type": "application/json",
},
body: JSON.stringify({
"query": "Google"
}),
});
const data = await response.json();
<?php
$ch = curl_init("https://api.tradedata.io/api/v1/businessContact/org");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => [
"Authorization: Bearer yourTokenHere",
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => json_encode([
"query" => "Google"
]),
]);
echo curl_exec($ch);
Response parameters
data.id
string
Organization ID. Use as orgIds.
- Example:
5b1b2c3d4e5f000000000005
data.name
string
Organization name.
- Example:
Google
data.domain
string
Primary domain.
- Example:
google.com
data.website
string
Website URL.
- Example:
http://www.google.com
data.logo
string
Logo image URL.
- Example:
https://example.com/logo.png
Response Example
{
"code": 200,
"success": true,
"data": [
{
"website": "http://www.google.com",
"domain": "google.com",
"name": "Google",
"logo": "https://example.com/logo.png",
"id": "5b1b2c3d4e5f000000000005"
}
],
"msg": "success",
"total": 0,
"pageSize": 0,
"current": 0,
"sumResult": null
}