{
  "openapi": "3.0.1",
  "info": {
    "title": "Shopify Product Scraper — Prices, Inventory & Variants",
    "description": "Export public Shopify products, prices, variants, SKUs and availability. Optional published inventory, product panels and recommendations, charged when returned. JSON/CSV/Excel, market context and coverage reports. From $0.70/1,000 products. No Shopify API key.",
    "version": "1.1",
    "x-build-id": "f1mpB3dKgS3LjwRAt"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/myworkingmemory~shopify-store-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-myworkingmemory-shopify-store-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/myworkingmemory~shopify-store-extractor/runs": {
      "post": {
        "operationId": "runs-sync-myworkingmemory-shopify-store-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/myworkingmemory~shopify-store-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-myworkingmemory-shopify-store-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Store, collection or product URLs",
            "minItems": 1,
            "maxItems": 50,
            "type": "array",
            "description": "1–50 public Shopify store, collection or product URLs as strings or {\"url\":\"https://store.com\"} objects. Bare domains and locale paths are accepted. Invalid destinations are isolated in the coverage report. No Shopify API key required."
          },
          "maxProducts": {
            "title": "Maximum products per run",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Global new-product cap across inputs. 0 removes this output cap; page, request, time and monetary limits still apply.",
            "default": 100
          },
          "query": {
            "title": "Filter products by keyword",
            "type": "string",
            "description": "Case-insensitive match against title, vendor, product type and tags. Scans catalog pages and only bills matching saved products.",
            "default": ""
          },
          "includeInventory": {
            "title": "Published inventory counts (+$0.001/product when available)",
            "type": "boolean",
            "description": "Read numeric inventory counts only when exposed in public product JSON. Unknown counts are never inferred from availability and are not billed.",
            "default": false
          },
          "includeInfoPanels": {
            "title": "Product information panels (+$0.001/product when available)",
            "type": "boolean",
            "description": "Extract labeled details/accordions and supported accessible panels from product HTML. Theme coverage varies; empty results are not billed.",
            "default": false
          },
          "maxRecommendations": {
            "title": "Recommended products per product (+$0.001 each returned)",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "0 disables recommendations. Reads Shopify related-product recommendations, deduplicated per parent product.",
            "default": 0
          },
          "maxPagesPerStore": {
            "title": "Maximum catalog pages per input URL",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Safety cap for pagination, 250 requested products/page. SUMMARY reports if this cap is reached.",
            "default": 400
          },
          "maxProductsPerStore": {
            "title": "Maximum products per input URL",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "0 disables this cap. A capped input does not prevent remaining input URLs from running.",
            "default": 0
          },
          "maxUnproductivePages": {
            "title": "Consecutive pages without keyword matches",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Stops unproductive filtered scans with an explicit limited status. Overlapping outputs do not prematurely terminate pagination.",
            "default": 10
          },
          "maxEnrichmentRequests": {
            "title": "Additional enrichment request cap",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Limits optional product-detail, inventory, panel and recommendation requests. Unavailable enrichment is not charged.",
            "default": 1000
          },
          "maxRequests": {
            "title": "Total request cap",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Bounds catalog and enrichment HTTP operations, independently of output count. Retries remain separately bounded.",
            "default": 2000
          },
          "maxRunSeconds": {
            "title": "Extraction time limit in seconds",
            "minimum": 30,
            "maximum": 3600,
            "type": "integer",
            "description": "Stops requesting new pages after this elapsed time and saves partial results. Apify run timeout also applies.",
            "default": 900
          },
          "includeStorefrontDetails": {
            "title": "Additional storefront details",
            "type": "boolean",
            "description": "Fetch public product details, selling plans and tokenless GraphQL variant/price context where available. No extra event fee; subject to enrichment limits.",
            "default": false
          },
          "includeCollections": {
            "title": "Collection metadata",
            "type": "boolean",
            "description": "Include collection identity when extracting a collection. This does not discover every collection containing a product.",
            "default": false
          },
          "countryCode": {
            "title": "Market country code",
            "pattern": "^[A-Z]{2}$",
            "type": "string",
            "description": "Optional ISO country code, such as DK or DE. Uses tokenless Storefront queries with explicit market context; availability and assortment may differ."
          },
          "datasetId": {
            "title": "Append to an existing dataset",
            "type": "string",
            "description": "Optional existing dataset ID or name. Also writes the default run dataset. Appending does not charge another product event."
          },
          "parentRunId": {
            "title": "Resume a finished run",
            "type": "string",
            "description": "Parent run ID from SUMMARY.resume. Also select its dataset and key-value store below. Targets, market, query and extras must match; output limits may increase."
          },
          "parentDatasetId": {
            "title": "Parent product dataset",
            "type": "string",
            "description": "Select the parent run dataset from SUMMARY.resume. Previously saved product keys are not charged again in the child run."
          },
          "parentStoreId": {
            "title": "Parent checkpoint store",
            "type": "string",
            "description": "Select the parent key-value store from SUMMARY.resume. Read-only access is used for checkpoints; parent charges are never retried."
          },
          "proxyRecovery": {
            "title": "Optional catalog proxy recovery",
            "enum": [
              "none"
            ],
            "type": "string",
            "description": "Paid proxy routes are disabled in this release: the acceptance test did not recover additional products profitably. Direct HTTP and tokenless GraphQL recovery are active.",
            "default": "none"
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}