API Shopify

Shopify Recherche 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.

POST/v1/run/shopify.search
Disponibilité
100,00%
30d · 1 appel
Requêtes
1
30d
Réponse
1,8s
médiane · 30d

Tarifs

Tarifs de l’API Shopify Recherche

Vous payez
8,50 $US
0,85 $US/1k req, seulement pour ce que vous utilisez. Aucun forfait mensuel.
Vos 117 premières requêtes sont gratuites avec le solde de départ de 0,10 $US.

Essayer

Obtenez Shopify Recherche en une requête

Ouvrir dans
Obtenir une clé gratuite
Exemple de réponse
Les exécutions gratuites ne renvoient que les 3 premiers résultats. Alimentez une clé pour obtenir la réponse complète.
{
  "data": {
    "items": [
      {
        "currency": "USD",
        "handle": "alex_rivera",
        "image": "https://example.com/image.jpg",
        "images": [
          "https://example.com/image.jpg"
        ],
        "inStock": true,
        "listPrice": 19.99,
        "onSale": true,
        "price": 19.99,
        "priceMax": 19.99,
        "productId": "a1b2c3d4",
        "productType": "general",
        "tags": [
          "example"
        ],
        "title": "Example title",
        "url": "https://example.com/page",
        "vendor": "example"
      }
    ]
  },
  "found": true,
  "reason": "not_found"
}

Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.

Référence

Une requête, une seule forme de réponse.

Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.

Dernière vérification : 2026-10-25 · disponibilité et latence mesurées sur 30d

Corps de la requête

JSON, envoyé à cet endpoint.

  • querystring

    wool

    Search keywords, e.g. "wool" or "hoodie".

  • storestring

    allbirds.com

    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.

Vous envoyez. Un petit corps JSON. Les valeurs affichées sont des exemples à remplacer par les vôtres.

Réponse

JSON, une valeur d’exemple par champ.

each itemdata.items[]

The store's top matches for the query, in its own order; Shopify's store search returns at most 10. Populated whenever the provider has data for the entity.

  • currencystring

    Price currency code, e.g. "USD", or null when the store does not state it.

  • handlestring

    Product handle, the slug after /products/ in the product URL; pass it to the Shopify Product SKU for the full product. Populated whenever the provider has data for the entity.

  • imagestring

    Main product image URL, or null when the product has no image. Populated whenever the provider has data for the entity.

  • imagesstring[]

    All product image URLs, main image first; empty when the product has none. Populated whenever the provider has data for the entity.

  • inStockboolean

    True when at least one variant can be bought now. Populated whenever the provider has data for the entity.

  • listPricenumber

    Lowest regular (compare-at) price when the product is on sale, or null when it is not discounted.

  • onSaleboolean

    True when at least one variant is priced below its regular price. Populated whenever the provider has data for the entity.

  • pricenumber

    Lowest variant price in the store's currency. Populated whenever the provider has data for the entity.

  • priceMaxnumber

    Highest variant price in the store's currency; equals price when every variant costs the same. Populated whenever the provider has data for the entity.

  • productIdstring

    Shopify product id. Populated whenever the provider has data for the entity.

  • productTypestring

    Product type the store assigns, e.g. "Shoes", or null when it sets none.

  • tagsstring[]

    Tags the store attaches to the product, as the store writes them; empty when it has none. Populated whenever the provider has data for the entity.

  • titlestring

    Product title. Populated whenever the provider has data for the entity.

  • urlstring

    Product page URL with tracking query parameters removed. Populated whenever the provider has data for the entity.

  • vendorstring

    Vendor (brand) the store lists the product under, or null when it sets none. Populated whenever the provider has data for the entity.

top level
  • foundboolean

    True when results were found.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Vous recevez. Des champs nommés et typés, dans la même forme quelle que soit la source qui répond.

FAQ

À propos de l’API Shopify Recherche

L’API Shopify Recherche d’AnyAPI renvoie des données Shopify en JSON normalisé à partir d’un appel POST à /v1/run/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. AnyAPI renvoie un schéma normalisé unique quelle que soit la source qui répond. Elle coûte à partir de 0,85 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 100,0% des appels Shopify Recherche passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,8 secondes, sur 1 appels mesurés.

Elle coûte à partir de 0,85 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Vous alimentez un portefeuille en USD et chaque appel le débite. Certaines requêtes échouées financées par le portefeuille entraînent des frais de traitement que nous répercutons au prix coûtant, sans marge ; la réponse d’erreur indique le montant facturé.

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. La réponse est du JSON normalisé avec la même enveloppe que celle de tous les endpoints AnyAPI, donc analyser un second endpoint revient à changer l’URL et rien d’autre.

Ces 30 derniers jours, 100,0% des appels Shopify Recherche passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,8 secondes, sur 1 appels mesurés. Ce sont les propres mesures d’AnyAPI du trafic passant par la passerelle, recalculées en continu, et non un objectif de niveau de service publié.

Oui. Un nouveau compte AnyAPI démarre avec 0,10 $US de solde gratuit, sans carte, ce qui couvre 117 appels Shopify Recherche à 0,00085 $US chacun.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/shopify.search avec votre clé AnyAPI dans un en-tête « Authorization: Bearer » et l’entrée en corps JSON. La même clé et le même portefeuille fonctionnent sur tous les endpoints AnyAPI.

Non. Vous ajoutez des dollars US à un solde AnyAPI prépayé unique et chaque requête le débite. Il n’y a ni forfait mensuel ni minimum, et le même solde paie tous les endpoints AnyAPI.

Oui. Installez @getanyapi/sdk depuis npm pour TypeScript ou getanyapi depuis pip pour Python. Les deux appellent chaque endpoint AnyAPI avec la même clé, et n’importe quel client HTTP fonctionne aussi.

Oui. Un agent peut se connecter au serveur MCP d’AnyAPI à https://api.getanyapi.com/mcp, ou créer sa propre clé d’essai gratuit avec un seul POST non authentifié vers https://api.getanyapi.com/agent/signup et appeler cet endpoint en HTTP.