Amazon Search Term Lookup
Use the Amazon Search Term Lookup API for ecommerce API integration. Review request parameters, response fields, and runnable examples.
/v1 /amazon /keywords /lookupAPI data samples
Inspect the request body and complete response shape used by this endpoint.
{
"keyword": "air fryer",
"marketplace": "US"
}{
"request_id": "71fe3f2e-7a47-57d9-8b9d-de1cb4a282dd",
"data": [
{
"keyword": "rv air fryer",
"keyword_cn_name": "RV 空气油炸锅",
"images": [
"https://m.media-amazon.com/images/I/61w9+nXxwlL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/71rj5PBTfZL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/71+WCAv7KUL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/71Ld+1SBc5L._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/71XyGxT1ITL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/61HhV4VuQJL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/81wOCABev4L._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/714m1vcS7zL._AC_UY218_.jpg"
],
"images_from_asin": [
"B0CYJDVT31",
"B0DC11YH4J",
"B0H1NH2MZ6",
"B0CNY1F31S",
"B08R6KMBQT",
"B0GSCCXMR8",
"B0D1CXL52G",
"B0DJFB6ZKM"
],
"update": "20261117",
"rank": 1999569,
"department": [
"17659096011"
],
"search_volume": 92,
"click_of_90d": -1,
"sales_volume_of_90d": 0,
"word_count": 3,
"search_conversion_rate_d90": -1,
"click_conversion_rate_d90": -1,
"conversion_rate": -9999,
"product_count": 898,
"rank_change_of_weekly": -355450,
"cpc": 0.49,
"cpc_range": [
0.32,
0.61
],
"search_volume_growth_rate_trend": [
0,
0,
0
],
"share_click_rate": 34.21,
"share_conversion_rate": 0,
"top3_asin": [
"B0H1NH2MZ6,15.79%,0.00%",
"B0CYJDVT31,10.53%,0.00%",
"B0CNY1F31S,7.89%,0.00%"
],
"top3_brand": null,
"top3_category": null,
"season": [],
"keyword_category": [
"scene"
],
"theoretical_acos_90d": -1
},
{
"keyword": "ninja sale",
"keyword_cn_name": "",
"images": [
"https://m.media-amazon.com/images/I/71EeP5yuaEL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/61BypW1l-jL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/41CFsYuLB9L._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/81Rc-+bdezL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/61DvtaqAWML._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/81NIIxjjEeL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/51fR3tkKczL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/719pq1kY8VL._AC_UY218_.jpg"
],
"images_from_asin": [
"B0CDDFH2MZ",
"B0FTBX7DQG",
"B0C2FRHB5B",
"B0CVJ5JZRK",
"B00NGV4506",
"B0D2LZYQ2M",
"B07S98411N",
"B089TQWJKK"
],
"update": "20261117",
"rank": 1992856,
"department": null,
"search_volume": 9,
"click_of_90d": -1,
"sales_volume_of_90d": 0,
"word_count": 2,
"search_conversion_rate_d90": -1,
"click_conversion_rate_d90": -1,
"conversion_rate": -9999,
"product_count": 433,
"rank_change_of_weekly": 7144,
"cpc": 0,
"cpc_range": [
0,
0
],
"search_volume_growth_rate_trend": [
-9999,
-9999,
-9999
],
"share_click_rate": 18.41,
"share_conversion_rate": 0,
"top3_asin": [
"B0855B5Z6F,7.89%,0.00%",
"B0B4PPHG8G,5.26%,0.00%",
"B0CDDFH2MZ,5.26%,0.00%"
],
"top3_brand": null,
"top3_category": null,
"season": [],
"keyword_category": [
"pain_point"
],
"theoretical_acos_90d": -1
}
]
}Availability: Available
This endpoint is active in the v1 gateway, OpenAPI, and subscription catalog. Each call consumes 1 billing unit, including calls that find nothing (
RESULT_NOT_FOUND).
POST /v1/amazon/keywords/lookup
The request and response fields below match the current public contract.
MCP
| Item | Value |
|---|---|
| MCP Code | amazon_keywords_lookup |
Quick call
First create an API key, then store it in a server-side environment variable:
export ECOMMERCE_DATA_API_KEY="your_api_key"curl --request POST \
--url https://ecommercedataapi.com/v1/amazon/keywords/lookup \
--header "Content-Type: application/json" \
--header "X-API-Key: ${ECOMMERCE_DATA_API_KEY}" \
--data '{
"keyword": "air fryer",
"marketplace": "US"
}'Integrate with an AI CLI
Copy for your AI CLI
Paste this task into Codex, Claude Code, Gemini CLI, or another coding agent.
Integrate the "Amazon Search Term Lookup" endpoint from Ecommerce Data API into the current repository. Make the changes directly instead of only returning sample code.
API documentation: https://ecommercedataapi.com/en/docs/amazon/keywords/lookup
Endpoint: POST https://ecommercedataapi.com/v1/amazon/keywords/lookup
API key environment variable: ECOMMERCE_DATA_API_KEY
Example request:
{
"keyword": "air fryer",
"marketplace": "US"
}
Requirements:
1. Read the API documentation first, then inspect the repository's language, framework, HTTP client, directory structure, and environment-variable conventions.
2. Reuse the existing API client and error-handling patterns. If none exist, add the smallest reusable Ecommerce Data API client and an endpoint-specific wrapper.
3. Read the key from the server-side ECOMMERCE_DATA_API_KEY environment variable and send Content-Type: application/json plus the X-API-Key header. Never write a real key into source code, browser code, logs, test snapshots, or Git.
4. If the environment variable is missing, tell me to configure ECOMMERCE_DATA_API_KEY myself. Do not request, print, or invent the real key, and continue implementing code and tests that do not require a live request.
5. Implement request and response types from the documentation. Handle non-2xx responses, request_id, error.code, error.message, and 429 rate limits.
6. Add a minimal usage example or test that follows the repository's conventions. Run one minimal live request only when the key is already configured and external requests are allowed; otherwise use mocks or static validation.
7. Run the relevant formatter, type checker, and tests. Report changed files, usage, verification results, and any environment variable I still need to configure.Open this request in Postman
Download the preconfigured collection for this endpoint, then import it into Postman.
Node.js example
const response = await fetch(
'https://ecommercedataapi.com/v1/amazon/keywords/lookup',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': process.env.ECOMMERCE_DATA_API_KEY,
},
body: JSON.stringify({
keyword: 'air fryer',
marketplace: 'US',
}),
}
);
const result = await response.json();
if (!response.ok) {
throw new Error(`${result.error?.code}: ${result.error?.message}`);
}
console.log(result.data);Python example
import os
import requests
response = requests.post(
"https://ecommercedataapi.com/v1/amazon/keywords/lookup",
headers={
"Content-Type": "application/json",
"X-API-Key": os.environ["ECOMMERCE_DATA_API_KEY"],
},
json={
"keyword": "air fryer",
"marketplace": "US",
},
timeout=30,
)
response.raise_for_status()
print(response.json()["data"])Request body
Send the fields below directly in the JSON body without an extra wrapper. Undefined fields are rejected.
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
keyword | String | Yes | Search phrase, in English. | air fryer |
marketplace | String | No | Amazon marketplace code. Supported values are listed in the schema. Available values (Table 1.2): US, JP, UK, DE, FR, IT, ES, CA, IN, MX, BR, AU, AE | US |
keywordTypes | Array | No | Only these term types: core, scene, audience, brand, attribute, pain_point, comparison, review, other. | ["core","scene"] |
page | Integer | No | Page number, 20 results per page. | 1 |
Response structure
| Field | Type | Description |
|---|---|---|
request_id | String | Unique identifier for this request. |
data | Array | Endpoint business data. |
The fields below are inside data. For array endpoints they describe one array item; for paginated endpoints they describe one record in items[].
Response fields
| Field | Type | Description | Example |
|---|---|---|---|
keyword | String | The search term. | rv air fryer |
keyword_cn_name | String | Chinese name of the search term. | RV 空气油炸锅 |
images | Array | Images of the top 10 products in the search results, for quick identification of the term only. | - |
images_from_asin | Array | ASIN for each image in images, in the same order. | - |
update | String | Latest ABA ranking update date of the term, in yyyyMMdd format; weekly terms return last week's date, monthly terms return empty. | 20261117 |
rank | Integer | Weekly search rank. | 1999569 |
department | Array | Array of associated subcategory node IDs, taken from the related categories shown in Amazon's front-end search. | - |
search_volume | Integer | Search volume in the last 30 days. | 92 |
click_of_90d | Integer | Click volume in the last 90 days, US marketplace only; Amazon publishes data for only about 900k terms, -1 if unpublished. | -1 |
sales_volume_of_90d | Integer | Sales volume in the last 90 days. | 0 |
word_count | Integer | Word count of the search term. | 3 |
search_conversion_rate_d90 | Integer | 90-day search conversion rate in percent (e.g. 18.44 means 18.44%); US marketplace only, -1 if unpublished. | -1 |
click_conversion_rate_d90 | Integer | 90-day click conversion rate in percent (e.g. 18.44 means 18.44%); US marketplace only, -1 if unpublished. | -1 |
conversion_rate | Integer | 360-day search conversion rate in percent (e.g. 18.44 means 18.44%). | -9999 |
product_count | Integer | Number of competing products, as shown on Amazon's keyword search page. | 898 |
rank_change_of_weekly | Integer | Week-on-week rank change of the term; a negative value means the rank dropped. | -355450 |
cpc | Number | Exact-match CPC bid, in CNY. | 0.49 |
cpc_range | Array | Exact-match CPC bid range as "<min>,<max>", in CNY. | - |
search_volume_growth_rate_trend | Array | Compound growth rate of search volume over the last 3, 6 and 12 months, in that order, in percent. | - |
share_click_rate | Number | Click share of the top 3 products after buyers search this term, in percent (e.g. 20.00 means 20.00%). | 34.21 |
share_conversion_rate | Integer | Conversion share of the top 3 products after buyers search this term, in percent (e.g. 20.00 means 20.00%). | 0 |
top3_asin | Array | Top 3 ASINs by clicks, each item formatted as "ASIN,click share,conversion share". | - |
top3_brand | String | Top 3 brands by clicks; valid for weekly terms after 2024-04-28 and for monthly terms after April 2024. | - |
top3_category | String | Top 3 categories by clicks; valid for weekly terms after 2024-04-28 and for monthly terms after April 2024. | - |
season | Array | Peak sales months, as month numbers 1-12; empty array when demand is even all year. | - |
keyword_category | Array | Intent categories of the term, as an array of codes from: core, scene, audience, brand, attribute, pain_point, comparison, review, other; empty array when unclassified. | - |
theoretical_acos_90d | Integer | Theoretical ACOS (percent) over the last 90 days, derived from the recommended CPC bid, the 90-day click conversion rate and the average price of the top 3 pages of search results; a theoretical value that may vary across products. US marketplace only; other marketplaces return -1. | -1 |
Response example
{
"request_id": "71fe3f2e-7a47-57d9-8b9d-de1cb4a282dd",
"data": [
{
"keyword": "rv air fryer",
"keyword_cn_name": "RV 空气油炸锅",
"images": [
"https://m.media-amazon.com/images/I/61w9+nXxwlL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/71rj5PBTfZL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/71+WCAv7KUL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/71Ld+1SBc5L._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/71XyGxT1ITL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/61HhV4VuQJL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/81wOCABev4L._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/714m1vcS7zL._AC_UY218_.jpg"
],
"images_from_asin": [
"B0CYJDVT31",
"B0DC11YH4J",
"B0H1NH2MZ6",
"B0CNY1F31S",
"B08R6KMBQT",
"B0GSCCXMR8",
"B0D1CXL52G",
"B0DJFB6ZKM"
],
"update": "20261117",
"rank": 1999569,
"department": ["17659096011"],
"search_volume": 92,
"click_of_90d": -1,
"sales_volume_of_90d": 0,
"word_count": 3,
"search_conversion_rate_d90": -1,
"click_conversion_rate_d90": -1,
"conversion_rate": -9999,
"product_count": 898,
"rank_change_of_weekly": -355450,
"cpc": 0.49,
"cpc_range": [0.32, 0.61],
"search_volume_growth_rate_trend": [0, 0, 0],
"share_click_rate": 34.21,
"share_conversion_rate": 0,
"top3_asin": [
"B0H1NH2MZ6,15.79%,0.00%",
"B0CYJDVT31,10.53%,0.00%",
"B0CNY1F31S,7.89%,0.00%"
],
"top3_brand": null,
"top3_category": null,
"season": [],
"keyword_category": ["scene"],
"theoretical_acos_90d": -1
},
{
"keyword": "ninja sale",
"keyword_cn_name": "",
"images": [
"https://m.media-amazon.com/images/I/71EeP5yuaEL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/61BypW1l-jL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/41CFsYuLB9L._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/81Rc-+bdezL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/61DvtaqAWML._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/81NIIxjjEeL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/51fR3tkKczL._AC_UY218_.jpg",
"https://m.media-amazon.com/images/I/719pq1kY8VL._AC_UY218_.jpg"
],
"images_from_asin": [
"B0CDDFH2MZ",
"B0FTBX7DQG",
"B0C2FRHB5B",
"B0CVJ5JZRK",
"B00NGV4506",
"B0D2LZYQ2M",
"B07S98411N",
"B089TQWJKK"
],
"update": "20261117",
"rank": 1992856,
"department": null,
"search_volume": 9,
"click_of_90d": -1,
"sales_volume_of_90d": 0,
"word_count": 2,
"search_conversion_rate_d90": -1,
"click_conversion_rate_d90": -1,
"conversion_rate": -9999,
"product_count": 433,
"rank_change_of_weekly": 7144,
"cpc": 0,
"cpc_range": [0, 0],
"search_volume_growth_rate_trend": [-9999, -9999, -9999],
"share_click_rate": 18.41,
"share_conversion_rate": 0,
"top3_asin": [
"B0855B5Z6F,7.89%,0.00%",
"B0B4PPHG8G,5.26%,0.00%",
"B0CDDFH2MZ,5.26%,0.00%"
],
"top3_brand": null,
"top3_category": null,
"season": [],
"keyword_category": ["pain_point"],
"theoretical_acos_90d": -1
}
]
}See Errors and rate limits for error payloads, request tracing, and rate-limit headers.