keywordstringerforderlich
Search keyword or ASIN to find Amazon products.
https://api.sandbase.ai/v1/api/amazon/search-productsSearch Amazon marketplace products by keyword or ASIN with country, sort, condition, Prime-only, deals, and page controls.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
Returns a page of Amazon search results for a keyword or ASIN. Each product has its ASIN, title, rating, offer count, badges, and delivery text. The only required input is keyword.
country.dealsAndDiscounts to ALL_DISCOUNTS or TODAYS_DEALS.curl -X POST "https://api.sandbase.ai/v1/api/amazon/search-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "iphone"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword or ASIN to find Amazon products. |
country | string | No | Country code for the Amazon marketplace. |
dealsAndDiscounts | string | No | Deals and discounts filter for Amazon search results. |
isPrime | boolean | No | Whether to return only Prime-eligible products. |
page | integer | No | Page number for pagination. |
productCondition | string | No | Product condition filter for Amazon search results. |
sortBy | string | No | Sort order for Amazon product search results. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"country": "US",
"domain": "www.amazon.com",
"products": [
{
"asin": "B0HJHXTRFN",
"climate_pledge_friendly": false,
"currency": "USD",
"delivery": "FREE delivery Thu, Nov 5Or fastest delivery Tomorrow, Nov 4",
"has_variations": true,
"is_amazon_choice": false,
"is_best_seller": false,
"is_prime": false,
"product_minimum_offer_price": "$1,549.00",
"product_num_offers": 1,
"product_num_ratings": 13,
"product_original_price": null
}
],
"total_products": 259
}
| Field | Meaning |
|---|---|
total_products | Number of products the search matched. |
country / domain | Amazon marketplace country code and domain that served the search. |
products[].asin | Amazon product ID. Use it to look up the product elsewhere. |
products[].product_title | Listing title as shown in the search results. |
products[].product_price / products[].product_original_price | Current listed amount and the earlier amount shown before a discount, both as formatted strings with a currency symbol. The original amount is null when no discount is shown. |
products[].product_minimum_offer_price / products[].product_num_offers | Lowest amount among the offers for the product, and the number of offers listed. |
products[].currency | Currency code for the amounts on the listing, for example USD. |
products[].product_star_rating / products[].product_num_ratings | Average star rating as a string, and the count of ratings. |
products[].is_best_seller / products[].is_amazon_choice / products[].is_prime / products[].climate_pledge_friendly | Boolean flags for the badges and Prime eligibility shown on the listing. |
products[].sales_volume | Text such as 1K+ bought in past month. |
products[].product_url / products[].product_photo | Link to the product page and the main product image URL. |
For two separate Python requests—a keyword search and a manually selected ASIN lookup—see the Amazon research walkthrough. Choose this endpoint's country-code parameters rather than the other Search variant's k and amazon_domain fields.
B0DHJ896RY as keyword to search for a specific product.page to get more results. Each response holds one page of products, and total_products shows the overall match count.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/amazon/search-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sortBy": "RELEVANCE",
"country": "US",
"isPrime": false,
"keyword": "iphone",
"productCondition": "ALL",
"dealsAndDiscounts": "NONE"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
keywordstringerforderlichSearch keyword or ASIN to find Amazon products.
countrystringCountry code for the Amazon marketplace.
Standard: "US"
Mögliche Werte: US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE
sortBystringSort order for Amazon product search results.
Standard: "RELEVANCE"
Mögliche Werte: RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS
productConditionstringProduct condition filter for Amazon search results.
Standard: "ALL"
Mögliche Werte: ALL, NEW, USED, RENEWED, COLLECTIBLE
isPrimebooleanWhether to return only Prime-eligible products.
Standard: false
dealsAndDiscountsstringDeals and discounts filter for Amazon search results.
Standard: "NONE"
Mögliche Werte: NONE, ALL_DISCOUNTS, TODAYS_DEALS
pageintegerPage number for pagination.
Standard: 1
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Amazon Product SearchDiese API Amazon | $0.014286 pro Aufruf | JSON |
Amazon | Ab $0.0033 pro Aufruf | JSON |
Amazon | $0.00015 pro Aufruf | Asynchrones JSON |
Amazon | $0.014286 pro Aufruf | JSON |
Amazon | $0.014286 pro Aufruf | JSON |
Amazon | Ab $0.00085 pro Aufruf | JSON |
Anleitungen:Best Amazon API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/amazon/search-products mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.014286 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: keyword (string). Optional: country (eines von US, AU, BR, CA, CN, FR, DE, IN, IT, MX, NL, SG, ES, TR, AE, GB, JP, SA, PL, SE, BE, EG, ZA, IE), sortBy (eines von RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS), productCondition (eines von ALL, NEW, USED, RENEWED, COLLECTIBLE), isPrime (boolean), dealsAndDiscounts (eines von NONE, ALL_DISCOUNTS, TODAYS_DEALS) und page (integer). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Amazon Product Search läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Amazon API beantragen.
Verwenden Sie keyword und optional einen unterstützten Ländercode. Dieser Product Search-Endpunkt akzeptiert außerdem sortBy, productCondition, isPrime, dealsAndDiscounts und eine Integer-Seite. Der separate Amazon Search-Endpunkt verwendet k und amazon_domain; seine Eingaben und sein Ausführungsmodus sind für diese Anfrage nicht austauschbar.
Die aktuelle Referenz beschreibt diesen Endpunkt als synchron. Nachdem Sie die HTTP-Antwort und einen abgeschlossenen Plattformstatus geprüft haben, lesen Sie die Geschäftsdaten aus outputs[0].data. Die dokumentierte Produktliste befindet sich in diesem Payload, nicht auf der obersten Ebene der Plattformantwort. Das Beispiel im Tutorial prüft nur die Payload-Keys; es verspricht weder einen festen Produktumfang noch implementiert es einen vollständigen Parser.
Die Anfrage akzeptiert eine Integer-Seite, und die Referenz beschreibt eine Produktseite pro Antwort. Leiten Sie nicht daraus ab, dass die Gesamtanzahl ein vollständiger Bestand ist oder beweist, dass jede Seite abrufbar ist. Behandeln Sie fehlende Preise oder frühere Preiswerte als unbekannt, statt sie durch null zu ersetzen. Bewahren Sie Währung, Marktplatz, Suchanfrage und Beobachtungszeit für spätere Vergleiche auf. Ein angegebener Betrag ist nicht zwingend ein Endpreis inklusive Steuern, Versand und Coupons.