{
  "openapi": "3.0.1",
  "info": {
    "title": "Eventbrite Scraper",
    "description": "Scrape Eventbrite events by city, category, keyword, organizer or link: dates, venue, price range, sold-out status, organizer and description. On a schedule it can return only new, changed, sold-out and cancelled events.",
    "version": "0.1",
    "x-build-id": "sPl7TBv1W93T8Aeku"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pumpkinapi~eventbrite-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pumpkinapi-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/pumpkinapi~eventbrite-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pumpkinapi-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/pumpkinapi~eventbrite-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pumpkinapi-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": {
          "sources": {
            "title": "Eventbrite pages",
            "type": "array",
            "description": "Search, category, organizer or event pages, one per line, as you see them in the browser: <code>https://www.eventbrite.com/d/united-kingdom--london/business--events/</code>, <code>https://www.eventbrite.com/b/ny--new-york/music/</code>, <code>https://www.eventbrite.com/o/some-organizer-12345678901</code> or an event link. Search links keep their keyword, category, price and date filters.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Places to search, one per line, instead of or on top of pasted pages: <code>London, United Kingdom</code>, <code>Chicago, IL</code>, <code>Berlin</code>, an Eventbrite slug such as <code>ny--new-york</code>, or <code>online</code>. Eventbrite corrects spelling itself. Each place is searched with the keyword, categories, price and dates below.",
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "A phrase for Eventbrite's own search, such as <code>yoga</code> or <code>startup pitch</code>. Applies to every location."
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Only events in these Eventbrite categories. Each location is searched once per category. Leave empty for all categories.",
            "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"
              ]
            }
          },
          "dates": {
            "title": "Dates",
            "enum": [
              "any",
              "today",
              "tomorrow",
              "this-weekend",
              "this-week",
              "next-week",
              "this-month",
              "next-month"
            ],
            "type": "string",
            "description": "One of Eventbrite's own date windows. Ignored when First day or Last day is set.",
            "default": "any"
          },
          "dateFrom": {
            "title": "First day",
            "type": "string",
            "description": "Only events starting on or after this day. Pick a date, or a length such as <code>7 days</code> to count forward from today. With no Last day the range runs two years ahead."
          },
          "dateTo": {
            "title": "Last day",
            "type": "string",
            "description": "Only events starting on or before this day. A length such as <code>30 days</code> gives a window that moves with a scheduled run. With no First day the range starts today."
          },
          "price": {
            "title": "Price",
            "enum": [
              "all",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Free or paid events, as Eventbrite's own price filter sorts them.",
            "default": "all"
          },
          "excludeSoldOut": {
            "title": "Skip sold-out events",
            "type": "boolean",
            "description": "Leave out events whose event page says the tickets are sold out. Needs event page details.",
            "default": false
          },
          "includeDetails": {
            "title": "Read each event page",
            "type": "boolean",
            "description": "Reads every saved event's own page for its price range, sales status, organizer, category, description, refund policy and age limit, at no extra charge. Search listings alone carry the name, dates, venue and image. Turn it off for a faster run with fewer fields.",
            "default": true
          },
          "includeOrganizerDetails": {
            "title": "Read each organizer page",
            "type": "boolean",
            "description": "Reads each organizer's page once per run for followers, events hosted, attendees, website, social links and bio, at no extra charge. One extra request per organizer.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "The run stops after saving this many rows, so this also caps your cost. One search shows at most 980 events; a bigger one is read category by category when this limit allows it.",
            "default": 1000
          },
          "maxItemsPerSource": {
            "title": "Maximum results per source",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Save at most this many rows from each pasted page or built search. Use 0 for no limit.",
            "default": 0
          },
          "changesOnly": {
            "title": "Only new, changed, sold-out and cancelled events",
            "type": "boolean",
            "description": "Compare each source with the previous run and return only the differences: new events, changed dates, venues or prices, sold-out and reopened tickets, and cancelled events. The first run returns all events as new. The comparison is stored in a named key-value store in your own account.",
            "default": false
          },
          "monitorId": {
            "title": "Monitor name",
            "pattern": "^[a-z0-9][a-z0-9-]{0,39}$",
            "type": "string",
            "description": "Name of the stored comparison. Use a different name for each schedule that has different sources or filters. If you change the filters, use a new name.",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}