{
  "openapi": "3.0.1",
  "info": {
    "title": "Eventbrite Scraper: Events, Ticket Prices, Organizers",
    "description": "Scrape Eventbrite events by city and keyword or category, or from event and organizer URLs. Dates with time zone, venue address and GPS, price range, sold out status, organizer name, URL and follower count, tags. Optional organizer profiles with upcoming events. No login.",
    "version": "1.0",
    "x-build-id": "7hBsX44Y9zoTJL0NF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zhtech~eventbrite-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zhtech-eventbrite-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/zhtech~eventbrite-scraper/runs": {
      "post": {
        "operationId": "runs-sync-zhtech-eventbrite-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/zhtech~eventbrite-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-zhtech-eventbrite-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": {
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "City names (Austin, London, \"Portland, ME\"), Eventbrite location slugs from a search URL (tx--austin, united-kingdom--london, me--portland), regions (united-states--oklahoma) or \"online\" for online events.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "What you would type in Eventbrite's search box, for example jazz, ai meetup, yoga. Optional.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "business",
              "science-and-tech",
              "music",
              "nightlife",
              "film-and-media",
              "arts",
              "fashion",
              "health",
              "sports-and-fitness",
              "travel-and-outdoor",
              "food-and-drink",
              "charity-and-causes",
              "government",
              "community",
              "spirituality",
              "family-and-education",
              "holiday",
              "home-and-lifestyle",
              "auto-boat-and-air",
              "hobbies",
              "school-activities",
              "seasonal",
              "dating",
              "other"
            ],
            "type": "string",
            "description": "Eventbrite category. Combines with keywords.",
            "default": ""
          },
          "eventType": {
            "title": "Event type",
            "enum": [
              "",
              "classes",
              "conferences",
              "seminars",
              "expos",
              "conventions",
              "festivals",
              "performances",
              "screenings",
              "galas",
              "networking",
              "parties",
              "rallies",
              "tournaments",
              "games",
              "races",
              "tours",
              "attractions",
              "retreats",
              "appearances"
            ],
            "type": "string",
            "description": "Eventbrite format, for example classes or conferences.",
            "default": ""
          },
          "dateFilter": {
            "title": "When",
            "enum": [
              "",
              "today",
              "tomorrow",
              "this-weekend",
              "this-week",
              "next-week",
              "this-month",
              "next-month"
            ],
            "type": "string",
            "description": "Quick date filter. For an exact range use Start date and End date instead.",
            "default": ""
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "Events on or after this day (YYYY-MM-DD) or a period from today like \"7 days\". Leave empty for today."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Events on or before this day (YYYY-MM-DD) or a period from today like \"30 days\"."
          },
          "price": {
            "title": "Price",
            "enum": [
              "any",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Free or paid events.",
            "default": "any"
          },
          "attendance": {
            "title": "Online or in person",
            "enum": [
              "any",
              "in_person",
              "online"
            ],
            "type": "string",
            "description": "Online only searches Eventbrite's online events (no location needed). In person only drops online events from the results.",
            "default": "any"
          },
          "maxEventsPerSearch": {
            "title": "Max events per search",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Events per location and keyword pair. Eventbrite shows up to about 1,000 results per search; use narrower keywords, categories or dates for more. 0 means as many as Eventbrite returns.",
            "default": 100
          },
          "startUrls": {
            "title": "Eventbrite URLs",
            "type": "array",
            "description": "Event pages (https://www.eventbrite.com/e/...-tickets-123), organizer profiles (https://www.eventbrite.com/o/...-123) or search pages (https://www.eventbrite.com/d/ny--new-york/music--events/). Organizer URLs return the organizer profile and its upcoming events.",
            "items": {
              "type": "string"
            }
          },
          "fetchEventDetails": {
            "title": "Fetch event details",
            "type": "boolean",
            "description": "Open every event page for the full description (text and HTML), exact end time, age restriction, door time, refund policy and performers. One extra request per event, so runs are slower. Event URLs always include these details.",
            "default": false
          },
          "includeOrganizerProfiles": {
            "title": "Add organizer profiles",
            "type": "boolean",
            "description": "Also return one organizer row per unique organizer found: follower count, total events, attendees hosted, years hosting, bio, website and socials, plus a list of their upcoming events. Charged as an organizer row.",
            "default": false
          },
          "maxUpcomingEventsPerOrganizer": {
            "title": "Upcoming events per organizer",
            "minimum": 0,
            "maximum": 2000,
            "type": "integer",
            "description": "How many upcoming events to list in each organizer row (and to return as event rows for organizer URLs).",
            "default": 50
          },
          "organizerEventRows": {
            "title": "Return organizer URL events as event rows",
            "type": "boolean",
            "description": "For organizer URLs, also return every upcoming event as its own event row (charged per event). Turn off to get only the organizer row with its compact event list.",
            "default": true
          },
          "deduplicate": {
            "title": "Skip duplicate events",
            "type": "boolean",
            "description": "Return each event once even when several searches find it. Duplicates are never charged.",
            "default": true
          },
          "maxItems": {
            "title": "Max results in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many event and organizer rows. 0 means no limit. The run also stops when your maximum charge is reached.",
            "default": 0
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 2,
            "maximum": 120,
            "type": "integer",
            "description": "Eventbrite answers bursts with \"too many requests\". The default is safe without a proxy. One request returns up to 50 search results. With a proxy you can raise this.",
            "default": 15
          },
          "includeErrorItems": {
            "title": "Explain inputs without results",
            "type": "boolean",
            "description": "Add a free row (type error) for every input that returned nothing, with the reason. Never charged.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed for normal runs. Turn on Apify Proxy for very large runs or if you see RATE_LIMITED rows.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}