Amazon Search Scraper API
最終更新: · REST · JSON
X-API-Key ヘッダーにキーを入れて GET https://api.scrapier.io/api/v2/amazon-search/?query=Playstation を送ると、検索結果のページが JSON で返ります。検索結果一ページにつき10クレジット。失敗した呼び出しは無料です。
- 検索結果一ページにつき10クレジット
- 失敗した呼び出しは無料
- レート制限なし
Amazon Search Scraper API を呼び出す
Amazon Search Scraper API は、自分のアプリ、スクリプト、エージェントから使えます。必要なのは Scrapier アカウントと、ダッシュボードの API キーです。言語を選んでください。
import requests# Replace YOUR_API_KEY with the key from your Scrapier dashboardAPI_KEY = "YOUR_API_KEY"params = { "query": "Playstation", "domain_code": "com", "sort_by": "relevanceblender", "max_pages": "1",}r = requests.get( "https://api.scrapier.io/api/v2/amazon-search/", headers={"X-API-Key": API_KEY}, params=params, timeout=210,)r.raise_for_status()# The result sits under data.productsresult = r.json()["data"]["products"]print(result)
// Replace YOUR_API_KEY with the key from your Scrapier dashboardconst API_KEY = "YOUR_API_KEY";const params = new URLSearchParams({ query: "Playstation", domain_code: "com", sort_by: "relevanceblender", max_pages: "1",});const res = await fetch(`https://api.scrapier.io/api/v2/amazon-search/?${params}`, { headers: { "X-API-Key": API_KEY }, signal: AbortSignal.timeout(210_000),});if (!res.ok) throw new Error(`HTTP ${res.status}`);const { data } = await res.json();console.log(data.products);
# One GET request. The key goes in a header, never in the URL.GET /api/v2/amazon-search/?query=Playstation&domain_code=com&sort_by=relevanceblender&max_pages=1 HTTP/1.1Host: api.scrapier.ioX-API-Key: YOUR_API_KEYAccept: application/json
# Scrapier publishes an OpenAPI spec that covers every endpoint. No API key needed.curl -O https://api.scrapier.io/api/v2/openapi.json# Import openapi.json into Postman, Insomnia, Bruno or a code generator,# then add your key as the X-API-Key header.
# 1. Add the Scrapier MCP server to Claude Codeclaude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY"# 2. Ask your agent. It finds the endpoint with search_endpoints# and calls it with run_scrape:"Search Amazon for Playstation and list the top results with price, rating and review count"run_scrape("amazon-search", {query: "Playstation"})
Python での Amazon Search Scraper API
必要なのは素の requests だけで、SDKは不要です。すべてのレスポンスは型付きJSONです。
インストール
JavaScript での Amazon Search Scraper API
組み込みの fetch により、Node 18+、Deno、Bun、エッジランタイムで動作します。
環境を確認
HTTP での Amazon Search Scraper API
GETリクエストを一回送るだけです。認証は X-API-Key ヘッダー一つで行います。
環境を確認
Amazon Search Scraper API の OpenAPI 定義
仕様を一度ダウンロードして、普段使っているツールにインポートしてください。取得にキーは不要です。
仕様をダウンロード
MCP 経由の Amazon Search Scraper API
同じエンドポイントを、Claude Code、Cursor、Windsurf からツール呼び出しとして使えます。入力は同じ query、料金も同じ検索結果一ページにつき10クレジットです。
インストール
ほかの呼び出し方法
Amazon Search Scraper API インタラクティブプレイグラウンド
リクエストを編集するとコードが更新されるので、そのまま実行できます。キーがなければカタログのサンプルを表示し、課金はされません。キーを入力すると、ブラウザーから実際に呼び出します。キーは api.scrapier.io にのみ送られ、保存されません。
GET /api/v2/amazon-search/?query=Playstationリクエストを実行を押すと送信します。キーがない場合はカタログのサンプルが表示されます。
失敗した呼び出しは課金されません。
サンプルはどの入力でも同じです。入力したアカウントの結果ではなく、レスポンスの形を示しています。
レスポンス例(9 Nov 2026 時点のカタログサンプル)
{
"success": true,
"data": {
"query": "laptop",
"domain_code": "com",
"sort_by": "relevanceblender",
"page": 1,
"page_size": 16,
"pages_fetched": 1,
"products": [
{
"asin": "B0EXAMPLE10",
"product_description": "Lenovo ThinkPad X1 Carbon Gen 11 14\" Laptop",
"img_url": "https://m.media-amazon.com/images/I/example._AC_UY218_.jpg",
"price": 1599.0,
"retail_price": 1899.0,
"product_rating": "4.6 out of 5 stars",
"count_review": 1248,
"dp_url": "https://www.amazon.com/Lenovo-ThinkPad-Carbon/dp/B0EXAMPLE10/ref=sr_1_1",
"prime": true,
"sponsored": false,
"is_sponsored": false,
"sales_volume": "500+ bought in past month",
"delivery_message": "FREE delivery Tue, Oct 7",
"manufacturer": null,
"series": null,
"variations": [],
"product_details": [],
"secondary_offer": 0.0,
"status_code": 200,
"status_message": "FOUND",
"keyword": "laptop",
"domain_code": "com",
"page": 1,
"selected_category": "aps",
"browse_node": null,
"node_hierarchy": null,
"result_count": 100000,
"categories": [
"Traditional Laptop Computers"
],
"similar_keywords": [],
"current_page": 1,
"sort_strategy": "relevanceblender",
"search_result_position": 0,
"position": 1
}
],
"next_cursor": "zc1.eNqFU01P..."
}
}抽出できるデータ
Amazon Search Scraper は Amazon のマーケットプレイスでキーワード検索を実行し、各結果の ASIN、タイトル、価格、定価、評価、レビュー数、Prime フラグ、スポンサーフラグ、販売数、配送メッセージ、順位を返します。以下のフィールドはすべてカタログのサンプルレスポンスから取得した、型付き JSON です。
製品
レスポンスに9個のフィールド。
- asin
- product_description
- img_url
- dp_url
- manufacturer
- series
- variations
- product_details
- 他1件
価格と配送
レスポンスに 5 フィールド。
- price
- retail_price
- secondary_offer
- delivery_message
- prime
評価と需要
レスポンスに 5 フィールド。
- product_rating
- count_review
- sales_volume
- sponsored
- is_sponsored
検索と行のコンテキスト
レスポンスに14フィールド。
- status_code
- status_message
- keyword
- domain_code
- page
- current_page
- selected_category
- browse_node
- ほか6件
レスポンスエンベロープとページング
レスポンスに8個のフィールド。
- success
- data.query
- data.domain_code
- data.sort_by
- data.page
- data.page_size
- data.pages_fetched
- data.next_cursor
レスポンススキーマリファレンス
サンプルレスポンスのすべてのフィールドです。フィールド名は毎回同じです。
| フィールド | 種類 | 例 | 説明 |
|---|---|---|---|
products.asin | string | "B0EXAMPLE10" | 商品の Amazon ASIN |
products.product_description | string | "Lenovo ThinkPad X1 Carbon Gen 11 14\" Laptop" | 商品タイトル |
products.img_url | string | "https://m.media-amazon.com/images/I/example…" | 商品画像のURL |
products.dp_url | string | "https://www.amazon.com/Lenovo-ThinkPad-Carb…" | 商品ページの URL |
products.manufacturer | null | null | メーカー。表示がない場合はnull |
products.series | null | null | 商品シリーズ。表示がない場合はnull |
products.variations | array | [] | バリエーションのリスト |
products.product_details | array | [] | 商品詳細のリスト |
products.categories | array | 1 items | 結果のカテゴリ |
products.price | number | 1599.0 | 数値としての現在価格 |
products.retail_price | number | 1899.0 | 割引前の定価 |
products.secondary_offer | number | 0.0 | 副次的なオファーの値 |
products.delivery_message | string | "FREE delivery Tue, Oct 7" | Amazonの表示どおりの配送メッセージ |
products.prime | boolean | true | 商品がPrime対象の場合はtrue |
products.product_rating | string | "4.6 out of 5 stars" | テキストとしての評価(例:4.6 out of 5 stars) |
products.count_review | integer | 1248 | レビュー数 |
products.sales_volume | string | "500+ bought in past month" | 販売数のテキスト(例:500+ bought in past month) |
products.sponsored | boolean | false | スポンサー結果の場合はtrue |
products.is_sponsored | boolean | false | スポンサー結果の場合はtrue(二つ目のフラグ) |
products.status_code | integer | 200 | 行のステータスコード。カタログのサンプルでは200 |
products.status_message | string | "FOUND" | 行のステータス。カタログのサンプルではFOUND |
products.keyword | string | "laptop" | 検索したキーワード |
products.domain_code | string | "com" | マーケットプレイスのドメインコード |
products.page | integer | 1 | その行の結果ページ |
products.current_page | integer | 1 | 現在の結果ページ |
products.selected_category | string | "aps" | 検索カテゴリ。apsはすべての部門を意味します |
products.browse_node | null | null | ブラウズノードID。未設定の場合はnull |
products.node_hierarchy | null | null | ノード階層。未設定の場合はnull |
products.result_count | integer | 100000 | Amazonが報告する検索の結果件数 |
products.similar_keywords | array | [] | 類似キーワードのリスト |
products.sort_strategy | string | "relevanceblender" | 使用した並び順キー |
products.search_result_position | integer | 0 | 結果内の順位。カタログのサンプルでは0から開始 |
products.position | integer | 1 | 結果内の順位。カタログのサンプルでは1から開始 |
success | boolean | true | 200 レスポンスでは常に true |
data.query | string | "laptop" | 検索したキーワードをそのまま返したもの |
data.domain_code | string | "com" | 使用したマーケットプレイスのドメインコード |
data.sort_by | string | "relevanceblender" | 使用した並び順キー |
data.page | integer | 1 | このレスポンスのページ番号 |
data.page_size | integer | 16 | 一ページあたりの結果数 |
data.pages_fetched | integer | 1 | この呼び出しで読み取ったAmazonの結果ページ数 |
data.next_cursor | string | "zc1.eNqFU01P..." | 次のページ用に cursor として渡し直します。最後のページでは null |
リクエストパラメーターリファレンス
| 名称 | 種類 | 必須 | デフォルト | 説明 | 例 |
|---|---|---|---|---|---|
query | string | はい | — | 検索キーワード。一回の呼び出しにつき一つ。最初の呼び出しで必須。別名:queries、q、keyword | Playstation |
cursor | string | いいえ | — | 前のレスポンスの data.next_cursor を変更せずに渡し直すと、次のページを取得できます。null は最後のページを意味します | — |
domain_code | string | いいえ | com | Amazonのマーケットプレイス。デフォルトはcom。選択肢:com、co.uk、de、in、ca、it、es、fr(frは制限付きで、502を返すことがあります)。カーソルに固定されます | com |
sort_by | string | いいえ | relevanceblender | Amazonの並び順キー。デフォルトはrelevanceblender。選択肢:relevanceblender、price-asc-rank、price-desc-rank、review-rank、date-desc-rank、exact-aware-popularity-rank。カーソルに固定されます | relevanceblender |
category | string | いいえ | — | 検索カテゴリ(任意) | — |
browse_node | integer | いいえ | — | ブラウズノードID(任意) | — |
node_hierarchy | string | いいえ | — | ノード階層(任意) | — |
max_pages | integer | いいえ | 1 | 最初の呼び出しのみ:先読みするAmazon結果ページの数。デフォルトは1、上限は10。カーソルを使った呼び出しは一ページを返し、結果が少ない場合は補充ページも返します | 1 |
use_proxy | boolean | いいえ | true | Scrapier のレジデンシャルプロキシプール経由で送信します。デフォルトでオンです。そのままにしてください | true |
raw_data | boolean | いいえ | false | 整形済みの項目の代わりに、Amazon の生のアップストリームのペイロードを raw_responses に返します | true |
一回の呼び出しにつきキーワードは一つです。十個のキーワードを検索するなら十回呼び出し、それぞれをcursorでページ送りします。ブール値は文字列のtrueまたはfalseです。
Amazon Search Scraper API のページネーション
Amazon Search Scraper API は結果をページ単位で返します。data.next_cursor を cursor として渡すと次のページが取得できます。null のときはこれ以上ありません。成功した呼び出しは、最初のページでも後続ページでも10クレジットです。
Amazon ログイン不要でアクセス
Amazon Search Scraper API には Amazon アカウントも、ログインも、セッション Cookie も不要です。X-API-Key ヘッダーに Scrapier のキーを入れて送れば JSON が返ります。読み取るのは公開データのみ、つまりログインしていない訪問者に見えるものだけです。
速度、コスト、同時実行
| 指標 | 値 | 出典 |
|---|---|---|
| 成功した呼び出しのコスト | 10 クレジット | Scrapier カタログ |
| 失敗した呼び出しのコスト | 0 クレジット | 2xx 以外のすべてのレスポンス |
| キーごとの並列リクエスト数 | 無制限 | どのプランもレート制限なし |
| 推奨クライアントタイムアウト | 210 秒 | Scrapier ドキュメント(全エンドポイント共通) |
Amazon Search Scraper API のレイテンシ
Scrapier はこのエンドポイントのレイテンシや成功率の数値を公開していません。各呼び出しは呼び出し時に Amazon を読み取るため、応答時間は Amazon と結果の大きさによって決まります。ドキュメントがすべてのエンドポイントに推奨しているとおり、クライアントのタイムアウトは210秒に設定してください。
エンドポイントの制限
Amazon Search Scraper API の正直な制約。
- 公開データのみ。
- 検索結果のページが存在しない、利用できないなどで失敗した呼び出しは 2xx 以外のステータスを返し、0クレジットです。
- データは呼び出し時にライブで読み取ります。
- レート制限はありません。必要なだけ多くのリクエストを並列で実行できます。
- 大きな結果はページに分かれます。
data.next_cursorをcursorとして渡してください。 - Amazon が表示しないフィールドは返されません。
Scrapier と Amazon 公式 API の比較
完全にカスタムなクローラーが必要な場合や、すでに自前のスクレイピング基盤がある場合は、自前構築のほうが自由度は高くなります。Scrapier は、多くのプラットフォームを一つのキーと一つのJSON形式で扱いたいチームに向いています。
| 機能 | Scrapier Amazon Search Scraper | 自作の Amazon スクレイピング |
|---|---|---|
| 必要なアクセス | Scrapier のAPIキー一つ | 自前のプロキシ、パーサー、サーバー |
| 取得できるデータ | 8つのAmazonマーケットプレイスでのキーワードの検索結果 | パーサーが抽出できるもの |
| 返されるフィールド | 結果一件につき33フィールド:ASIN、価格、評価、レビュー、Primeフラグ、順位 | 自分で作り、保守するもの |
| セットアップ | サインアップし、キーをコピーして、リクエストを送るだけ | セレクターの作成、ブロックへの対処、リトライの実装が必要 |
| 費用 | 一回の呼び出しにつき10クレジット、1,000回あたり$1.20から | プロキシ、サーバー、エンジニアリングの工数 |
エラーとリトライ処理
| 状況 | 意味 | 課金 | 対処 |
|---|---|---|---|
| 200 | data.productsで返る検索結果ページのデータ | はい | — |
| 400 | 入力が不正、または不足しています | いいえ | queryを確認してください:一回の呼び出しにつき値は一つ |
| 401 | X-API-Key ヘッダーがありません | いいえ | ヘッダーを追加してください |
| 402 | クレジット不足(ボディに balance が含まれます) | いいえ | チャージしてください。再試行しても解決しません |
| 403 | APIキーが無効、または取り消されています | いいえ | ダッシュボードでキーを確認してください |
| 429 | リクエスト制限中 | いいえ | Retry-After の秒数だけ待ってから再試行してください |
| 5xx | アップストリームの障害またはタイムアウト | いいえ | バックオフを入れて再試行してください。クライアントのタイムアウトは 210 秒に設定します |
エラーリファレンスより。2xx 以外のレスポンスはすべて 0 クレジットです。
Amazon Search Scraper API のリトライ処理
import time, requests def get_search(value, key, tries=5): for attempt in range(tries): r = requests.get( "https://api.scrapier.io/api/v2/amazon-search/", headers={"X-API-Key": key}, params={"query": value}, timeout=210, ) if r.status_code == 429: time.sleep(int(r.headers.get("Retry-After", 2 ** attempt))) elif r.status_code >= 500: time.sleep(2 ** attempt) else: r.raise_for_status() return r.json() raise RuntimeError("gave up after retries")
料金とレート制限
| プラン | 月額料金 | 含まれる検索結果のページ数 | 1,000 件あたりのコスト |
|---|---|---|---|
| Hobby | $29 | 15,000 | $1.93 |
| Pro | $79 | 50,000 | $1.58 |
| Scale | $299 | 250,000 | $1.20 |
Amazon Search Scraper API の課金ルール
Amazon Search Scraper APIは、成功した検索結果ページごとに10クレジットを課金します。失敗した呼び出し(2xx以外のステータス)は0クレジットです。どのプランにもレート制限はありません。無料枠があるので、支払う前に試せます。
一括取得とCSV
queryは、呼び出しごとに値をひとつ受け取ります。リストの場合はループして並列で実行し(レート制限はありません)、各行をCSVのひとつの行にフラット化します。
import csv, requests from concurrent.futures import ThreadPoolExecutor values = ["Playstation"] # your list def fetch(value): r = requests.get( "https://api.scrapier.io/api/v2/amazon-search/", headers={"X-API-Key": "YOUR_API_KEY"}, params={"query": value}, timeout=210, ) r.raise_for_status() out = r.json()["data"]["products"] return out if isinstance(out, list) else [out] # no rate limits: use as many workers as you need with ThreadPoolExecutor(max_workers=3) as pool: rows = [row for part in pool.map(fetch, values) for row in part] cols = ["asin", "product_description", "price", "product_rating", "count_review", "prime"] with open("out.csv", "w", newline="") as f: w = csv.DictWriter(f, fieldnames=cols, extrasaction="ignore") w.writeheader() w.writerows(rows)
Amazon Search Scraper API からの CSV エクスポート
asin,product_description,price,product_rating,count_review,prime B0EXAMPLE10,Lenovo ThinkPad X1 Carbon Gen 11 14\" Laptop,1599.0,4.6 out of 5 stars,1248,true
MCP経由のAIエージェントアクセス
Amazon Search Scraper API の MCP
同じエンドポイントを、Scrapier MCP サーバー https://mcp.scrapier.io/mcp から AI エージェントも利用できます。Claude Code へは次のコマンド一つで登録できます:claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY"。エージェントは search_endpoints でエンドポイントを見つけ、run_scrape とエンドポイント ID amazon-search で呼び出します。入力は同じ query、料金も同じ検索結果一ページにつき10クレジットです。各クライアントの設定方法は Amazon Search Scraper MCP ページにあります。
役割別の連携方法
n8n と Make
- HTTP Request ステップを追加
X-API-Keyヘッダー付きでエンドポイントにGETdata.productsのフィールドを自分の列にマッピングする
ループとページネーション
エージェントのMCPツール
Claude、Cursor、Windsurf からエンドポイント amazon-search を指定して run_scrape を呼び出します。設定は MCP ページにあります。
CSVとフラット化したJSON
各行を、フィールドごとに一列の一行CSVに変換し、Sheets、Excel、BIツールにそのまま取り込めます。
法務とコンプライアンスに関する注意
公開されているウェブページのスクレイピングは多くの国で一般的に合法ですが、何を収集するか、どこにいるか、どう使うかによって判断が変わります。米国では、公開データのスクレイピングに関して最もよく引用されるのがhiQ Labs v. LinkedInの事例です。Scrapierが返すのは、ログインなしで誰でも見られるデータのみです。検索結果に含まれるのは商品と価格のデータであり、個人データではありません。GDPRなどの法律のもとでも公開データの収集は認められる場合がありますが、個人データの保存と利用は現地のデータ保護ルールに従う必要があり、Amazonの利用規約も適用されます。個人データを大量に保存するユースケースの場合は、法律の専門家にご相談ください。これは法的助言ではありません。利用規約をご覧ください。
よくある質問
Amazon の検索結果ページ API はありますか?
はい。Scrapier's の Amazon Search Scraper API は、GET リクエスト一つと X-API-Key ヘッダーだけで、公開されている検索結果のページを JSON で返します。Amazon アプリもログインも不要です。
Python からどう呼び出しますか?
<code>requests.get</code> を <code>https://api.scrapier.io/api/v2/amazon-search/</code> に対して、<code>params={'query': 'Playstation'}</code> と <code>headers={"X-API-Key": KEY}</code> を付けて使います。<code>r.json()["data"]["products"]</code> を読み取ります。
呼び出しが失敗するとどうなりますか?
200 以外のレスポンスはすべて無料です。429 と 5xx はバックオフを入れて再試行してください。アップストリームの障害は API がすでに再試行しています。
料金はいくらですか?
成功した呼び出し一回につき10クレジット。Pro プランなら検索結果1,000ページあたり約$1.58です。失敗した呼び出しは無料です。
OpenAPI仕様はありますか?
はい。キーは不要で、Scrapier のすべてのエンドポイントを網羅しています。