# Company Data Company profile API (company_data.enrich)

- Canonical page: https://everyinfra.com/en/company-data-api/enrich
- Endpoint: POST /api/v1/social with {"platform": "company_data", "action": "enrich", "params": {...}}
- Price: $0.0104 per call ($10.4 per 1,000 requests); failed and empty results are not charged
- Returns: single object
- 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=enrich

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| domain | not declared | yes | not declared | A company domain or website link, such as `stripe.com` or `https://www.notion.com/`; the scheme, `www.` and any path are removed. Anything that is not a domain is rejected 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. |
| headline | The company's one-line tagline (enrich). |
| description | What the company does; for peers, how this company competes with the one you asked about. |
| industry | Industry (enrich). |
| company_type | Company type (enrich), such as private or public. |
| size | Headcount range (enrich), such as 5001-10000. |
| founded | Year founded (enrich). |
| linkedin_url | The company's LinkedIn page (enrich). |
| socials | The company's social accounts (enrich), each with network (such as x, facebook or crunchbase) and url. |
| locations | Office locations (enrich), each with street_address, city, state, country, country_code, postal_code and primary (true for headquarters). |
| match_confidence | How well the company matched the domain you gave (enrich): high, moderate or low. |
| 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": "enrich",
  "params": {
    "domain": "stripe.com"
  }
}'
```

```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": "enrich",
        "params": {
            "domain": "stripe.com",
        },
    },
    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": "enrich",
  "results": {
    "name": …,
    "domain": …,
    "headline": …,
    "description": …,
    "industry": …,
    "company_type": …,
    "size": …,
    "founded": …,
    "linkedin_url": …,
    "socials": …,
    "locations": …,
    "match_confidence": …,
    "platform": …
  },
  "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
