Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Home Depot Product

Dokumentacja API
https://api.sandbase.ai/v1/api/home-depot/product

Get a Home Depot product by product ID: title, brand, model number, UPC, price, specifications, images, fulfillment and ratings, localized by store or ZIP.

Cena
$0.015USD / wywołanie
Metoda
POST
Odpowiedź
Asynchroniczny JSON
Parametry
1 wymaganych · 3 opcjonalnych

Playground

Wejście
The Home Depot identifier of a product. Only Product IDs gathered from the Home Depot US are supported.
Store ID to filter the products by the specific store only.
ZIP Postal code. To filter the shipping products by a selected area.
The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Home Depot Product

Get a Home Depot product by product ID: title, brand, model number, UPC, price, specifications, images, fulfillment and ratings, localized by store or ZIP.

Request

curl -X POST "https://api.sandbase.ai/v1/api/home-depot/product" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id": "310009453"}'

This API runs asynchronously. The call returns a task id with status pending; poll GET https://api.sandbase.ai/v1/run/{id} until status is completed and read the result from outputs[0].data.

Parameters

NameTypeRequiredDescription
product_idstring/number/booleanYesThe Home Depot identifier of a product. Only Product IDs gathered from the Home Depot US are supported.
delivery_zipstring/number/booleanNoZIP Postal code. To filter the shipping products by a selected area.
json_restrictorstring/number/booleanNoThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
store_idstring/number/booleanNoStore ID to filter the products by the specific store only.

Pricing

Flat price per call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Home Depot$0.015 za wywołanieAsynchroniczny JSON
Home Depot$0.015 za wywołanieAsynchroniczny JSON
Home Depot$0.015 za wywołanieAsynchroniczny JSON

Pytania

FAQ

Jak używać API Home Depot Product?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/home-depot/product z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Home Depot Product?

$0.015 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Home Depot Product?

Wymagane: product_id (string | number | boolean). Opcjonalne: store_id (string | number | boolean), delivery_zip (string | number | boolean) i json_restrictor (string | number | boolean). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Home Depot Product?

Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik.

Czy potrzebuję konta deweloperskiego Home Depot lub klucza API?

Nie. Home Depot Product działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Home Depot.