Amazon Ranked keywords API
API health
- 24h health
- Normal
- 24h average time
- —
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
List the Amazon US search keywords one product ranks for, by asin. Each keyword has monthly search volume, the product's position on that results page, whether the spot is organic or sponsored, and the price, rating and badges seen there. US marketplace only, up to 100 keywords per call. Not every ASIN has ranked-keyword data; an ASIN with none returns an empty result and is not charged.
Price $280 per 1,000 requests ($0.28 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.
Please help me write a data collection script with the EveryInfra Amazon Ranked keywords endpoint (amazon/ranked_keywords).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to amazon and action to ranked_keywords, and put the parameters inside params.
- Required parameters:
- asin: One Amazon ASIN for ranked_keywords: 10 uppercase letters or digits, such as B0C2JXSHSK. Lists and comma-separated ASINs are rejected.
- Optional parameters:
- limit: 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 return 422 before any charge. (default: 20)
- Returns a list of records. Main fields of each record: asin (Amazon Standard Identification Number,…), keyword (A search keyword the product ranks for…), search_volume (Estimated monthly searches for the keyw…), search_rank (The product's position on that keyword'…), result_type (Which kind of result the position is (r…), result_type_rank (Position among results of the same kind…), search_result_count (Total number of Amazon US results for t…), ranked_at (When the position was seen, ISO 8601 in…), title, url, image_url, price; 20 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=amazon.
- Example request body:
{
"platform": "amazon",
"action": "ranked_keywords",
"params": {
"asin": "B0C2JXSHSK"
}
}
- Price: $280 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | amazon | Platform identifier, fixed value. |
action | body | string | Yes | ranked_keywords | Capability identifier, fixed value. |
asin | body.params | string | Yes | - | One Amazon ASIN for ranked_keywords: 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 | body.params | 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 return 422 before any charge. |
Code samples
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"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
{
"id": "req_…",
"platform": "amazon",
"action": "ranked_keywords",
"results": [
{
"asin": …,
"keyword": …,
"search_volume": …,
"search_rank": …,
"result_type": …,
"result_type_rank": …,
"search_result_count": …,
"ranked_at": …,
"title": …,
"url": …,
"image_url": …,
"price": …,
"currency": …,
"rating": …,
"rating_scale": …,
"rating_count": …,
"is_amazon_choice": …,
"is_bestseller": …,
"bought_past_month": …,
"total_keywords": …,
"platform": …
}
],
"count": …,
"billing": {
"charged": …,
"charged_usd": …,
"balance_after_usd": …,
…
},
"quota": { … }
}Response fields
Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
asin | Amazon Standard Identification Number, the product's unique ID within a store. |
keyword | A search keyword the product ranks for (ranked_keywords). |
search_volume | Estimated monthly searches for the keyword on Amazon US (ranked_keywords). It is demand for the whole keyword, not traffic to this product; 0 means too small to measure. |
search_rank | The product's position on that keyword's results page, counted from 1 across organic and sponsored results (ranked_keywords). |
result_type | Which kind of result the position is (ranked_keywords): organic or sponsored. |
result_type_rank | Position among results of the same kind, organic or sponsored (ranked_keywords). |
search_result_count | Total number of Amazon US results for the keyword (ranked_keywords), a rough measure of competition. |
ranked_at | When the position was seen, ISO 8601 in UTC (ranked_keywords). It differs by keyword and can be weeks old. |
title | Title. null when the platform has no titles (for example text-only posts). |
url | Link to the record on the platform. |
image_url | Image link. Capabilities with several images may return an image_urls array. |
price | Price as a number without a currency symbol; see currency. |
currency | Currency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency. |
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. |
rating_count | Number of people who rated. null means not disclosed, not 0. |
is_amazon_choice | Whether the product carries the Amazon's Choice badge. |
is_bestseller | Whether the product carried the Best Seller badge when the position was seen (ranked_keywords). |
bought_past_month | The "bought in past month" figure shown on the results page (ranked_keywords), a platform estimate band such as 1000 for 1K+, not an exact sales count. |
total_keywords | How many keywords the product ranks for in total (ranked_keywords), the same on every row; one call returns at most 100. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.