{
  "openapi": "3.0.1",
  "info": {
    "title": "Eventbrite Events Scraper - City, Venue, Prices",
    "description": "Eventbrite event scraper: upcoming events by city and category, with a date range filter. Every row: title, start and end date, venue, city, online flag, ticket price range with currency, organizer name and URL, event URL. Ambiguous cities stop the run and list candidates. No personal data.",
    "version": "0.1",
    "x-build-id": "0pCsECQVS9pothu6G"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/midnight_static~eventbrite-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-midnight_static-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/midnight_static~eventbrite-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-midnight_static-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/midnight_static~eventbrite-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-midnight_static-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": {
          "city": {
            "title": "Sehir",
            "type": "string",
            "description": "Sehir adi (\"San Francisco\", \"Istanbul\") ya da Eventbrite slug'i (\"ca--san-francisco\"). Ad birden fazla yere uyarsa kosu durur ve adaylari listeler; o zaman tam slug verin. Cevrim ici etkinlikler icin \"online\" yazin. startUrls verilmisse yok sayilir."
          },
          "category": {
            "title": "Kategori",
            "type": "string",
            "description": "Eventbrite kategori slug'i: music, business, arts, sports-and-fitness, food-and-drink, technology... Bos birakilirsa sehirdeki tum kategoriler."
          },
          "subcategory": {
            "title": "Alt kategori",
            "type": "string",
            "description": "Eventbrite alt kategori slug'i (ornek: music icin rock, jazz, classical). Yalniz category ile birlikte anlamli."
          },
          "startUrls": {
            "title": "Baslangic URL'leri (ileri kullanim)",
            "type": "array",
            "description": "Verilirse sehir/kategori kesfi ATLANIR. Etkinlik (/e/) ve gezinme (/b/) URL'leri guvenilir. Liste (/d/) yollari guvenilir degil: tek deneme yapilir, engellenirse yeniden denenmez; sehir/kategori girdisini ya da /b/ kullanin. Organizator (/o/) sayfalari statik HTML'de etkinlik tasimiyor.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "En fazla kayit",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Kaydedilecek etkinlik sayisi ust siniri. Her kayit icin ucretlendirilirsiniz. Sehir/kategori icin yeterli sayfa yoksa bulunan kadari yazilir ve uyari loglanir.",
            "default": 50
          },
          "futureOnly": {
            "title": "Yalniz gelecek etkinlikler",
            "type": "boolean",
            "description": "Gecmis etkinlikleri atar.",
            "default": true
          },
          "dateFrom": {
            "title": "Baslangic tarihi (dahil)",
            "type": "string",
            "description": "YYYY-MM-DD. Bu filtre cekilen sonuclari suzer; arama kapsamini genisletmez veya daraltmaz. Istek sayisini azaltmaz; yalniz araliga girmeyen kayitlar yazilmaz."
          },
          "dateTo": {
            "title": "Bitis tarihi (dahil)",
            "type": "string",
            "description": "YYYY-MM-DD. Bu filtre cekilen sonuclari suzer; arama kapsamini genisletmez veya daraltmaz. Istek sayisini azaltmaz; yalniz araliga girmeyen kayitlar yazilmaz."
          },
          "onlineOnly": {
            "title": "Yalniz cevrim ici",
            "type": "boolean",
            "description": "city yerine \"online\" kullanir (city ile birlikte verilirse bu kazanir).",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}