Our own visit statistics are always on. Google Analytics, which helps us understand how people use our public pages (not your signed-in workspace), is enabled only with your permission. See our Privacy policy.

Amazon Ranked keywords API

POST

API health

24h health
Normal
24h average time
—
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

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

NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesamazonPlatform identifier, fixed value.
actionbodystringYesranked_keywordsCapability identifier, fixed value.
asinbody.paramsstringYes-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.
limitbody.paramsinteger (1–100)No20The 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

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"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

Field preview

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.

json
{
  "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.

FieldMeaning
asinAmazon Standard Identification Number, the product's unique ID within a store.
keywordA search keyword the product ranks for (ranked_keywords).
search_volumeEstimated 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_rankThe product's position on that keyword's results page, counted from 1 across organic and sponsored results (ranked_keywords).
result_typeWhich kind of result the position is (ranked_keywords): organic or sponsored.
result_type_rankPosition among results of the same kind, organic or sponsored (ranked_keywords).
search_result_countTotal number of Amazon US results for the keyword (ranked_keywords), a rough measure of competition.
ranked_atWhen the position was seen, ISO 8601 in UTC (ranked_keywords). It differs by keyword and can be weeks old.
titleTitle. null when the platform has no titles (for example text-only posts).
urlLink to the record on the platform.
image_urlImage link. Capabilities with several images may return an image_urls array.
pricePrice as a number without a currency symbol; see currency.
currencyCurrency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency.
ratingRating. 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_scaleMaximum 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_countNumber of people who rated. null means not disclosed, not 0.
is_amazon_choiceWhether the product carries the Amazon's Choice badge.
is_bestsellerWhether the product carried the Best Seller badge when the position was seen (ranked_keywords).
bought_past_monthThe "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_keywordsHow many keywords the product ranks for in total (ranked_keywords), the same on every row; one call returns at most 100.
platformSource 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.

Errors