API di Shopify

Shopify Prodotto API

Look up one product on any public Shopify store by its handle or product page URL and get title, vendor, type, tags, description, price range, sale price, stock, images, options and every variant's SKU, price and stock in one normalized response.

POST/v1/run/shopify.product
Disponibilità
100,00%
30d · 1 chiamata
Richieste
1
30d
Risposta
1,4s
mediana · 30d

Prezzi

Prezzi dell'API Shopify Prodotto

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 Prodotto 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": {
    "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.

  • productstring

    mens-strider

    Product handle, the slug after /products/ in the product URL, e.g. mens-strider; the full product page URL also works.

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

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

Risposta

JSON, un valore di esempio per campo.

each itemdata.items[]

The requested product (one record). 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 product was 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.

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

FAQ

Sull'API Shopify Prodotto

L'API Shopify Prodotto di AnyAPI restituisce dati Shopify come JSON normalizzato da una sola chiamata POST a /v1/run/shopify.product. Look up one product on any public Shopify store by its handle or product page URL and get title, vendor, type, tags, description, price range, sale price, stock, images, options and every variant's SKU, price and stock in one normalized response. 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 Prodotto tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,4 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.

Look up one product on any public Shopify store by its handle or product page URL and get title, vendor, type, tags, description, price range, sale price, stock, images, options and every variant's SKU, price and stock in one normalized response. 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 Prodotto tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,4 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 Prodotto a 0,00085 USD ciascuna.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/shopify.product 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.