コンテンツにスキップ
ログイン サインアップ

共通パラメータ

これらのパラメータはすべてのAmazonのtypeで共通して使用できます。エンドポイント固有のパラメータ(type=productの場合のasinやseller系タイプのseller_idなど)は各エンドポイントページに記載されています。

パラメータ必須説明
api_keystringyesあなたのSERP APIキー
enginestringyesamazonである必要があります
typestringyes対象となるサーフェス(search、product、bestsellers、deals、category、seller_profile、seller_products、seller_feedback)
domainstringno対象のマーケットプレイス(例:amazon.co.ukamazon.de)。デフォルトはamazon.com
devicedesktop | mobilenoシミュレートするデバイス
pageintegernoページネーション対応タイプのページ番号
outputjson | htmlnoレスポンス形式。デフォルトはjson

デバイスおよびマーケットプレイスの例

Section titled “デバイスおよびマーケットプレイスの例”

米国デスクトップの家電ベストセラー:

Terminal window
curl "https://ecom.shifter.io/v1?engine=amazon&api_key=YOUR_API_KEY&type=bestsellers&category_id=electronics&domain=amazon.com"

ドイツのモバイル検索:

Terminal window
curl "https://ecom.shifter.io/v1?engine=amazon&api_key=YOUR_API_KEY&type=search&q=laptop&domain=amazon.de&device=mobile"

pageは1から始まるインデックスです。レスポンスにnext_page URLが含まれている場合は、そのURLに直接アクセスするか、pageをインクリメントしてください。

Terminal window
# Page 1
curl "https://ecom.shifter.io/v1?engine=amazon&api_key=YOUR_API_KEY&type=search&q=books&page=1"
# Page 2
curl "https://ecom.shifter.io/v1?engine=amazon&api_key=YOUR_API_KEY&type=search&q=books&page=2"