Amazon 隠れ売れ筋商品
Amazon 隠れ売れ筋商品 API でEC データ API の連携を行えます。リクエストパラメーター、レスポンスのフィールド、実行可能なコード例を確認してください。
API データの例
このエンドポイントのリクエスト本文とレスポンス全体の構造を確認できます。
{
"keyword": "air fryer",
"marketplace": "US"
}{
"request_id": "cc5a8628-b8e2-52b1-aa91-cb17d1734d7c",
"data": [
{
"asin": "B0HDJL476M",
"parent_asin": "B0HDJRZ7DZ",
"title": "2 In 1 Multi-functional Kitchen Utensil Holder, Heavy Duty Stainless Steel Pot Lid & Spoon Rack Space-Saving Vertical Stand for Spatulas, Tongs, Ladles, Countertop Organizer,1 Psc",
"sub_title": "",
"brand": "Generic",
"main_image": "https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/51JcI9xmLNL.jpg",
"price": 10.99,
"list_price": 10.99,
"coupon": 1.1,
"monthly_sales_volume": 2756,
"monthly_sales_amount": 27256.84,
"yearly_sales_volume": 5488,
"ratings": 3,
"rating_count": 48,
"a_plus": true,
"has_video": true,
"has_brand_store": true,
"badges": [
"Amazon Choice"
],
"variation_count": 3,
"seller_count": 1,
"buybox_seller": "HJYang",
"online_date": "2026-08-10",
"category": [
"Kitchen & Dining",
"kitchen"
],
"sub_category": [
[
"Utensil Crocks",
"16188247011",
3,
"20261125"
]
],
"subcategory_rank": 3712,
"peak_season": null
},
{
"asin": "B0H38F1PCJ",
"parent_asin": "B0HNPFJHGX",
"title": "Brownie Pan with Dividers, Metal Reinforced Frame Silicone Baking Pan",
"sub_title": "Nonstick Square Muffin Pan, for Brownie, Cornbread, Cupcakes, Tart, Muffin Cakes, Cookie, Bread 1 Pack",
"brand": "CAKETIME",
"main_image": "https://m.media-amazon.com/images/I/71pXwLVTj4L._AC_SL1500_.jpg",
"price": 8.49,
"list_price": 9.99,
"coupon": 0,
"monthly_sales_volume": 768,
"monthly_sales_amount": 6520.32,
"yearly_sales_volume": 1370,
"ratings": 4.5,
"rating_count": 21,
"a_plus": true,
"has_video": false,
"has_brand_store": true,
"badges": [
"Amazon Choice"
],
"variation_count": 6,
"seller_count": 5,
"buybox_seller": "CAKETIME-US",
"online_date": "2026-09-02",
"category": [
"Kitchen & Dining",
"kitchen"
],
"sub_category": [
[
"Muffin & Cupcake Pans",
"289700",
53,
"20261125"
]
],
"subcategory_rank": 12224,
"peak_season": null
}
]
}このページでは Ecommerce Data API の公開契約を説明します。フィールド名、パス、技術例はそのまま保持しているため、そのまま統合できます。
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/products/potential
The request and response fields below match the current public contract.
API マッピング
| Item | Value |
|---|---|
| MCP Code | amazon_products_potential |
クイック呼び出し
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/products/potential \
--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 Hidden Earner Products" endpoint from Ecommerce Data API into the current repository. Make the changes directly instead of only returning sample code.
API documentation: https://ecommercedataapi.com/ja/docs/amazon/products/potential
Endpoint: POST https://ecommercedataapi.com/v1/amazon/products/potential
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/products/potential',
{
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/products/potential",
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 |
|---|---|---|---|---|
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 |
keyword | String | No | Search phrase, in English. | air fryer |
minPrice | Number | No | Lower bound of price, in the marketplace currency. | 20 |
maxPrice | Number | No | Upper bound of price, in the marketplace currency. | 20 |
minUnits | Integer | No | Lower bound of monthly units sold. | 100 |
maxUnits | Integer | No | Upper bound of monthly units sold. | 100 |
fulfillment | String | No | Fulfillment: any, fbm, fba or third_party_fba (third-party sellers using FBA). | any |
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 |
|---|---|---|---|
asin | String | Product ASIN. | B0HDJL476M |
parent_asin | String | Parent ASIN; null if the product has no variations. | B0HDJRZ7DZ |
title | String | Product title. | 2 In 1 Multi-functional Kitchen Utensil Holder, Heavy Duty Stainless Steel Pot Lid & Spoon Rack Space-Saving Vertical St |
sub_title | String | Product subtitle; null if there is none. | - |
brand | String | Brand name. | Generic |
main_image | String | Array of main image URLs. | https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/51JcI9xmLNL.jpg |
price | Number | Actual selling price in USD; -1 means no data for that period. | 10.99 |
list_price | Number | Original crossed-out price in USD; -1 means no data for that period. | 10.99 |
coupon | Number | Coupon discount in the local currency; a positive value is an amount off, a negative value is a percentage discount; -1 means no data for that period. | 1.1 |
monthly_sales_volume | Integer | Estimated monthly sales volume; -1 means no data for that period. | 2756 |
monthly_sales_amount | Number | Estimated monthly sales revenue in USD; -1 means no data for that period. | 27256.84 |
yearly_sales_volume | Integer | Estimated annual sales volume; -1 means no data for that period. | 5488 |
ratings | Integer | Star rating, out of 5. | 3 |
rating_count | Integer | Total review count. | 48 |
a_plus | Boolean | Whether an A+ content page exists. | True |
has_video | Boolean | Whether a main image video exists. | True |
has_brand_store | Boolean | Whether a brand flagship store exists. | True |
badges | Array | Amazon badges displayed on the product, e.g. ["Best Seller", "Amazon's Choice", "New Release", "Deal", "Lowest price"]; empty array if none. Available values (Table 1.10): naturalSearching, amazonChoice, editorialRecommendations, fourStar, highlyRated, sponsorBrand, sponsorVideo, ads | - |
variation_count | Integer | Number of product variations. | 3 |
seller_count | Integer | Number of sellers. | 1 |
buybox_seller | String | Name of the buy box owner. | HJYang |
online_date | String | Launch date, in yyyy-MM-dd format. | 2026-08-10 |
category | Array | Main category as an array: [category name, categoryId]. | - |
sub_category | Array | Subcategory as an object {name, node_id, rank}. | - |
subcategory_rank | Integer | Product sales rank within its subcategory. | 3712 |
peak_season | String | Peak selling months, as month numbers 1-12; empty array if there is no obvious peak season. | - |
Response example
{
"request_id": "cc5a8628-b8e2-52b1-aa91-cb17d1734d7c",
"data": [
{
"asin": "B0HDJL476M",
"parent_asin": "B0HDJRZ7DZ",
"title": "2 In 1 Multi-functional Kitchen Utensil Holder, Heavy Duty Stainless Steel Pot Lid & Spoon Rack Space-Saving Vertical Stand for Spatulas, Tongs, Ladles, Countertop Organizer,1 Psc",
"sub_title": "",
"brand": "Generic",
"main_image": "https://m.media-amazon.com/images/W/BW_MEDIAX_AVIF_MEASUREMENT_1306696-T4/images/I/51JcI9xmLNL.jpg",
"price": 10.99,
"list_price": 10.99,
"coupon": 1.1,
"monthly_sales_volume": 2756,
"monthly_sales_amount": 27256.84,
"yearly_sales_volume": 5488,
"ratings": 3,
"rating_count": 48,
"a_plus": true,
"has_video": true,
"has_brand_store": true,
"badges": ["Amazon Choice"],
"variation_count": 3,
"seller_count": 1,
"buybox_seller": "HJYang",
"online_date": "2026-08-10",
"category": ["Kitchen & Dining", "kitchen"],
"sub_category": [["Utensil Crocks", "16188247011", 3, "20261125"]],
"subcategory_rank": 3712,
"peak_season": null
},
{
"asin": "B0H38F1PCJ",
"parent_asin": "B0HNPFJHGX",
"title": "Brownie Pan with Dividers, Metal Reinforced Frame Silicone Baking Pan",
"sub_title": "Nonstick Square Muffin Pan, for Brownie, Cornbread, Cupcakes, Tart, Muffin Cakes, Cookie, Bread 1 Pack",
"brand": "CAKETIME",
"main_image": "https://m.media-amazon.com/images/I/71pXwLVTj4L._AC_SL1500_.jpg",
"price": 8.49,
"list_price": 9.99,
"coupon": 0,
"monthly_sales_volume": 768,
"monthly_sales_amount": 6520.32,
"yearly_sales_volume": 1370,
"ratings": 4.5,
"rating_count": 21,
"a_plus": true,
"has_video": false,
"has_brand_store": true,
"badges": ["Amazon Choice"],
"variation_count": 6,
"seller_count": 5,
"buybox_seller": "CAKETIME-US",
"online_date": "2026-09-02",
"category": ["Kitchen & Dining", "kitchen"],
"sub_category": [["Muffin & Cupcake Pans", "289700", 53, "20261125"]],
"subcategory_rank": 12224,
"peak_season": null
}
]
}See Errors and rate limits for error payloads, request tracing, and rate-limit headers.