Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Shopify Store Search

Dokumentasi 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.

Harga
Dari $0.00085USD / panggilan
Metode
POST
Respons
JSON
Parameter
2 wajib · 0 opsional

Playground

Input
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.
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README 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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
ShopifyDari $0.00085 per panggilanJSON
ShopifyDari $0.00085 per panggilanJSON
ShopifyDari $0.00085 per panggilanJSON
ShopifyDari $0.00085 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API Shopify Store Search?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/shopify/search dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Shopify Store Search?

Mulai dari $0.00085 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Shopify Store Search?

Wajib: query (string) dan store (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Shopify Store Search?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).

Apakah saya memerlukan akun developer atau kunci API Shopify?

Tidak. Shopify Store Search berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Shopify secara terpisah.