{"openapi":"3.1.0","info":{"title":"Shopify Store Scraper - Products, Prices & Stock","description":"Any Shopify store's catalogue as clean JSON: products, prices, discounts, variants, stock status and real inventory when public, collections.","version":"v1"},"servers":[{"url":"https://shopify-store-scraper-products-prices-stock.p.rapidapi.com","description":"RapidAPI"}],"paths":{"/v1/shopify/store":{"get":{"tags":["Store"],"summary":"Shopify store details","description":"Name, description, currency, country and city, myshopify domain, and the\nnumber of published products and collections. Also tells you whether a site\nis a Shopify store (400 not_shopify otherwise). 1 credit.","operationId":"getStoreDetails","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","maxLength":2048,"description":"Shopify store (any URL of it, or its domain).","examples":["https://www.allbirds.com"],"title":"Url"},"description":"Shopify store (any URL of it, or its domain)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Store"},"examples":{"Get Store Details":{"summary":"Get Store Details","value":{"url":"https://www.allbirds.com","name":"Allbirds","domain":"www.allbirds.com","myshopify_domain":"weareallbirds.myshopify.com","currency":"USD","country":"US","published_products":1840}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Get Store Details"}},"/v1/shopify/products":{"get":{"tags":["Products"],"summary":"Products of a Shopify store, with prices, variants and stock status","description":"Up to 250 products per call: title, vendor, type, tags, description,\nprices (min, max, compare-at, discount), availability, images, options and\nevery variant with SKU, price and stock status. Page through with `page`\nwhile `has_more` is true. 1 credit.","operationId":"getProducts","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","maxLength":2048,"description":"Shopify store (any URL of it, or its domain).","examples":["https://www.allbirds.com"],"title":"Url"},"description":"Shopify store (any URL of it, or its domain)."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"description":"Page number.","default":1,"title":"Page"},"description":"Page number."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":250,"minimum":1,"description":"Products per page (250 max).","examples":[10],"default":250,"title":"Limit"},"description":"Products per page (250 max)."},{"name":"collection","in":"query","required":false,"schema":{"type":"string","maxLength":200,"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]*$","description":"Collection handle, e.g. 'mens' (see /collections).","examples":["mens"],"title":"Collection"},"description":"Collection handle, e.g. 'mens' (see /collections)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductPage"},"examples":{"Get Products":{"summary":"Get Products","value":{"products":[{"currency":"USD","price_min":98.0,"price_max":110.0,"on_sale":false,"options":[{"name":"Size","values":["8","9","10"]}],"variants":[{"title":"Natural Black / 9","price":98.0,"compare_at_price":120.0,"options":{"Size":"9"}}]}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Get Products"}},"/v1/shopify/product":{"get":{"tags":["Products"],"summary":"One product, with real stock and barcodes when the store exposes them","description":"Everything /products gives for one product, plus each variant's real\ninventory quantity and barcode (GTIN/EAN/UPC) when the store makes them\npublic. 1 credit.","operationId":"getProductWithStock","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","maxLength":2048,"description":"Product page URL (…/products/<handle>).","examples":["https://www.allbirds.com/products/womens-runner-nz-slip-on-light-grey"],"title":"Url"},"description":"Product page URL (…/products/<handle>)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"},"examples":{"Get Product with Stock":{"summary":"Get Product with Stock (real response)","value":{"id":7205196070992,"title":"Women's Runner NZ Slip On - Light Grey (Light Grey Sole)","handle":"womens-runner-nz-slip-on-light-grey","url":"https://www.allbirds.com/products/womens-runner-nz-slip-on-light-grey","vendor":"Allbirds","product_type":"Shoes","currency":"USD","price_min":73.5,"price_max":73.5,"compare_at_price_max":105.0,"on_sale":true,"discount_percent":30,"available":true,"total_inventory":241,"image":"https://cdn.shopify.com/s/files/1/1104/4168/files/A12558_26Q1_Runner-NZ-Slip-On-Light-Grey-Light-Grey_PDP_LEFT_...png","options":[{"name":"Size","values":["5","5.5","6","6.5","7","7.5","8","8.5","9","9.5","10","10.5","11"]}],"variants":[{"id":41271201988688,"title":"5","sku":"A12558W050","barcode":"196942298909","price":73.5,"compare_at_price":105.0,"available":true,"inventory_quantity":15,"options":{"Size":"5"}}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"404":{"description":"Nothing found for this identifier. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Get Product with Stock"}},"/v1/shopify/collections":{"get":{"tags":["Collections"],"summary":"Collections of a Shopify store","description":"Title, handle, URL, description, product count and image of every\npublished collection. 1 credit.","operationId":"getCollections","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","maxLength":2048,"description":"Shopify store (any URL of it, or its domain).","examples":["https://www.allbirds.com"],"title":"Url"},"description":"Shopify store (any URL of it, or its domain)."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Page number (250 per page).","default":1,"title":"Page"},"description":"Page number (250 per page)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionPage"},"examples":{"Get Collections":{"summary":"Get Collections","value":{"collections":[{}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Get Collections"}}},"components":{"schemas":{"Collection":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"handle":{"type":"string","title":"Handle"},"url":{"type":"string","title":"Url"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"products_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Products Count"},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["id","title","handle","url"],"title":"Collection"},"CollectionPage":{"properties":{"store":{"type":"string","title":"Store"},"page":{"type":"integer","title":"Page"},"count":{"type":"integer","title":"Count"},"has_more":{"type":"boolean","title":"Has More"},"collections":{"items":{"$ref":"#/components/schemas/Collection"},"type":"array","title":"Collections"}},"type":"object","required":["store","page","count","has_more","collections"],"title":"CollectionPage"},"ErrorBody":{"properties":{"status":{"type":"integer","title":"Status","examples":[400]},"code":{"type":"string","title":"Code","examples":["invalid_url"]},"message":{"type":"string","title":"Message","examples":["A website URL is required."]}},"type":"object","required":["status","code","message"],"title":"ErrorBody"},"ErrorEnvelope":{"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"type":"object","required":["error"],"title":"ErrorEnvelope"},"Option":{"properties":{"name":{"type":"string","title":"Name","examples":["Size"]},"values":{"items":{"type":"string"},"type":"array","title":"Values","examples":[["8","9","10"]]}},"type":"object","required":["name","values"],"title":"Option"},"Product":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title"},"handle":{"type":"string","title":"Handle"},"url":{"type":"string","title":"Url"},"vendor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor"},"product_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Type"},"tags":{"items":{"type":"string"},"type":"array","title":"Tags"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Plain text, up to 5,000 characters."},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Updated At"},"published_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published At"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","examples":["USD"]},"price_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Min","examples":[98.0]},"price_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Max","examples":[110.0]},"compare_at_price_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Compare At Price Max"},"on_sale":{"type":"boolean","title":"On Sale","description":"A variant is priced below its compare-at price.","default":false},"discount_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Discount Percent","description":"Largest discount among variants."},"available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Available","description":"At least one variant can be bought."},"total_inventory":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Total Inventory","description":"Sum of variant stock, only when the store exposes it."},"image":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image"},"images":{"items":{"type":"string"},"type":"array","title":"Images"},"options":{"items":{"$ref":"#/components/schemas/Option"},"type":"array","title":"Options"},"variants":{"items":{"$ref":"#/components/schemas/Variant"},"type":"array","title":"Variants"}},"type":"object","required":["id","title","handle","url"],"title":"Product"},"ProductPage":{"properties":{"store":{"type":"string","title":"Store","description":"Store URL."},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"collection":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Collection"},"count":{"type":"integer","title":"Count","description":"Products on this page."},"has_more":{"type":"boolean","title":"Has More","description":"Ask page + 1 for more."},"products":{"items":{"$ref":"#/components/schemas/Product"},"type":"array","title":"Products"}},"type":"object","required":["store","page","limit","count","has_more","products"],"title":"ProductPage"},"Store":{"properties":{"url":{"type":"string","title":"Url","examples":["https://www.allbirds.com"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","examples":["Allbirds"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain","examples":["www.allbirds.com"]},"myshopify_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Myshopify Domain","examples":["weareallbirds.myshopify.com"]},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","examples":["USD"]},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country","examples":["US"]},"province":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Province"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"published_products":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Published Products","examples":[1840]},"published_collections":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Published Collections"}},"type":"object","required":["url"],"title":"Store"},"Variant":{"properties":{"id":{"type":"integer","title":"Id"},"title":{"type":"string","title":"Title","examples":["Natural Black / 9"]},"sku":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sku"},"barcode":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Barcode","description":"GTIN/EAN/UPC, when the store exposes it."},"price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price","examples":[98.0]},"compare_at_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Compare At Price","examples":[120.0]},"available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Available"},"inventory_quantity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Inventory Quantity","description":"Real stock, only when the store exposes it (/product)."},"options":{"additionalProperties":{"type":"string"},"type":"object","title":"Options","examples":[{"Size":"9"}]},"weight_grams":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Weight Grams"}},"type":"object","required":["id","title"],"title":"Variant"}},"securitySchemes":{"RapidAPIKey":{"type":"apiKey","in":"header","name":"X-RapidAPI-Key"},"RapidAPIHost":{"type":"apiKey","in":"header","name":"X-RapidAPI-Host"}}},"tags":[{"name":"Store","description":"Store name, currency, country and catalogue size."},{"name":"Products","description":"Catalogue pages, and single products with real stock."},{"name":"Collections","description":"Store collections with their product counts."}],"security":[{"RapidAPIKey":[],"RapidAPIHost":[]}]}