{
  "openapi": "3.0.1",
  "info": {
    "title": "Fourthwall Shop Products & Price Monitor",
    "description": "Export public Fourthwall shop products, variants, prices, stock, descriptions and images, or track reliable catalog changes with explicit coverage.",
    "version": "0.3",
    "x-build-id": "qkGHWmRnihhoBeNCc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/luminar~fourthwall-shop-products-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-luminar-fourthwall-shop-products-monitor",
        "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/luminar~fourthwall-shop-products-monitor/runs": {
      "post": {
        "operationId": "runs-sync-luminar-fourthwall-shop-products-monitor",
        "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/luminar~fourthwall-shop-products-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-luminar-fourthwall-shop-products-monitor",
        "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": [
          "workflow"
        ],
        "properties": {
          "workflow": {
            "title": "Workflow",
            "enum": [
              "collect",
              "monitor"
            ],
            "type": "string",
            "description": "Collect returns current public products. Track changes creates or compares a baseline.",
            "default": "collect"
          },
          "shopUrls": {
            "title": "Fourthwall shop URLs",
            "maxItems": 25,
            "type": "array",
            "description": "Public Fourthwall shop domains, including creator custom domains. The Actor verifies the public Fourthwall catalog contract before returning rows.",
            "items": {
              "type": "string"
            },
            "default": [
              "https://shop.fourthwall.com"
            ]
          },
          "maxProducts": {
            "title": "Maximum products",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Maximum unique current products across every requested shop and exact product target.",
            "default": 50
          },
          "maxBuyerChargeUsd": {
            "title": "Maximum buyer charge",
            "minimum": 0.01,
            "maximum": 1000,
            "type": "number",
            "description": "The Actor refuses to start if the active worst-case event-price vector exceeds this amount.",
            "default": 1
          },
          "productUrls": {
            "title": "Exact product URLs",
            "maxItems": 25,
            "type": "array",
            "description": "Public Fourthwall product links on creator domains. Login-only, hidden, archived, customer, and order data are never accessed.",
            "items": {
              "type": "string"
            }
          },
          "firstRunBehavior": {
            "title": "First monitoring run",
            "enum": [
              "seed_only",
              "emit_current_as_new"
            ],
            "type": "string",
            "description": "This choice does not add source work or runtime and does not change the monitoring-target price. Seed only creates a Baseline with no paid change rows; Return current products as NEW emits Changes and each delivered row uses the change-row price.",
            "default": "seed_only"
          },
          "stateNamespace": {
            "title": "Monitoring scope name",
            "pattern": "^[A-Za-z0-9._~-]{1,64}$",
            "type": "string",
            "description": "Separates independent baselines. Keep this unchanged for repeat runs of the same shop set and limits.",
            "default": "default"
          },
          "detailLevel": {
            "title": "Detail level",
            "enum": [
              "core",
              "detailed"
            ],
            "type": "string",
            "description": "Detailed opens each public product page, adding source requests and runtime. In Collect, complete Detailed rows use the detailed-row price while source-valid fallbacks use the cheaper Core price; in Track changes, delivered Changes use the change-row price and detail pages add only source work and runtime.",
            "default": "detailed"
          },
          "maxProductsPerShop": {
            "title": "Maximum products per shop",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum products kept from each shop before coverage becomes CAPPED.",
            "default": 250
          },
          "maxPagesPerShop": {
            "title": "Maximum catalog pages per shop",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum public catalog pages requested per shop.",
            "default": 15
          },
          "maxDetailRequests": {
            "title": "Maximum detailed products",
            "minimum": 0,
            "maximum": 250,
            "type": "integer",
            "description": "Used only by Detailed mode. Maximum products cannot exceed this value in Detailed mode.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}