get/api/v1/search/companies
Search companies worldwide
Companies in any country by name, website or what they offer, optionally in one country or city, and narrowed by what their own website says they do. Give at least one of q, country or city. Returns each company's id, name and country; read the rest with the company and people routes.
Parameters
qquery, string- A company name, part of one, or a website domain.
countryquery, string- Two-letter ISO country code, for example AE or SA.
cityquery, string- A city name.
served_industryquery, string- Only companies whose own website says they serve this industry (
|for several). business_modelquery, string- Only companies that work as this, from their website (
|for several). sells_toquery, string- Only companies that sell to this segment, from their website (
|for several). certificationquery, string- Only companies that name this certification on their website.
limitquery, integer- Up to 20; 10 when left out.
Answer
resultsarray of CompanyHit
Errors
- 400 Nothing to search for (bad_filter).
- 401 No key, or a key that isn't valid or was revoked (missing_key, invalid_key).
- 403 The workspace's plan doesn't include the API (plan_without_api); test keys work on every plan.
- 429 A limit was reached: requests a minute per key (rate_limited) or the plan's requests a day (daily_limit), or for reveals the key's daily reveal credits (key_reveal_limit), or for bulk enrichment the jobs at once (jobs_busy). Wait the Retry-After seconds.
Request
curl "https://datainside.ai/api/v1/search/companies?q=acme&country=AE" \ -H "Authorization: Bearer di_test_your_key"
Answer with a test key
{
"results": [
{
"country": "AE",
"id": "0195f3a0-0000-7000-8000-00000000a001",
"name": "Acme Gulf Trading LLC"
}
]
}