# Company Data Search API (company_data.search)

- Canonical page: https://everyinfra.com/en/company-data-api/search
- Endpoint: POST /api/v1/social with {"platform": "company_data", "action": "search", "params": {...}}
- Price: $0.003194 per call ($3.19 per 1,000 requests); failed and empty results are not charged
- Returns: list, default 10, max 10 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=company_data&action=search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | `search`: a one-sentence description of the companies to find, up to 500 characters, such as `payment infrastructure companies in Ireland`. `brand_search`: a brand name, domain or the first letters of either, up to 100 characters, such as `notion` or `nik`. |
| country | not declared | no | not declared | Only companies headquartered in this country, as a two-letter code such as US, GB or IE (`search`). |
| employees_max | integer | no | not declared | Maximum headcount for `search`. |
| employees_min | integer | no | not declared | Minimum headcount for `search`; companies whose headcount range overlaps count. |
| limit | integer (1–10) | no | 10 | The most rows to return in this call, an integer from 1 to 10. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| name | Company or brand name, as the dataset writes it (enrich names are often lower case). |
| domain | The company's main domain, such as stripe.com. |
| description | What the company does; for peers, how this company competes with the one you asked about. |
| organization_type | Organization type (search), such as privately_held or public_company. |
| operating_status | Operating status (search), such as active. |
| industries | Industries (search). |
| founded_year | Year founded (search). |
| hq_country_code | Headquarters country, two-letter code (search). |
| hq_region | Headquarters state or region (search). |
| hq_city | Headquarters city (search). |
| hq_street_address | Headquarters street address (search). |
| hq_postal_code | Headquarters postal code (search). |
| employee_count | Headcount (search); absent when only a range is known. |
| employees_min | Lower bound of the headcount range (search). |
| employees_max | Upper bound of the headcount range (search). |
| revenue_min_usd | Lower bound of the annual revenue estimate, US dollars (search). |
| revenue_max_usd | Upper bound of the annual revenue estimate, US dollars (search). |
| funding_total_usd | Total funding raised, US dollars (search); absent without funding records. |
| funding_round_count | Number of funding rounds (search). |
| funding_stage | Funding stage (search), such as seed, series_a or no_funding_yet. |
| latest_round | Most recent funding round (search): type, date and amount_usd. |
| funding_rounds | All funding rounds (search), each with type, date and amount_usd. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "company_data",
  "action": "search",
  "params": {
    "keyword": "payment infrastructure companies in Ireland"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "company_data",
        "action": "search",
        "params": {
            "keyword": "payment infrastructure companies in Ireland",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "company_data",
  "action": "search",
  "results": [
    {
      "name": …,
      "domain": …,
      "description": …,
      "organization_type": …,
      "operating_status": …,
      "industries": …,
      "founded_year": …,
      "hq_country_code": …,
      "hq_region": …,
      "hq_city": …,
      "hq_street_address": …,
      "hq_postal_code": …,
      "employee_count": …,
      "employees_min": …,
      "employees_max": …,
      "revenue_min_usd": …,
      "revenue_max_usd": …,
      "funding_total_usd": …,
      "funding_round_count": …,
      "funding_stage": …,
      "latest_round": …,
      "funding_rounds": …,
      "platform": …
    }
  ],
  "count": …,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=company_data
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
