# Amazon Competing products API (amazon.product_competitors)

- Canonical page: https://everyinfra.com/en/amazon-api/product_competitors
- Endpoint: POST /api/v1/social with {"platform": "amazon", "action": "product_competitors", "params": {...}}
- Price: $0.01151 per call ($11.51 per 1,000 requests); failed and empty results are not charged
- Returns: list, default 20, max 100 per call (larger values are capped)
- 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=amazon&action=product_competitors

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| asin | not declared | yes | not declared | One Amazon ASIN for `ranked_keywords` or `product_competitors`: 10 uppercase letters or digits, such as `B0C2JXSHSK`. Lists and comma-separated ASINs are rejected. Only the US marketplace (amazon.com) is covered, so an ASIN from another store returns no data. |
| limit | integer (1–100) | no | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values are accepted and capped at the maximum. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| asin | Amazon Standard Identification Number, the product's unique ID within a store. |
| url | Link to the record on the platform. |
| shared_keywords | How many search keywords both the competitor and the requested product rank for (product_competitors); rows are ordered by it, highest first. |
| avg_position | The competitor's average position on those shared keywords (product_competitors); lower is higher up. |
| shared_organic_keywords | Shared keywords on which the competitor appears as an organic result (product_competitors). |
| shared_organic_top10_keywords | Shared keywords on which the competitor's organic result is in the top 10 (product_competitors). |
| shared_organic_search_volume | Combined monthly search volume of the shared keywords where the competitor appears as an organic result (product_competitors). |
| shared_sponsored_keywords | Shared keywords on which the competitor appears as a sponsored result (product_competitors). |
| shared_sponsored_search_volume | Combined monthly search volume of the shared keywords where the competitor appears as a sponsored result (product_competitors). |
| organic_keywords | All keywords the competitor ranks for as an organic result, not only shared ones (product_competitors). |
| sponsored_keywords | All keywords the competitor ranks for as a sponsored result, not only shared ones (product_competitors). |
| target_asin | The ASIN you asked about (product_competitors), the same on every row. |
| 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": "amazon",
  "action": "product_competitors",
  "params": {
    "asin": "B0C2JXSHSK"
  }
}'
```

```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": "amazon",
        "action": "product_competitors",
        "params": {
            "asin": "B0C2JXSHSK",
        },
    },
    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": "amazon",
  "action": "product_competitors",
  "results": [
    {
      "asin": …,
      "url": …,
      "shared_keywords": …,
      "avg_position": …,
      "shared_organic_keywords": …,
      "shared_organic_top10_keywords": …,
      "shared_organic_search_volume": …,
      "shared_sponsored_keywords": …,
      "shared_sponsored_search_volume": …,
      "organic_keywords": …,
      "sponsored_keywords": …,
      "target_asin": …,
      "platform": …
    }
  ],
  "count": …,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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