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

Google Product API

既知の商品IDを使用して、Google Shoppingの商品ページから商品詳細を取得します。engine=google_product を設定し、product_id を渡します。必要に応じて offersspecsreviews フラグを有効にすることでレスポンスを拡張できます。

GET https://serp.shifter.io/v1?engine=google_product&api_key=YOUR_API_KEY
ParameterTypeRequiredDescription
api_keystringyesあなたのSERP APIキー
enginestringyesgoogle_product を指定する必要があります
product_idstringyesGoogleのプロダクトID
devicestringnodesktopmobile、または tablet
google_domainstringno使用するGoogleドメイン
locationstringnoジオターゲティングの地域名
uulestringnoGoogleエンコード済みの位置情報文字列
hlstringnoインターフェース言語コード
glstringno国コード
startintnoページネーションのための結果オフセット
offersintnoオファーを取得するには 1 または true を設定
specsintno商品仕様を取得するには 1 または true を設定
reviewsintno商品レビューを取得するには 1 または true を設定
filterstringnoオファーを絞り込みます。値: freeship:1ucond:1scoring:pscoring:tpscoring:cpdscoring:mrd
Terminal window
curl "https://serp.shifter.io/v1?engine=google_product&api_key=YOUR_API_KEY&product_id=11607214845071611155"
{
"search_parameters": {
"engine": "google_product",
"product_id": "11607214845071611155"
},
"product_results": {
"title": "Sony WH-1000XM5 Wireless Noise Cancelling Headphones",
"prices": ["$349.00 - $399.99"],
"rating": 4.7,
"reviews": 2341,
"extensions": ["Wireless", "Noise Cancelling"],
"description": "Industry leading noise cancellation...",
"media": [ { "type": "image", "link": "https://..." } ]
},
"sellers_results": {
"online_sellers": [
{ "name": "Best Buy", "total_price": "$349.00" }
]
}
}