Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Amazon Product Search

Documentación de la API
https://api.sandbase.ai/v1/api/amazon/search-products

Search Amazon marketplace products by keyword or ASIN with country, sort, condition, Prime-only, deals, and page controls.

Precio
$0.014286USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 6 opcionales

Entorno de pruebas

Entrada
Search keyword or ASIN to find Amazon products.
Country code for the Amazon marketplace.
Sort order for Amazon product search results.
Product condition filter for Amazon search results.
Whether to return only Prime-eligible products.
Deals and discounts filter for Amazon search results.
Page number for pagination.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

Amazon Product Search API

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.

Use cases

  • Compare listings for the same keyword across Amazon marketplaces by changing country.
  • Track which products carry the best seller or Amazon's Choice badge for a search term.
  • Find listings that show a discount by setting dealsAndDiscounts to ALL_DISCOUNTS or TODAYS_DEALS.
  • Build a list of ASINs for a keyword and pass them to a product detail lookup.

Request

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.

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword or ASIN to find Amazon products.
countrystringNoCountry code for the Amazon marketplace.
dealsAndDiscountsstringNoDeals and discounts filter for Amazon search results.
isPrimebooleanNoWhether to return only Prime-eligible products.
pageintegerNoPage number for pagination.
productConditionstringNoProduct condition filter for Amazon search results.
sortBystringNoSort order for Amazon product search results.

Example response

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
}

Response fields

FieldMeaning
total_productsNumber of products the search matched.
country / domainAmazon marketplace country code and domain that served the search.
products[].asinAmazon product ID. Use it to look up the product elsewhere.
products[].product_titleListing title as shown in the search results.
products[].product_price / products[].product_original_priceCurrent 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_offersLowest amount among the offers for the product, and the number of offers listed.
products[].currencyCurrency code for the amounts on the listing, for example USD.
products[].product_star_rating / products[].product_num_ratingsAverage star rating as a string, and the count of ratings.
products[].is_best_seller / products[].is_amazon_choice / products[].is_prime / products[].climate_pledge_friendlyBoolean flags for the badges and Prime eligibility shown on the listing.
products[].sales_volumeText such as 1K+ bought in past month.
products[].product_url / products[].product_photoLink to the product page and the main product image URL.

Notes

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.

  • Pass an ASIN such as B0DHJ896RY as keyword to search for a specific product.
  • Use page to get more results. Each response holds one page of products, and total_products shows the overall match count.
  • For full details on one ASIN, call Amazon Product Details.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Amazon$0.014286 por llamadaJSON
AmazonDesde $0.0033 por llamadaJSON
Amazon$0.00015 por llamadaJSON asíncrono
Amazon$0.014286 por llamadaJSON
Amazon$0.014286 por llamadaJSON
AmazonDesde $0.00085 por llamadaJSON

Guías:Best Amazon API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Amazon Product Search?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/amazon/search-products con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Amazon Product Search?

$0.014286 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Amazon Product Search?

Requeridos: keyword (string). Opcionales: country (una de 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 (una de RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, BEST_SELLERS), productCondition (una de ALL, NEW, USED, RENEWED, COLLECTIBLE), isPrime (boolean), dealsAndDiscounts (una de NONE, ALL_DISCOUNTS, TODAYS_DEALS) y page (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Amazon Product Search?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Amazon?

No. Amazon Product Search funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Amazon por separado.

¿Qué campos debo usar para buscar en un marketplace?

Use keyword y, opcionalmente, un código de país compatible. Este endpoint de Product Search también acepta sortBy, productCondition, isPrime, dealsAndDiscounts y un page entero. El endpoint separado Amazon Search usa k y amazon_domain; sus nombres de entrada y su modo de ejecución no son intercambiables con esta solicitud.

¿Esta solicitud de Product Search es síncrona y cómo leo su resultado?

La referencia actual describe este endpoint como síncrono. Después de verificar la respuesta HTTP y el estado completado de la plataforma, lea su carga útil de negocio desde outputs[0].data. La lista de productos documentada está dentro de esa carga útil, no en el nivel superior de la respuesta de la plataforma. El ejemplo del tutorial solo inspecciona las claves de la carga útil; no promete un conjunto fijo de productos ni implementa un analizador completo.

¿Cómo debo manejar las páginas y los precios de producto faltantes?

La solicitud acepta un page entero, y la referencia describe una página de productos por respuesta. No infiera que el recuento total sea un inventario completo o una prueba de que todas las páginas se pueden recuperar. Mantenga los precios faltantes o los valores de precio anterior como desconocidos en lugar de sustituirlos por cero. Conserve la currency, marketplace, query y el momento de observación para comparaciones posteriores. Una cantidad listada no es necesariamente un precio final con impuestos, envío y cupones incluidos.