{
  "openapi": "3.0.1",
  "info": {
    "title": "Eventbrite Events Scraper",
    "description": "Search Eventbrite by city, keyword, date, category and price, or paste event and organizer URLs. One row per event: dates with time zone, venue and coordinates, price range, sold-out and urgency signals, organizer. Optional: every ticket type, refund policy, organizer track record.",
    "version": "0.1",
    "x-build-id": "DSUYekZv0cNEMnwnH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sz022~eventbrite-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sz022-eventbrite-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/sz022~eventbrite-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sz022-eventbrite-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/sz022~eventbrite-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sz022-eventbrite-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": {
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Where to search: a city as you would type it (\"San Francisco, CA\", \"London\", \"Berlin\"), an Eventbrite place slug (ca--san-francisco), or \"online\" for online events. The place Eventbrite matched is written to the log. Leave empty if you only paste URLs below."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional. One search per keyword, such as \"tech\", \"yoga\" or \"jazz\". Leave empty to list all events in the location.",
            "items": {
              "type": "string"
            }
          },
          "keywordMustMatch": {
            "title": "Only keep events that contain the keyword",
            "type": "boolean",
            "description": "When a keyword has few real matches, Eventbrite fills the rest of the results with unrelated events from the same city. On (the default), an event is kept only if every word of the keyword appears in its title, summary, category or tags, and the search stops once a page has no matches left. Turn off to get exactly what Eventbrite's search shows.",
            "default": true
          },
          "dateFilter": {
            "title": "When",
            "enum": [
              "any",
              "today",
              "tomorrow",
              "this_weekend",
              "this_week",
              "next_week",
              "this_month",
              "next_month",
              "custom"
            ],
            "type": "string",
            "description": "Eventbrite's own date filters, in each event's local time. Choose \"Custom range\" to use the two dates below.",
            "default": "any"
          },
          "startDate": {
            "title": "From date (custom range)",
            "type": "string",
            "description": "First day to include, YYYY-MM-DD. Used only when When is Custom range."
          },
          "endDate": {
            "title": "To date (custom range)",
            "type": "string",
            "description": "Last day to include, YYYY-MM-DD. Used only when When is Custom range."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Optional. Only events in these Eventbrite categories. Several categories are combined with OR.",
            "items": {
              "type": "string",
              "enum": [
                "business",
                "science-and-tech",
                "music",
                "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",
                "other"
              ],
              "enumTitles": [
                "Business & Professional",
                "Science & Technology",
                "Music",
                "Film, Media & Entertainment",
                "Performing & Visual Arts",
                "Fashion & Beauty",
                "Health & Wellness",
                "Sports & Fitness",
                "Travel & Outdoor",
                "Food & Drink",
                "Charity & Causes",
                "Government & Politics",
                "Community & Culture",
                "Religion & Spirituality",
                "Family & Education",
                "Seasonal & Holiday",
                "Home & Lifestyle",
                "Auto, Boat & Air",
                "Hobbies & Special Interest",
                "School Activities",
                "Other"
              ]
            }
          },
          "price": {
            "title": "Price",
            "enum": [
              "any",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Free events, paid events, or both.",
            "default": "any"
          },
          "maxEvents": {
            "title": "Maximum events per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Stop each keyword's search after this many events. Eventbrite itself returns at most 1,000 events for one search; split a big city into keywords, categories or dates to go further.",
            "default": 100
          },
          "urls": {
            "title": "Event, organizer or search URLs",
            "type": "array",
            "description": "Optional, and can be mixed: event pages (https://www.eventbrite.com/e/...-tickets-123), organizer pages (https://www.eventbrite.com/o/...-456) and search result pages you have set up on eventbrite.com (https://www.eventbrite.com/d/ca--san-francisco/free--events--this-weekend/). Any Eventbrite country site works.",
            "items": {
              "type": "string"
            }
          },
          "organizerEvents": {
            "title": "Which events of an organizer",
            "enum": [
              "upcoming",
              "past",
              "both"
            ],
            "type": "string",
            "description": "For organizer URLs: their upcoming events, their past events (newest first), or both.",
            "default": "upcoming"
          },
          "maxEventsPerOrganizer": {
            "title": "Maximum events per organizer",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop reading an organizer's events after this many.",
            "default": 100
          },
          "includePromoted": {
            "title": "Include promoted (ad) events from search URLs",
            "type": "boolean",
            "description": "Eventbrite shows a few paid placements at the top of its search pages, and they do not always match the filters. Off by default. When on, they are added from the first page of each search URL with isPromoted: true.",
            "default": false
          },
          "includeTicketsAndOrganizer": {
            "title": "Add ticket classes, refund policy, full description and organizer track record",
            "type": "boolean",
            "description": "Reads three more pages per event: every ticket type with its price, fee, all-in price, on-sale status and sales window; the refund policy; the waitlist flag; the full description. Also the organizer's exact followers, total events hosted, attendees hosted, years on Eventbrite and verified badge (read once per organizer). Charged as a separate event-details event per row.",
            "default": false
          },
          "residentialFallback": {
            "title": "Switch to residential proxy if blocked",
            "type": "boolean",
            "description": "If Eventbrite keeps refusing the datacenter proxy, move the rest of the run to Apify's residential proxy. Included in the price. Only applies when the proxy below is Apify Proxy.",
            "default": true
          },
          "timeBudgetSeconds": {
            "title": "Time budget (seconds)",
            "minimum": 60,
            "type": "integer",
            "description": "Stop starting new work after this long; everything not reached is listed as not_processed. The run's own timeout is respected as well.",
            "default": 3300
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify's datacenter proxy by default. Proxy URLs of your own are used as given.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}