# Trustpilot Details API (trustpilot.profile)

- Canonical page: https://everyinfra.com/en/trustpilot-api/profile
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "trustpilot", "action": "profile", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls 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=trustpilot&action=profile

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| company | not declared | yes | not declared | Target company website domain (such as `example.com`) or full Trustpilot `/review/` URL. It does not accept localized business names. In `profile`, it aggregates company profiles and ratings from linked reviews, while `reviews` fetches individual review records. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| name | Name of the object itself, for account, product and business capabilities. |
| domain | platform-native meaning |
| url | Link to the record on the platform. |
| trust_score | platform-native meaning |
| rating | Rating. **The scale varies by platform**: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
| rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
| review_count | Number of reviews, for product and business capabilities. null means not disclosed, not 0. |
| categories | platform-native meaning |
| 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": "trustpilot",
  "action": "profile",
  "params": {
    "company": "example.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": "trustpilot",
        "action": "profile",
        "params": {
            "company": "example.com",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "trustpilot",
  "action": "profile",
  "results": {
    "name": "Stealth",
    "domain": "www.example.com",
    "url": "https://www.trustpilot.com/review/www.example.com",
    "trust_score": 3.6,
    "rating": 3.5,
    "review_count": 24,
    "categories": [
      "Electronics & Technology"
    ],
    "platform": "trustpilot",
    "rating_scale": 5
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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