Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

Shopify Store Search

Docs da 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.

Preço
A partir de $0.00085USD / chamada
Método
POST
Resposta
JSON
Parâmetros
2 obrigatórios · 0 opcionais

Playground

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.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da 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 mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
ShopifyA partir de $0.00085 por chamadaJSON
ShopifyA partir de $0.00085 por chamadaJSON
ShopifyA partir de $0.00085 por chamadaJSON
ShopifyA partir de $0.00085 por chamadaJSON

Perguntas

FAQ

Como eu uso a API Shopify Store Search?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/shopify/search com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API Shopify Store Search?

A partir de $0.00085 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API Shopify Store Search aceita?

Obrigatórios: query (string) e store (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API Shopify Store Search retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).

Preciso de uma conta de desenvolvedor Shopify ou de uma chave de API?

Não. Shopify Store Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Shopify separadamente.