API Hop ドキュメント
Home Depot API リファレンス
Home Depot の商品を検索し、商品詳細とレビューを取得します。
同時実行上限
AI と Data はそれぞれアカウント全体の同時実行枠を共有します。既定値は AI 5 / Data 2 で、サブスクリプションにより変わります。エンドポイント別の設定もカテゴリ全体の上限を超えられません。いずれかの上限に達すると HTTP 429 を返します。非同期タスクは実行終了まで枠を使用します。
GET /v1/home-depot/search GET /v1/home-depot/product GET /v1/home-depot/reviews Home Depot の商品を検索し、商品詳細とレビューを取得します。
認証と料金
既定料金は成功したリクエストごとに $0.0003(300 credits)です。 API Hop API キーを使用します。利用可否は有効なゲートウェイと権限によります。成功したリクエストの料金はカタログとアカウントを確認してください。個別料金が優先され、成功した空の結果も課金されます。失敗時は予約額を解放します。タイムアウトは 60 秒で、自動再試行と自動ページングはありません。精算失敗による再呼び出しも行いません。
Authorization: Bearer YOUR_API_KEYHome Depot: 商品を検索
GET https://api.apihop.ai/v1/home-depot/search
パラメーター
| フィールド | 型 | 制約 | 例 |
|---|---|---|---|
query | string | 検索語; query: REQUIRED | coffee |
page | integer | ページ番号(1 から); page: optional; min: 1; max: 1000 | 1 |
device | string | 端末; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | レスポンスを保存しない; zero_trace: optional | true |
country | string | 国または店舗コード (country); country: optional; us, ca; ^[A-Za-z]{2}$ | us |
store | string | 固有の検索フィルター (store); country=ca; 既定値: 7140; store: optional; ^[0-9]{1,6}$ | - |
sort | string | 固有の並び順 (sort); sort: optional; price-asc, price-desc, reviewAvgRating, relevance | price-asc |
filter | string | 固有の検索フィルター (filter); filter: optional; ^[A-Za-z0-9]+(-[A-Za-z0-9]+){0,49}$ | - |
minmax | string | 範囲(最小値または最小値,最大値) (minmax); 例: price:[100 TO 500], price:[100 TO *]; minmax: optional; UTF-8 bytes: 200 | - |
pagesize | integer | ページあたりの結果数 (pagesize); pagesize: optional; min: 1; max: 40 | 1 |
delivery_zip | string | 配送先の郵便番号 (delivery_zip); delivery_zip: optional; ^[0-9]{5}$ | - |
store_id | string | 固有の検索フィルター (store_id); store_id: optional; ^[0-9]{1,4}$ | - |
hd_sort | string | 固有の並び順 (hd_sort); hd_sort: optional; top_sellers, price_low_to_high, price_high_to_low, top_rated, best_match | top_sellers |
hd_filter_tokens | string | 固有の検索フィルター (hd_filter_tokens); hd_filter_tokens: optional; UTF-8 bytes: 1000; ^[a-z0-9]+(,[a-z0-9]+){0,49}$ | - |
ps | integer | ページあたりの結果数 (ps); ps: optional; min: 1; max: 24 | 1 |
nao | integer | 固有の検索フィルター (nao); nao: optional; min: 0; max: 720 | 0 |
lowerbound | integer | 最低価格 (lowerbound); lowerbound: optional; min: 0; max: 2147483647 | 0 |
upperbound | integer | 最高価格 (upperbound); upperbound: optional; min: 1; max: 2147483647 | 1 |
入力検証
クエリパラメーターのみ受け付け、本文は使用しません。不明、重複、空、無効な値は拒否されます。JSON のみ対応し、自動ページ取得や再試行は行いません。規則: AND = 両方、OR = または、XOR = いずれか一つ、NOT = 不可、=> = 必須。
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/lowerbound <= upperboundpage > 1 => NOT nao AND NOT startcountry = ca => NOT delivery_zip AND NOT store_id AND NOT hd_sort AND NOT hd_filter_tokens AND NOT ps AND NOT nao AND NOT lowerbound AND NOT upperboundcountry = us (default) => NOT store AND NOT sort AND NOT filter AND NOT minmax AND NOT pagesize
例
curl --get "https://api.apihop.ai/v1/home-depot/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=coffee"Home Depot: 商品詳細を取得
GET https://api.apihop.ai/v1/home-depot/product
パラメーター
| フィールド | 型 | 制約 | 例 |
|---|---|---|---|
id | string | 検索結果の商品または販売者識別子 (id); id: REQUIRED | 336764862 |
device | string | 端末; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | レスポンスを保存しない; zero_trace: optional | true |
delivery_zip | string | 配送先の郵便番号 (delivery_zip); delivery_zip: optional; ^[0-9]{5}$ | - |
store_id | string | 固有の検索フィルター (store_id); store_id: optional; ^[0-9]{1,4}$ | - |
入力検証
クエリパラメーターのみ受け付け、本文は使用しません。不明、重複、空、無効な値は拒否されます。JSON のみ対応し、自動ページ取得や再試行は行いません。規則: AND = 両方、OR = または、XOR = いずれか一つ、NOT = 不可、=> = 必須。
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/id: /^[0-9]{1,30}$/
例
curl --get "https://api.apihop.ai/v1/home-depot/product" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=336764862"Home Depot: レビューを取得
GET https://api.apihop.ai/v1/home-depot/reviews
パラメーター
| フィールド | 型 | 制約 | 例 |
|---|---|---|---|
id | string | 検索結果の商品または販売者識別子 (id); id: REQUIRED | 336764862 |
page | integer | ページ番号(1 から); page: optional; min: 1; max: 100 | 1 |
device | string | 端末; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | レスポンスを保存しない; zero_trace: optional | true |
term | string | 固有の検索フィルター (term); term: optional; UTF-8 bytes: 1000 | - |
rating | string | 星の数(カンマ区切り); rating: optional; ^[1-5](,[1-5]){0,4}$ | - |
sort_by | string | 並び順; sort_by: optional; photoreview, mosthelpfull, oldest, newest, highestrating, lowestrating | photoreview |
verified_purchases | boolean | 固有の検索フィルター (verified_purchases); verified_purchases: optional | true |
start | integer | 結果のオフセット; start: optional; min: 1; max: 100001 | 1 |
pagesize | integer | ページあたりの結果数 (pagesize); pagesize: optional; min: 1; max: 100 | 1 |
入力検証
クエリパラメーターのみ受け付け、本文は使用しません。不明、重複、空、無効な値は拒否されます。JSON のみ対応し、自動ページ取得や再試行は行いません。規則: AND = 両方、OR = または、XOR = いずれか一つ、NOT = 不可、=> = 必須。
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/NOT (page AND start)page > 1 => NOT nao AND NOT startid: /^[0-9]{1,30}$/
例
curl --get "https://api.apihop.ai/v1/home-depot/reviews" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=336764862"レスポンスとエラー
元の JSON と数値精度を保持します。例は空の成功結果です。HTTP 400: 入力、401: 認証、402: 残高、403: アクセス、405: メソッド、429: 制限、5xx: 障害。X-Request-Id を保存してください。
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}