Amazon Search API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Search a chosen Amazon marketplace by keyword. Get each product's ASIN, brand, price and list price, rating count, stock status and seller. Set the store with domain, such as amazon.co.uk, and read prices within it. lang alone does not change the country.
Send POST https://api.everyinfra.com/api/v1/social with platform set to amazon and action set to search. Price $2.24 per 1,000 requests ($0.002236 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.
Amazon Search finds products by keyword and returns each one's ASIN, title, brand, price and list price, rating and rating count, stock status, category, image, seller and whether it carries the Amazon's Choice badge. Use it to see what products a keyword brings up, at what prices and with what ratings: cross-border product research, scanning competitor prices, or reading the market behind a keyword.
Choose the country store with domain, such as amazon.co.uk, and the page language with lang; Simplified and Traditional Chinese are zhcn and zhtw. Choosing a language does not switch stores. Build product links from asin and pass them to the Amazon Details or Reviews capability to go deeper, and keep in mind that a rating backed by a small rating_count says little.
AI prompt
#Please help me write a data collection script with the EveryInfra Amazon Search endpoint (amazon/search).
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 search, and put the parameters inside params.
- Required parameters:
- keyword: Specifies the primary search string according to the requested Amazon action. In search, pass the product search terms.
- Optional parameters:
- domain: Specifies the Amazon country domain without a scheme or path, such as amazon.com, amazon.co.uk, or amazon.co.jp. It defaults to amazon.com, and the search action uses it to build that store's search URLs.
- fast: Fast mode for search. JSON boolean, default false; the string "true" is rejected. Pass true when you only need title, price, rating and link.
- lang: Specifies the page language for supported Amazon endpoints using valid codes such as en or ja. Use zhcn for Simplified Chinese and zhtw for Traditional Chinese instead of a generic zh code. (allowed: ar / bn / cs / da / de / en / es / fr)
- limit: The most rows to return in this call, an integer from 1 to 50. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 10)
- Returns a list of records. Main fields of each record: asin (Amazon Standard Identification Number,…), title, url, brand (Brand), price, list_price (List (strike-through) price), currency, rating, rating_scale, rating_count, in_stock (Whether the product is in stock), category; 19 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=amazon.
- Example request body:
{
"platform": "amazon",
"action": "search",
"params": {
"keyword": "coffee grinder"
}
}
- Price: $2.24 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 | search | Capability identifier, fixed value. |
keyword | body.params | string | Yes | - | Specifies the primary search string according to the requested Amazon action. In search, pass the product search terms. In bestsellers, pass a full Amazon bestsellers category URL or a category short name used to build the path. In sellers, pass a product or seller page URL; raw search terms generate a product search page rather than looking up a seller ID directly. |
domain | body.params | string | No | - | Specifies the Amazon country domain without a scheme or path, such as amazon.com, amazon.co.uk, or amazon.co.jp. It defaults to amazon.com, and the search action uses it to build that store's search URLs. |
fast | body.params | boolean | No | - | Fast mode for search. JSON boolean, default false; the string "true" is rejected. Pass true when you only need title, price, rating and link. The call then usually returns in 10 to 20 seconds, the response gets a top-level "fast": true, and each row leaves out these 8 fields: brand, in_stock, category, description, seller_name, images, features, bestseller_ranks. The price is the same as without fast. Fast mode works on synchronous calls only and cannot be combined with lang; either case returns 422. Only some Amazon domains are supported; for others you get a 422 that lists the supported domains. Omit it or pass false and nothing changes. |
lang | body.params | string (enum) | No | - | Specifies the page language for supported Amazon endpoints using valid codes such as en or ja. Use zhcn for Simplified Chinese and zhtw for Traditional Chinese instead of a generic zh code. Requests accept only the language codes listed for the action, and selecting a language alters the rendered content rather than changing the target country store.Allowed valuesarbncsdadeenesfrhehijaknkomlmrtanlplptsvtatetrzhcnzhtw |
limit | body.params | integer (1–50) | No | 10 | The most rows to return in this call, an integer from 1 to 50. 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": "search",
"params": {
"keyword": "coffee grinder"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "amazon", "action": "search", "results": [ { "asin": "B0GWHGT8C6", "title": "SHARDOR Burr Coffee Grinder Electric with 32 Grinding Sizes, 2026 Upgraded", "url": "https://www.amazon.com/dp/B0GWHGT8C6", "brand": "SHARDOR", "price": 39.98, "list_price": 49.99, "currency": "$", "rating": 4.4, "rating_count": 23, "in_stock": true, "category": "Home & Kitchen > Kitchen & Dining > Coffee, Tea & Espresso > Coffee Grinders > Electric Burr Grinders", "image_url": "https://m.media-amazon.com/images/I/71umDJaSBGL._AC_SY300_SX300_QL70_FMwebp_.jpg", "is_amazon_choice": false, "seller_name": "KDSXG", "platform": "amazon", "images": [ "https://m.media-amazon.com/images/I/71umDJaSBGL._AC_SL1500_.jpg", "https://m.media-amazon.com/images/I/71WkUEs07pL._AC_SL1500_.jpg", "https://m.media-amazon.com/images/I/71h+360x8gL._AC_SL1500_.jpg" ], "features": [ "CONSISTENT DAILY GRINDING Designed for home coffee routines, this flat burr grinder helps prepare beans for drip, pour over, french press, cold brew, moka pot, and espresso style drinks. The compact body fits small counters, apartments, office corners, and coffee stations without…", "SMALL BATCH CONTROL The adjustable time based grinding design lets users grind only what they need for fresh cups, single serve brewers, or family coffee prep. To help protect the motor, the built in safety program supports up to 120 seconds of continuous operation before a short…", "32 SIZE OPTIONS Choose from 32 grind settings to match different brewing needs, from finer grounds for espresso style preparation to coarser grounds for french press and cold brew. The grinder includes a chamber, cleaning brush, and hopper for daily use and simple upkeep." ], "bestseller_ranks": [ { "rank": 19549, "category": "Home & Kitchen" }, { "rank": 7, "category": "Burr Coffee Grinders" } ], "rating_scale": 5 }, { "asin": "B0HB98V4SP", "title": "Flat Burr Coffee Grinder Electric, Adjustable Coffee Bean Grinder with 17 Grinding Sizes, Burr Mill for Espresso & French Press, 2-12 Cup, Silver", "url": "https://www.amazon.com/dp/B0HB98V4SP", "brand": "Rounexes", "price": 39.99, "currency": "$", "rating": 5, "rating_count": 17, "in_stock": true, "category": "Home & Kitchen > Kitchen & Dining > Coffee, Tea & Espresso > Coffee Grinders > Electric Burr Grinders", "image_url": "https://m.media-amazon.com/images/I/81lB7SOI39L._AC_SY300_SX300_QL70_FMwebp_.jpg", "is_amazon_choice": false, "seller_name": "MeiDing", "platform": "amazon", "images": [ "https://m.media-amazon.com/images/I/81lB7SOI39L._AC_SL1500_.jpg", "https://m.media-amazon.com/images/I/81khWIt-ThL._AC_SL1500_.jpg", "https://m.media-amazon.com/images/I/712ulwCFZuL._AC_SL1500_.jpg" ], "features": [ "[17 Precise Grind Settings] From fine espresso to coarse French press, dial in the perfect grind across 17 calibrated levels—ideal for drip, pour-over, or cold brew, and designed to unlock your beans’ full aroma every morning.", "[Uniform Flat Burr & Anti-Overheating] Heavy-duty stainless steel flat burrs ensure even grinding for consistent extraction and richer flavor. Low-speed operation prevents overheating, preserving delicate oils and freshness.", "[2–12 Cup Quantity Control] Set your desired yield (2–12 cups) with the intuitive cup selector knob and 7 oz. bean hopper—grind just what you need, with zero waste." ], "bestseller_ranks": [ { "rank": 68800, "category": "Home & Kitchen" }, { "rank": 28, "category": "Burr Coffee Grinders" } ], "rating_scale": 5 } ], "count": 10, "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. |
title | Title. null when the platform has no titles (for example text-only posts). |
url | Link to the record on the platform. |
brand | Brand. |
price | Price as a number without a currency symbol; see currency. |
list_price | List (strike-through) price. |
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. |
in_stock | Whether the product is in stock. |
category | Category name in the platform's own taxonomy, not normalized across platforms. |
image_url | Image link. Capabilities with several images may return an image_urls array. |
description | Summary or description, usually shorter than text. |
is_amazon_choice | Whether the product carries the Amazon's Choice badge. |
seller_name | Seller name. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
images | Array of image links in the platform's display order; absent when there are no images. |
features | Bullet-point feature list from the product page (search, profile), as written; absent when there is none. |
bestseller_ranks | Best Sellers ranks (search, profile): each item has rank and category, one entry per category; the rank at read time, not a sales figure. |
FAQ
#How do I search other country stores?
#Pass the store domain in domain, for example amazon.co.uk or amazon.co.jp, without https:// or a path; it defaults to amazon.com. lang changes only the page language and never switches stores.
Which values does lang take?
#Only the language codes listed for this capability, such as en, ja or de. Simplified Chinese is zhcn and Traditional Chinese is zhtw; a bare zh is not accepted. The language changes page text, not the store you search.
How do I get reviews for a product I found?
#Build the product link from asin, such as https://www.amazon.com/dp/<ASIN>, and pass it to the Amazon Reviews capability. Use the store you searched, and for a non-US store send the same domain to Reviews too; without it, reviews are read from amazon.com and will not match.
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.