{
  "openapi": "3.0.1",
  "info": {
    "title": "Meetup + Lu.ma Events Scraper",
    "description": "Scrape events from Meetup.com and Lu.ma, title, date, venue, organizer, attendee count, photo, RSVP status, and discovery feeds (search, by group, by calendar, nearby).",
    "version": "1.0",
    "x-build-id": "1yIL5AV5odCvxOyaf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~meetup-luma-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-meetup-luma-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/crawlerbros~meetup-luma-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-meetup-luma-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/crawlerbros~meetup-luma-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-meetup-luma-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": [
          "platform",
          "mode"
        ],
        "properties": {
          "platform": {
            "title": "Platform",
            "enum": [
              "meetup",
              "luma"
            ],
            "type": "string",
            "description": "Which platform to scrape.",
            "default": "meetup"
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "searchEvents",
              "byEvent",
              "byGroup",
              "groupEvents",
              "byOrganizer",
              "byCalendar",
              "discoverNearby",
              "discoverTrending",
              "byUrl"
            ],
            "type": "string",
            "description": "What to scrape. Some modes are platform-specific — see the Mode-by-platform reference in the README.",
            "default": "searchEvents"
          },
          "query": {
            "title": "Search query (mode=searchEvents)",
            "type": "string",
            "description": "Free-text keyword. Required for `mode=searchEvents`."
          },
          "location": {
            "title": "Location (Meetup search / Luma nearby)",
            "type": "string",
            "description": "City + state/country. Examples: `san francisco`, `New York, NY`, `London, UK`. Used by Meetup search (`location=`) and the Luma nearby city resolver."
          },
          "category": {
            "title": "Category (Meetup search)",
            "enum": [
              "tech",
              "career-business",
              "social-activities",
              "language",
              "outdoors-adventure",
              "health-wellness",
              "music",
              "arts-culture",
              "food-drink",
              "games",
              "movements",
              "religion-spirituality",
              "writing",
              "lgbtq",
              "parents-family",
              "fashion-beauty",
              "fitness",
              "pets-animals",
              "sports-fitness",
              "support",
              "dancing",
              "education-learning",
              "movies-film",
              "cars-motorcycles",
              "hobbies-crafts",
              "photography",
              "book-clubs",
              "singles",
              "new-age-spirituality",
              "paranormal"
            ],
            "type": "string",
            "description": "Meetup category slug. Filters search results to a topic area."
          },
          "country": {
            "title": "Country (Meetup search)",
            "enum": [
              "us",
              "ca",
              "gb",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "se",
              "ch",
              "ie",
              "au",
              "nz",
              "in",
              "sg",
              "jp",
              "br",
              "mx",
              "ar",
              "be",
              "at",
              "pl",
              "pt",
              "dk",
              "fi",
              "no",
              "cz",
              "il",
              "ae",
              "za"
            ],
            "type": "string",
            "description": "ISO 3166-1 alpha-2 country code (lowercase). E.g. `us`, `gb`, `de`, `fr`. Used by Meetup search."
          },
          "eventType": {
            "title": "Event type (Meetup search)",
            "enum": [
              "any",
              "physical",
              "online"
            ],
            "type": "string",
            "description": "In-person, online, or both. Defaults to both."
          },
          "sortBy": {
            "title": "Sort order (Meetup search)",
            "enum": [
              "relevance",
              "best",
              "newest",
              "soonest"
            ],
            "type": "string",
            "description": "Sort order for Meetup search results."
          },
          "luma_period": {
            "title": "Lu.ma period filter",
            "enum": [
              "upcoming",
              "past",
              "all"
            ],
            "type": "string",
            "description": "Time window for Lu.ma calendar / discover queries."
          },
          "urls": {
            "title": "Event / Group / Calendar URLs (mode=byUrl / byEvent / byGroup / byCalendar)",
            "type": "array",
            "description": "Full URLs to scrape. Auto-routes by host: `meetup.com/<group>` → group; `meetup.com/<group>/events/<id>` → event; `lu.ma/<slug>` → event or calendar.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "slugs": {
            "title": "Event / Group / Calendar slugs (mode=byEvent / byGroup / byCalendar)",
            "type": "array",
            "description": "Lu.ma event/calendar slugs (e.g. `sf`, `h85fumdt`) or Meetup group urlnames (e.g. `meetup-group-englishkoreanexchange`).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "eventIds": {
            "title": "Meetup event IDs (mode=byEvent on Meetup)",
            "type": "array",
            "description": "Meetup numeric event IDs (e.g. `314367217`). Used together with `slugs` (group urlnames) — pair index-aligned.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "lat": {
            "title": "Latitude (Lu.ma discoverNearby)",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Latitude in decimal degrees. Used by `mode=discoverNearby` on Lu.ma to find the closest featured city."
          },
          "lng": {
            "title": "Longitude (Lu.ma discoverNearby)",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Longitude in decimal degrees. Used by `mode=discoverNearby` on Lu.ma to find the closest featured city."
          },
          "lumaCity": {
            "title": "Lu.ma city slug (mode=discoverNearby)",
            "enum": [
              "sf",
              "nyc",
              "la",
              "sd",
              "dc",
              "boston",
              "chicago",
              "seattle",
              "austin",
              "miami",
              "atlanta",
              "denver",
              "portland",
              "philadelphia",
              "minneapolis",
              "dallas",
              "houston",
              "phoenix",
              "las-vegas",
              "honolulu",
              "salt-lake-city",
              "london",
              "berlin",
              "paris",
              "amsterdam",
              "barcelona",
              "madrid",
              "lisbon",
              "dublin",
              "rome",
              "milan",
              "munich",
              "hamburg",
              "vienna",
              "zurich",
              "geneva",
              "lausanne",
              "stockholm",
              "copenhagen",
              "helsinki",
              "warsaw",
              "budapest",
              "prague",
              "brussels",
              "istanbul",
              "tokyo",
              "seoul",
              "taipei",
              "hongkong",
              "singapore",
              "kuala-lumpur",
              "bangkok",
              "jakarta",
              "manila",
              "ho-chi-minh-city",
              "mumbai",
              "new-delhi",
              "bengaluru",
              "tel-aviv",
              "dubai",
              "lagos",
              "nairobi",
              "capetown",
              "toronto",
              "vancouver",
              "montreal",
              "calgary",
              "waterloo_ca",
              "sydney",
              "melbourne",
              "brisbane",
              "auckland",
              "rio",
              "saopaulo",
              "mexico-city",
              "medellin",
              "bogota",
              "buenos-aires"
            ],
            "type": "string",
            "description": "Curated Lu.ma featured city slug (the slug from `lu.ma/<slug>`). Use this OR `lat`/`lng` for nearby discovery."
          },
          "freeOnly": {
            "title": "Free events only (filter)",
            "type": "boolean",
            "description": "Drop events that charge for entry / tickets.",
            "default": false
          },
          "minAttendees": {
            "title": "Min attendees (filter)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop events with fewer than this many RSVPs / guests."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          },
          "autoEscalateOnBlock": {
            "title": "Auto-escalate to Apify proxy on block",
            "type": "boolean",
            "description": "If true (default), the actor automatically engages Apify Proxy when it hits HTTP 403 from a raw datacenter IP.",
            "default": true
          },
          "proxyGroups": {
            "title": "Apify proxy groups (used on auto-escalation)",
            "type": "array",
            "description": "Apify proxy groups to use when auto-escalating. Empty = datacenter (default), then RESIDENTIAL fallback.",
            "default": [],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}