API di 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 chiamata
Richieste
1
30d
Risposta
1,8s
mediana · 30d

Prezzi

Prezzi dell'API Shopify Products

Paghi
8,50 USD
0,85 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 117 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni Shopify Products in una sola richiesta

Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.
{
  "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"
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-10-25 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo 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.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Shopify Products

L'API Shopify Products di AnyAPI restituisce dati Shopify come JSON normalizzato da una sola chiamata POST a /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 restituisce un unico schema normalizzato qualunque fonte la serva. Costa da 0,85 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate Shopify Products tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,8 secondi su 1 chiamate misurate.

Costa da 0,85 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

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 risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 100,0% delle chiamate Shopify Products tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,8 secondi su 1 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 117 chiamate Shopify Products a 0,00085 USD ciascuna.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/shopify.products con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.