Search companies by industry, headcount or location
pdl.companies.searchSearch PDL companies by industry, headcount, location or tags — pays per record
- Price
- $0.1/resultAt provider cost
- Success rate
- 100%Last 30 days · 60 calls
- Latency p50
- 155 msp95 216 ms
- Last verified
- Jul 31, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/pdl.companies.search?sql=SELECT+*+FROM+company+WHERE+name%3D%27people+data+labs%27&size=1Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
exactly one of sql | query. Unlike person search, company search caps `size` at 100 on BOTH methods, and the spec does not offer scroll_token here. Rate limit 10 req/min
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
sql | string | Optional | SQL WHERE clause over the Company schema, e.g. "SELECT * FROM company WHERE industry='computer software' AND size='51-200'" | SELECT * FROM company WHERE name='people data labs' |
size | integer | Optional | records to return, 1-100, default 1 — you pay 1 credit per record | 1 |
query | string | Optional | Elasticsearch JSON query — the alternative to sql | |
pretty | boolean | Optional | ||
titlecase | boolean | Optional | ||
scroll_token | string | Optional | cursor from the previous response | |
- Query parameters
sqlstringOptionalSQL WHERE clause over the Company schema, e.g. "SELECT * FROM company WHERE industry='computer software' AND size='51-200'"
Example:
SELECT * FROM company WHERE name='people data labs'sizeintegerOptionalrecords to return, 1-100, default 1 — you pay 1 credit per record
Example:
1querystringOptionalElasticsearch JSON query — the alternative to sql
prettybooleanOptionaltitlecasebooleanOptionalscroll_tokenstringOptionalcursor from the previous response
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/pdl.companies.search?sql=SELECT+*+FROM+company+WHERE+name%3D%27people+data+labs%27&size=1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/pdl.companies.search?sql=SELECT+*+FROM+company+WHERE+name%3D%27people+data+labs%27&size=1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/pdl.companies.search?sql=SELECT+*+FROM+company+WHERE+name%3D%27people+data+labs%27&size=1", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.1/result, including the service fee.