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

Shopify Store Search

Documentación de la API
https://api.sandbase.ai/v1/api/shopify/search

Search one public Shopify store's products by keyword with the store's own search and get its top matches with title, vendor, type, tags, price range, sale price, stock and images. A domain that is not a public Shopify store comes back not found.

Precio
Desde $0.00085USD / llamada
Método
POST
Respuesta
JSON
Parámetros
2 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Search keywords, e.g. "wool" or "hoodie".
Domain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

Shopify Store Search API

Search one public Shopify store's products by keyword with the store's own search and get its top matches with title, vendor, type, tags, price range, sale price, stock and images. A domain that is not a public Shopify store comes back not found.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "shopify/search", "query": "wool", "store": "allbirds.com"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
querystringYesSearch keywords, e.g. "wool" or "hoodie".
storestringYesDomain or URL of a public Shopify store, e.g. allbirds.com or https://kith.com. A store on its own domain is addressed by that domain.

Pricing

Billed at the actual cost of each call, about $0.00085 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
ShopifyDesde $0.00085 por llamadaJSON
ShopifyDesde $0.00085 por llamadaJSON
ShopifyDesde $0.00085 por llamadaJSON
ShopifyDesde $0.00085 por llamadaJSON

Preguntas

FAQ

¿Cómo uso la API de Shopify Store Search?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/shopify/search 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 Shopify Store Search?

Desde $0.00085 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 Shopify Store Search?

Requeridos: query (string) y store (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Shopify Store Search?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica).

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

No. Shopify Store 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 Shopify por separado.