{
  "openapi": "3.0.1",
  "info": {
    "title": "Eventbrite Scraper - Events, Venues & Organizer Leads",
    "description": "Scrape Eventbrite events with full venue addresses and map coordinates, or switch to organizer mode for a deduplicated lead list of event organizers with the website and social links they published, their event count, cities and ticket price band.",
    "version": "0.1",
    "x-build-id": "5blr8j4UFRxdYeufk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/webdata_labs~eventbrite-organizer-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-webdata_labs-eventbrite-organizer-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/webdata_labs~eventbrite-organizer-scraper/runs": {
      "post": {
        "operationId": "runs-sync-webdata_labs-eventbrite-organizer-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/webdata_labs~eventbrite-organizer-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-webdata_labs-eventbrite-organizer-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": {
          "places": {
            "title": "Places",
            "type": "array",
            "description": "Eventbrite place slugs, exactly as they appear in an Eventbrite URL after /d/. For example united-states--new-york, canada--toronto, australia--sydney, germany--berlin, france--paris, spain--madrid, or online for online-only events. One search per place. An unknown place returns a 404 rather than silently searching somewhere else.",
            "default": [
              "united-states--new-york"
            ],
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories or search terms",
            "type": "array",
            "description": "What to search for inside each place. Use a category slug for a clean category filter, or any free-text keyword such as conference, startup or yoga. Warning: an unrecognised term does not error, it silently returns unfiltered results, so the run summary reports which terms are not known categories.",
            "items": {
              "type": "string"
            },
            "default": [
              "all-events"
            ]
          },
          "outputMode": {
            "title": "What to return",
            "enum": [
              "events",
              "organizers"
            ],
            "type": "string",
            "description": "Events returns one row per event. Organizers returns one deduplicated row per event organizer instead, with the website and social links they published on their own Eventbrite profile, how many events they are running, and which cities and categories they operate in.",
            "default": "events"
          },
          "maxResults": {
            "title": "Maximum rows",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many rows. In organizer mode this counts organizers, not events, and roughly two events are scanned for every organizer found.",
            "default": 200
          },
          "includeEventDetails": {
            "title": "Fetch ticket prices and descriptions",
            "type": "boolean",
            "description": "Eventbrite's search results carry no ticket price and no description. Turn this on to fetch each event's own page for its price range, currency, full description and organizer name. This is much slower and costs one extra request per event, so it is off by default.",
            "default": false
          },
          "onlyOnlineEvents": {
            "title": "Online events only",
            "type": "boolean",
            "description": "Keep only events Eventbrite marks as online. Searching the place slug online is usually a better way to get these.",
            "default": false
          },
          "excludeOnlineEvents": {
            "title": "Exclude online events",
            "type": "boolean",
            "description": "Drop events Eventbrite marks as online, leaving only events with a physical venue and address.",
            "default": false
          },
          "onlyNewEvents": {
            "title": "Only new since the last run",
            "type": "boolean",
            "description": "Remember which rows previous runs already delivered and skip them, so a scheduled run returns and charges for new rows only. The memory is kept between runs of this Actor.",
            "default": false
          },
          "maxPagesPerQuery": {
            "title": "Maximum pages per search",
            "minimum": 0,
            "type": "integer",
            "description": "Cap how deep each search goes. Eventbrite serves at most 50 pages of 20 events per search, so 0 means go to that ceiling.",
            "default": 0
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Eventbrite search URLs you already have, in the form https://www.eventbrite.com/d/<place>/<term>/. These are used as-is and take priority over the fields above.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}