{
  "openapi": "3.0.1",
  "info": {
    "title": "Events Scraper (Eventbrite + Luma)",
    "description": "Public events from Eventbrite and Luma in one run: title, dates with time zone, venue, coordinates, organizer, price, tickets, categories and Luma guest counts. Filter by city, keyword, dates, free or online. Bounded retries; failed queries are never charged.",
    "version": "0.1",
    "x-build-id": "33GNAO1czS1bExbDU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/signalclear~events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-signalclear-events-scraper",
        "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/signalclear~events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-signalclear-events-scraper",
        "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/signalclear~events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-signalclear-events-scraper",
        "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",
        "properties": {
          "sources": {
            "title": "Sources",
            "enum": [
              "both",
              "eventbrite",
              "luma"
            ],
            "type": "string",
            "description": "Which event platforms to search. Both runs every location and keyword on Eventbrite and on Luma.",
            "default": "both"
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "One city per line, such as \"Austin, TX\", \"London, United Kingdom\" or \"Berlin\". Eventbrite also accepts its own place slug (\"tx--austin\"). Luma covers its discover cities (about 90 large cities worldwide); for anywhere else, enter \"latitude,longitude\".",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional search terms, one per line (for example \"christmas market\", \"new year's eve\", \"conference\"). Each keyword runs as its own query in every location. Leave empty for all events.",
            "items": {
              "type": "string"
            }
          },
          "dateRange": {
            "title": "Dates",
            "enum": [
              "any",
              "today",
              "tomorrow",
              "this-weekend",
              "this-week",
              "next-week",
              "this-month",
              "custom"
            ],
            "type": "string",
            "description": "Keep events that take place in this window (by the event's local date; presets are computed from today's UTC date). Choose Custom to use the from/to dates below.",
            "default": "any"
          },
          "dateFrom": {
            "title": "From date (custom)",
            "type": "string",
            "description": "First date to include, YYYY-MM-DD. Used only when Dates is Custom."
          },
          "dateTo": {
            "title": "To date (custom)",
            "type": "string",
            "description": "Last date to include, YYYY-MM-DD. Used only when Dates is Custom."
          },
          "onlineOnly": {
            "title": "Online events only",
            "type": "boolean",
            "description": "Keep only online events. On Eventbrite this searches the online-events listing, which is not tied to a place, so locations are ignored there. Luma's discover feed lists mostly in-person events, so expect few Luma results.",
            "default": false
          },
          "freeOnly": {
            "title": "Free events only",
            "type": "boolean",
            "description": "Keep only events marked free. Eventbrite filters server-side; Luma is filtered on its free flag.",
            "default": false
          },
          "maxEventsPerQuery": {
            "title": "Maximum events per query",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "A query is one source x location x keyword. Stop each query after this many matching events.",
            "default": 100
          },
          "includeDescription": {
            "title": "Include full description",
            "type": "boolean",
            "description": "Fetch each event's full description (and Luma categories). Costs one extra request per event, so runs are slower. Off by default; Eventbrite rows always carry the short summary.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum results in total",
            "minimum": 1,
            "type": "integer",
            "description": "Stop the whole run after this many events are saved. Leave empty for no overall limit."
          },
          "maxConcurrency": {
            "title": "Queries in parallel",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Queries fetched at the same time. Higher is faster but more likely to be rate-limited.",
            "default": 3
          },
          "maxAttempts": {
            "title": "Attempts per query",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Each attempt uses a fresh proxy session and resumes where the last one stopped. Queries that still fail are listed in FAILED_QUERIES and are not charged.",
            "default": 3
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "How long to wait for a single HTTP response before the attempt counts as failed and is retried on a fresh session.",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Proxy settings. Eventbrite answers datacenter IPs with HTTP 405, so the default is the Apify RESIDENTIAL group pinned to the US. Luma works on datacenter too; switch to datacenter only for Luma-only runs.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}