Amazon セラー検索
Amazon セラー検索 API でEC データ API の連携を行えます。リクエストパラメーター、レスポンスのフィールド、実行可能なコード例を確認してください。
API データの例
このエンドポイントのリクエスト本文とレスポンス全体の構造を確認できます。
{
"query": "YUANYE-US",
"searchBy": "name",
"marketplace": "US"
}{
"request_id": "19510111-9b5c-512f-82a3-32e979086c94",
"data": [
{
"seller_id": "AHIUZ3TBFW07H",
"seller_name": "YUANYE-US",
"photo": "https://m.media-amazon.com/images/I/71R26RfyYZL.jpg",
"seller_online_date": "2021-06-08",
"seller_nationality": "CN",
"total_product_count": 13,
"total_brand_count": 1,
"product_count": 3,
"brand_count": 1,
"product_count_ratio": 23.08,
"monthly_sale_count": 5112,
"listing_monthly_sale_amount": 104785.86,
"category_count": 2,
"sub_category_count": 3,
"fbm_product_count": 0,
"a_plus_product_count": 3,
"no_brand_product_count": 0,
"no_brand_product_count_ratio": 0,
"no_brand_product_monthly_sales": 0,
"no_brand_product_sales_ratio": 0,
"average_price": 24.64,
"average_ratings_count": 961,
"total_variation_count": 7,
"average_variation_count": 2,
"top3_product_sales_ratio": 100,
"feedback_count": 325
}
]
}このページでは 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/sellers/search
The request and response fields below match the current public contract.
API マッピング
| Item | Value |
|---|---|
| MCP Code | amazon_sellers_search |
クイック呼び出し
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/sellers/search \
--header "Content-Type: application/json" \
--header "X-API-Key: ${ECOMMERCE_DATA_API_KEY}" \
--data '{
"query": "YUANYE-US",
"searchBy": "name",
"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 Seller 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/ja/docs/amazon/sellers/search
Endpoint: POST https://ecommercedataapi.com/v1/amazon/sellers/search
API key environment variable: ECOMMERCE_DATA_API_KEY
Example request:
{
"query": "YUANYE-US",
"searchBy": "name",
"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/sellers/search',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-API-Key': process.env.ECOMMERCE_DATA_API_KEY,
},
body: JSON.stringify({
query: 'YUANYE-US',
searchBy: 'name',
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/sellers/search",
headers={
"Content-Type": "application/json",
"X-API-Key": os.environ["ECOMMERCE_DATA_API_KEY"],
},
json={
"query": "YUANYE-US",
"searchBy": "name",
"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 |
|---|---|---|---|---|
query | String | Yes | Seller name or brand name, depending on searchBy. | AnkerDirect |
searchBy | String | No | Find sellers by name or by a brand they sell. | name |
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 |
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 |
|---|---|---|---|
seller_id | String | Seller ID. | AHIUZ3TBFW07H |
seller_name | String | Seller store name. | YUANYE-US |
photo | String | Seller avatar or main image URL. | https://m.media-amazon.com/images/I/71R26RfyYZL.jpg |
seller_online_date | String | Date the seller registered, in yyyy-MM-dd format. | 2021-06-08 |
seller_nationality | String | Seller country or region code such as CN, US, HK, or OTHER. | CN |
total_product_count | Integer | Total number of products the seller has. | 13 |
total_brand_count | Integer | Total number of brands the seller has. | 1 |
product_count | Integer | Number of the seller's products that rank in a subcategory Top 100 Best Sellers list. | 3 |
brand_count | Integer | Number of brands among the seller's Top 100 products. | 1 |
product_count_ratio | Number | Share of the seller's products that are in the Top 100, in percent. | 23.08 |
monthly_sale_count | Integer | Estimated total monthly sales volume of the seller's Top 100 products. | 5112 |
listing_monthly_sale_amount | Number | Listing monthly sales amount in USD; -1 means no data for that period. | 104785.86 |
category_count | Integer | Number of main categories the seller operates in. | 2 |
sub_category_count | Integer | Number of subcategories the seller operates in. | 3 |
fbm_product_count | Integer | Number of FBM products. | 0 |
a_plus_product_count | Integer | Number of products with A+ content. | 3 |
no_brand_product_count | Integer | Number of no-brand products. | 0 |
no_brand_product_count_ratio | Integer | Share of no-brand products among all products, in percent. | 0 |
no_brand_product_monthly_sales | Integer | Monthly sales volume of no-brand products. | 0 |
no_brand_product_sales_ratio | Integer | Share of no-brand products in sales volume, in percent. | 0 |
average_price | Number | Average product price in USD; -1 means no data for that period. | 24.64 |
average_ratings_count | Integer | Average review count of products. | 961 |
total_variation_count | Integer | Total number of variations. | 7 |
average_variation_count | Integer | Average number of variations per listing. | 2 |
top3_product_sales_ratio | Integer | Share of sales from the top 3 products, in percent. | 100 |
feedback_count | Integer | Seller feedback count. | 325 |
Response example
{
"request_id": "19510111-9b5c-512f-82a3-32e979086c94",
"data": [
{
"seller_id": "AHIUZ3TBFW07H",
"seller_name": "YUANYE-US",
"photo": "https://m.media-amazon.com/images/I/71R26RfyYZL.jpg",
"seller_online_date": "2021-06-08",
"seller_nationality": "CN",
"total_product_count": 13,
"total_brand_count": 1,
"product_count": 3,
"brand_count": 1,
"product_count_ratio": 23.08,
"monthly_sale_count": 5112,
"listing_monthly_sale_amount": 104785.86,
"category_count": 2,
"sub_category_count": 3,
"fbm_product_count": 0,
"a_plus_product_count": 3,
"no_brand_product_count": 0,
"no_brand_product_count_ratio": 0,
"no_brand_product_monthly_sales": 0,
"no_brand_product_sales_ratio": 0,
"average_price": 24.64,
"average_ratings_count": 961,
"total_variation_count": 7,
"average_variation_count": 2,
"top3_product_sales_ratio": 100,
"feedback_count": 325
}
]
}See Errors and rate limits for error payloads, request tracing, and rate-limit headers.