API Shopify

Shopify Products API

List the products of any public Shopify store by its domain, a page at a time, with title, vendor, type, tags, price range, sale price, stock, images, options and every variant's SKU, price and stock. Filter by vendor, type, tag, title, SKU, price, sale, stock or recent arrivals. A domain that is not a public Shopify store comes back not found.

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

Tarifs

Tarifs de l’API Shopify Products

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 Products 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": {
    "hasMore": true,
    "items": [
      {
        "createdUtc": 12.5,
        "currency": "USD",
        "description": "A short example description of this item.",
        "handle": "alex_rivera",
        "image": "https://example.com/image.jpg",
        "images": [
          "https://example.com/image.jpg"
        ],
        "inStock": true,
        "listPrice": 19.99,
        "onSale": true,
        "options": [
          {
            "name": "Example title",
            "values": [
              null
            ]
          }
        ],
        "price": 19.99,
        "priceMax": 19.99,
        "productId": "a1b2c3d4",
        "productType": "general",
        "publishedUtc": 12.5,
        "tags": [
          "example"
        ],
        "title": "Example title",
        "updatedUtc": 12.5,
        "url": "https://example.com/page",
        "variants": [
          {
            "inStock": true,
            "listPrice": 19.99,
            "options": [
              null
            ],
            "price": 19.99,
            "sku": "a1b2c3d4",
            "title": "Example title",
            "variantId": "a1b2c3d4"
          }
        ],
        "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.

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

  • limitinteger

    10

    Products the store is asked for per page (1-250, default 50). The filters below are applied to that page, so a filtered page can hold fewer, even none while hasMore is true.

  • maxPricenumber

    Only products priced at or below this, in the store's currency.

  • minPricenumber

    Only products priced at or above this, in the store's currency.

  • onlyInStockboolean

    Only products with at least one variant in stock.

  • onlyOnSaleboolean

    Only products with at least one discounted variant.

  • pageinteger

    1-based page of the store's product list. Each page is billed as one request.

  • productTypestring

    Only products whose product type contains this text, e.g. "Shoes".

  • publishedWithinDaysinteger

    Only products published to the store within the last this many days.

  • skuContainsstring

    Only products with a variant whose SKU code contains this text.

  • tagsarray

    Only products carrying at least one of these tags.

  • titleContainsstring

    Only products whose title contains this text.

  • vendorstring

    Only products whose vendor (brand) contains this text.

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.

datadata

Product page wrapper, or null when found is false. Filters apply page by page, so a filtered page can come back with an empty items list and hasMore true; keep requesting the next page.

  • hasMoreboolean

    True when another page of the store's products follows this one (request it with page + 1), even when filters left this page empty; null when not reported.

each itemdata.items[]

Products on the requested page, after any filters. Populated whenever the provider has data for the entity.

  • createdUtcnumber

    UTC epoch timestamp in seconds (Unix time) when the product was created. Multiply by 1000 for a JS Date in milliseconds.

  • currencystring

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

  • descriptionstring

    Product description as plain text, or null when the product has none.

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

  • publishedUtcnumber

    UTC epoch timestamp in seconds (Unix time) when the product was published to the store. Multiply by 1000 for a JS Date in milliseconds.

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

  • updatedUtcnumber

    UTC epoch timestamp in seconds (Unix time) when the product was last updated. Multiply by 1000 for a JS Date in milliseconds.

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

each optiondata.items[].options[]

Options the variants differ by, e.g. Size or Color, each with its values; empty when the product has a single variant.

  • namestring

    Option name, e.g. "Size".

  • valuesstring[]

    Values the option takes, in the store's order.

each variantdata.items[].variants[]

Every purchasable variant of the product, e.g. one per size and color. Populated whenever the provider has data for the entity.

  • inStockboolean

    True when this variant can be bought now.

  • listPricenumber

    Regular (compare-at) price when the variant's product is on sale, or null when it is not discounted.

  • optionsstring[]

    This variant's value for each of the product's options, in option order.

  • pricenumber

    Variant price in the store's currency.

  • skustring

    The store's SKU code for the variant, or null when it sets none.

  • titlestring

    Variant title, its option values joined, e.g. "10 / Black".

  • variantIdstring

    Shopify variant id.

top level
  • foundboolean

    True when the page holds at least one product, or when your filters removed every product on this page but later pages remain (items is then empty and hasMore is true). False when this page holds no products and no later pages remain.

  • 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 Products

L’API Shopify Products d’AnyAPI renvoie des données Shopify en JSON normalisé à partir d’un appel POST à /v1/run/shopify.products. List the products of any public Shopify store by its domain, a page at a time, with title, vendor, type, tags, price range, sale price, stock, images, options and every variant's SKU, price and stock. Filter by vendor, type, tag, title, SKU, price, sale, stock or recent arrivals. 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 Products 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é.

List the products of any public Shopify store by its domain, a page at a time, with title, vendor, type, tags, price range, sale price, stock, images, options and every variant's SKU, price and stock. Filter by vendor, type, tag, title, SKU, price, sale, stock or recent arrivals. 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 Products 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 Products à 0,00085 $US chacun.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/shopify.products 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.