{
  "openapi": "3.0.1",
  "info": {
    "title": "Multi Source Event Scraper",
    "description": "Normalize and dedupe events from Eventbrite, Meetup, and Luma into a single canonical feed. Outputs clean JSON/CSV/iCal with source links, tags, and “last verified” timestamps, perfect for directories, newsletters, and automation.",
    "version": "0.0",
    "x-build-id": "OFhHw3p8bPhiPyoMH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/alexdyn.com~multi-source-event-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-alexdyn.com-multi-source-event-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/alexdyn.com~multi-source-event-scraper/runs": {
      "post": {
        "operationId": "runs-sync-alexdyn.com-multi-source-event-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/alexdyn.com~multi-source-event-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-alexdyn.com-multi-source-event-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Extraction Mode",
            "enum": [
              "urls",
              "discover"
            ],
            "type": "string",
            "description": "Choose how to find events: 'urls' for specific URLs you provide, 'discover' for search-based discovery.",
            "default": "urls"
          },
          "sources": {
            "title": "Event Sources",
            "type": "array",
            "description": "Which platforms to extract events from.",
            "items": {
              "type": "string",
              "enum": [
                "eventbrite",
                "meetup",
                "luma"
              ],
              "enumTitles": [
                "Eventbrite",
                "Meetup",
                "Luma"
              ]
            },
            "default": [
              "eventbrite",
              "meetup",
              "luma"
            ]
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "URLs to extract events from. Can be event pages, listing pages, organizer pages, or search result pages. Required for 'urls' mode.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "discoverLocation": {
            "title": "Search Location",
            "enum": [
              "",
              "san-francisco",
              "new-york",
              "london",
              "berlin",
              "austin",
              "seattle",
              "los-angeles",
              "boston",
              "paris",
              "amsterdam",
              "singapore",
              "tokyo",
              "toronto",
              "sydney",
              "tel-aviv",
              "abu-dhabi",
              "accra",
              "addis-ababa",
              "adelaide",
              "ahmedabad",
              "amman",
              "ankara",
              "ann-arbor",
              "antwerp",
              "athens",
              "atlanta",
              "auckland",
              "bali",
              "baltimore",
              "bangalore",
              "bangkok",
              "barcelona",
              "basel",
              "beijing",
              "beirut",
              "belgrade",
              "bilbao",
              "birmingham-uk",
              "bogota",
              "bologna",
              "bordeaux",
              "boulder",
              "bratislava",
              "brisbane",
              "bristol",
              "brooklyn",
              "brussels",
              "bucharest",
              "budapest",
              "buenos-aires",
              "busan",
              "cairo",
              "calgary",
              "cambridge",
              "cambridge-uk",
              "cape-town",
              "casablanca",
              "charlotte",
              "chennai",
              "chicago",
              "cleveland",
              "cologne",
              "columbus",
              "copenhagen",
              "cork",
              "dallas",
              "delhi",
              "denver",
              "detroit",
              "doha",
              "dubai",
              "dublin",
              "dusseldorf",
              "edinburgh",
              "edmonton",
              "eindhoven",
              "florence",
              "frankfurt",
              "geneva",
              "glasgow",
              "gothenburg",
              "guadalajara",
              "guangzhou",
              "hamburg",
              "hanoi",
              "helsinki",
              "ho-chi-minh",
              "hong-kong",
              "honolulu",
              "houston",
              "hyderabad",
              "indianapolis",
              "istanbul",
              "jakarta",
              "jeddah",
              "jersey-city",
              "jerusalem",
              "johannesburg",
              "kansas-city",
              "kigali",
              "kolkata",
              "krakow",
              "kuala-lumpur",
              "kyoto",
              "lagos",
              "las-vegas",
              "lausanne",
              "lima",
              "lisbon",
              "ljubljana",
              "lyon",
              "madison",
              "madrid",
              "malaga",
              "manchester",
              "manila",
              "marseille",
              "medellin",
              "melbourne",
              "mexico-city",
              "miami",
              "milan",
              "milwaukee",
              "minneapolis",
              "monterrey",
              "montevideo",
              "montreal",
              "mumbai",
              "munich",
              "nairobi",
              "naples",
              "nashville",
              "new-haven",
              "new-orleans",
              "newark",
              "nice",
              "nicosia",
              "oakland",
              "orlando",
              "osaka",
              "oslo",
              "ottawa",
              "oxford",
              "palo-alto",
              "perth",
              "philadelphia",
              "phoenix",
              "pittsburgh",
              "portland",
              "porto",
              "prague",
              "pune",
              "quito",
              "raleigh",
              "reykjavik",
              "riga",
              "rio-de-janeiro",
              "riyadh",
              "rome",
              "rotterdam",
              "sacramento",
              "salt-lake-city",
              "salzburg",
              "san-antonio",
              "san-diego",
              "san-jose",
              "santiago",
              "sao-paulo",
              "scottsdale",
              "seoul",
              "seville",
              "shanghai",
              "shenzhen",
              "sofia",
              "st-louis",
              "stockholm",
              "stuttgart",
              "taipei",
              "tallinn",
              "tampa",
              "the-hague",
              "thessaloniki",
              "toulouse",
              "turin",
              "valencia",
              "vancouver",
              "vienna",
              "vilnius",
              "warsaw",
              "washington-dc",
              "waterloo",
              "wellington",
              "zagreb",
              "zurich"
            ],
            "type": "string",
            "description": "Select a city to search for events. Popular tech hubs are listed first.",
            "default": ""
          },
          "discoverLocationCustom": {
            "title": "Custom Location (Optional)",
            "type": "string",
            "description": "Enter a custom location if your city isn't in the dropdown above. Note: Custom locations may have less precise geo-filtering."
          },
          "discoverKeywords": {
            "title": "Search Keywords",
            "type": "array",
            "description": "Keywords to search for (e.g., 'tech', 'AI', 'startup', 'networking'). Leave empty to get all events.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "discoverDateRange": {
            "title": "Date Range",
            "enum": [
              "today",
              "this_week",
              "this_weekend",
              "this_month",
              "next_month",
              "custom"
            ],
            "type": "string",
            "description": "Time period to search for events.",
            "default": "this_week"
          },
          "discoverDateFrom": {
            "title": "Custom Start Date",
            "type": "string",
            "description": "Start date for custom date range (only used when Date Range is 'Custom')."
          },
          "discoverDateTo": {
            "title": "Custom End Date",
            "type": "string",
            "description": "End date for custom date range (only used when Date Range is 'Custom')."
          },
          "discoverPriceRange": {
            "title": "Price Filter",
            "enum": [
              "all",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Filter events by price.",
            "default": "all"
          },
          "discoverOnlineOnly": {
            "title": "Online Events Only",
            "type": "boolean",
            "description": "Only include virtual/online events.",
            "default": false
          },
          "discoverSortBy": {
            "title": "Sort Results By",
            "enum": [
              "date",
              "relevance",
              "popularity"
            ],
            "type": "string",
            "description": "How to sort discovered events.",
            "default": "date"
          },
          "discoverSearchRadiusKm": {
            "title": "Search Radius (km)",
            "minimum": 10,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum distance in kilometers from search location. Events further away will be excluded.",
            "default": 50
          },
          "maxItems": {
            "title": "Max Events",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of events to extract. Set to 0 for unlimited.",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings for avoiding blocks. Apify Proxy recommended for production use.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum concurrent browser pages. Lower values are more polite to servers, higher values are faster.",
            "default": 3
          },
          "requestDelayMs": {
            "title": "Request Delay (ms)",
            "minimum": 0,
            "maximum": 30000,
            "type": "integer",
            "description": "Delay between requests in milliseconds. Higher values reduce server load and blocking risk.",
            "default": 1000
          },
          "pageLoadTimeoutSecs": {
            "title": "Page Load Timeout (seconds)",
            "minimum": 10,
            "maximum": 300,
            "type": "integer",
            "description": "Maximum time to wait for a page to load before timing out.",
            "default": 60
          },
          "maxRetries": {
            "title": "Max Retries",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Maximum number of retries for failed requests.",
            "default": 3
          },
          "sessionPoolSize": {
            "title": "Session Pool Size",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of browser sessions to maintain in the pool.",
            "default": 5
          },
          "blockResources": {
            "title": "Block Resources",
            "type": "boolean",
            "description": "Block images, fonts, and media to improve performance. Disable if pages don't render correctly.",
            "default": true
          },
          "excludeKeywords": {
            "title": "Exclude Keywords",
            "type": "array",
            "description": "Skip events whose title contains any of these keywords (case-insensitive).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "debug": {
            "title": "Debug Mode",
            "type": "boolean",
            "description": "Enable verbose logging for troubleshooting extraction issues.",
            "default": false
          },
          "logLevel": {
            "title": "Log Level",
            "enum": [
              "debug",
              "info",
              "warn",
              "error"
            ],
            "type": "string",
            "description": "Logging verbosity level.",
            "default": "info"
          },
          "includeRawFields": {
            "title": "Include Raw Fields",
            "type": "boolean",
            "description": "Include raw extracted data in sourceListings. Useful for debugging but increases output size.",
            "default": false
          },
          "captureErrorScreenshots": {
            "title": "Capture Error Screenshots",
            "type": "boolean",
            "description": "Save screenshots when extraction errors occur. Useful for debugging but uses more storage.",
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}