# Amazon 关键词排名 API (amazon.ranked_keywords)

- Canonical page: [https://everyinfra.com/amazon-api/ranked_keywords](https://everyinfra.com/amazon-api/ranked_keywords?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "amazon", "action": "ranked_keywords", "params": {...}}
- Price: $0.28 per call ($280 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 100 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=amazon&action=ranked_keywords

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| asin | not declared | yes | not declared | 要查的商品 ASIN，一个 10 位大写字母/数字（例如 B0C2JXSHSK），不收列表。只查美国站；不是每个商品都有关键词排名数据，没有数据时返回空结果、不扣费。 |
| limit | integer (1–100) | no | 20 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| asin | Amazon 标准识别号，站内唯一商品标识。 |
| keyword | 这个商品排得上的搜索关键词（ranked_keywords）。 |
| search_volume | 该关键词在美国站的月搜索量估计（ranked_keywords），是整个词的需求，不是这个商品的流量；0 表示量太小。 |
| search_rank | 这个商品在该词搜索结果页上的绝对名次，从 1 开始，自然结果和广告位一起数（ranked_keywords）。 |
| result_type | 这个名次是哪种结果（ranked_keywords）：organic 自然结果，sponsored 广告位。 |
| result_type_rank | 在同一种结果（organic 或 sponsored）里排第几（ranked_keywords）。 |
| search_result_count | 该关键词在美国站的搜索结果总数（ranked_keywords），可当竞争激烈程度的参考。 |
| ranked_at | 观察到这个名次的时间，ISO 8601、UTC（ranked_keywords）；不同关键词的观察时间不同，可能是几周前。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| url | 该记录在原平台上的可访问链接。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| currency | 价格币种代码（如 CNY、USD）。price 存在但 currency 为 null 时不要假定币种。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| rating_count | 参与评分的人数。null 表示不公开，不等于 0。 |
| is_amazon_choice | 是否有 Amazon's Choice 标。 |
| is_bestseller | 观察到名次时是否带 Best Seller 标（ranked_keywords）。 |
| bought_past_month | 搜索结果页上「过去一个月已购」标记的数（ranked_keywords），是平台给的估计档位（如 1000 表示 1K+），不是这个商品的准确销量。 |
| total_keywords | 这个商品总共排得上多少个关键词（ranked_keywords），或这组商品一共有多少个共同关键词（keyword_intersections）；每行相同，一次最多返回 100 个。keyword_intersections 可能不返回这一项。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 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": "ranked_keywords",
  "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": "ranked_keywords",
        "params": {
            "asin": "B0C2JXSHSK",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-07T14:47:42Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "amazon",
  "action": "ranked_keywords",
  "results": [
    {
      "asin": "B0C2JXSHSK",
      "keyword": "nike court legacy canvas women's mid-top shoes",
      "search_volume": 0,
      "search_rank": 15,
      "result_type": "sponsored",
      "result_type_rank": 1,
      "search_result_count": 55,
      "ranked_at": "2026-09-26T09:04:30+00:00",
      "title": "adidas Women's VL Court 3.0 Sneakers | Casual Shoes, Skateboarding-Inspired, Low-Cut, T-Toe, Lace Closure, Lightweight Cushioning, Standard Fit, For Everyday Wear",
      "url": "https://sponsored-ads.amazon.com/clk?p=eAFVTklOg1AATW3UBusQFpqwxMSFSeFDI9iaxnwGW8R0YFDSDWEq1FJAoFZdcAK3xmN4AuMpXLjxAJ7CxDZpfKuXN-UhcuX15ftzA92G2nVfkCXZAIKo4CWquR_RPXVWD53bxystmNgGE9Rjd6BsUaBBMAxxckqA4ZrK2RUoah1RkVT0ANl0vWySxwla1buKyPfaXWkoCpiAHC4NM_Os1AnMxEudOLRyzxxH4TjyTDsfoYg1t…",
      "image_url": "https://m.media-amazon.com/images/I/715DFJx0+qL._AC_UL640_QL65_.jpg",
      "price": 59.99,
      "currency": "USD",
      "rating": 4,
      "rating_count": 10000,
      "is_amazon_choice": false,
      "is_bestseller": false,
      "bought_past_month": 1000,
      "total_keywords": 5334,
      "platform": "amazon",
      "rating_scale": 5
    },
    {
      "asin": "B0C2JXSHSK",
      "keyword": "superearth adidas women",
      "search_volume": 0,
      "search_rank": 4,
      "result_type": "sponsored",
      "result_type_rank": 1,
      "search_result_count": 53,
      "ranked_at": "2026-09-12T10:30:05+00:00",
      "title": "adidas Women's VL Court 3.0 Sneakers | Casual Shoes, Skateboarding-Inspired, Low-Cut, T-Toe, Lace Closure, Lightweight Cushioning, Standard Fit, For Everyday Wear",
      "url": "https://www.amazon.com/adidas-Womens-Court-Sneaker-White/dp/B0C2JXSHSK/ref=sxin_15_sbv_search_btf",
      "image_url": "https://m.media-amazon.com/images/I/715DFJx0+qL._AC_UL640_QL65_.jpg",
      "price": 75,
      "currency": "USD",
      "rating": 4,
      "rating_count": 9900,
      "is_amazon_choice": false,
      "is_bestseller": false,
      "bought_past_month": 1000,
      "total_keywords": 5334,
      "platform": "amazon",
      "rating_scale": 5
    }
  ],
  "count": 20,
  "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
