{
  "openapi": "3.0.1",
  "info": {
    "title": "Meetup & Lu.ma Event Finder by City, Group & Calendar",
    "description": "Search, browse, or look up events on Meetup and Lu.ma by city, group, or calendar: dates, venue, organizer, attendee count, photo and RSVP status from one actor and input shape.",
    "version": "1.0",
    "x-build-id": "FFqtvn0WerZ7vwqc7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataspryva~meetup-and-lu-ma-event-finder-by-city-group/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataspryva-meetup-and-lu-ma-event-finder-by-city-group",
        "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/dataspryva~meetup-and-lu-ma-event-finder-by-city-group/runs": {
      "post": {
        "operationId": "runs-sync-dataspryva-meetup-and-lu-ma-event-finder-by-city-group",
        "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/dataspryva~meetup-and-lu-ma-event-finder-by-city-group/run-sync": {
      "post": {
        "operationId": "run-sync-dataspryva-meetup-and-lu-ma-event-finder-by-city-group",
        "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 query. All modes are HTTP-only and need no login.",
            "default": "meetup"
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "searchEvents",
              "byEvent",
              "byGroup",
              "groupEvents",
              "byCalendar",
              "discoverNearby",
              "discoverTrending",
              "byUrl"
            ],
            "type": "string",
            "description": "What to scrape: search, specific event/group/calendar URLs, group/calendar event lists, nearby discovery, or auto-routed URLs.",
            "default": "searchEvents"
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text keyword. Required for Meetup search. Lu.ma keyword search caps at 50 results per run."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, state, or country. Meetup resolves it server-side; Lu.ma resolves the featured city. Examples: `san francisco`, `New York, NY`, `London, UK`."
          },
          "lat": {
            "title": "Latitude",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Explicit latitude. Bypasses location geocoding and anchors Lu.ma category feeds."
          },
          "lng": {
            "title": "Longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Explicit longitude. Bypasses location geocoding and anchors Lu.ma category feeds."
          },
          "country": {
            "title": "Country (Meetup)",
            "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": "Optional ISO country code used when resolving a Meetup location."
          },
          "meetupCategory": {
            "title": "Meetup category",
            "enum": [
              "all",
              "social-activities",
              "hobbies-passions",
              "sports-fitness",
              "travel-outdoor",
              "career-business",
              "technology",
              "community-environment",
              "identity-language",
              "games",
              "dancing",
              "support-coaching",
              "music",
              "health-wellbeing",
              "art-culture",
              "science-education",
              "pets-animals",
              "religion-spirituality",
              "writing",
              "parents-family",
              "movements-politics"
            ],
            "type": "string",
            "description": "Browse or filter Meetup by a live topic category. Use `all` with a query for no category filter."
          },
          "lumaCategory": {
            "title": "Lu.ma category",
            "enum": [
              "family",
              "books",
              "games",
              "tech",
              "food",
              "ai",
              "running",
              "arts",
              "climate",
              "fitness",
              "wellness",
              "crypto"
            ],
            "type": "string",
            "description": "Lu.ma category feed. Needs a city or `lat`/`lng` to anchor the feed."
          },
          "eventType": {
            "title": "Event type (Meetup)",
            "enum": [
              "any",
              "physical",
              "online",
              "hybrid"
            ],
            "type": "string",
            "description": "Meetup server-side event format filter. Lu.ma location types are not reliable, so Lu.ma ignores this field.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "dateAsc",
              "dateDesc"
            ],
            "type": "string",
            "description": "Meetup sorts server-side. Lu.ma sorts client-side by start date; relevance keeps source order.",
            "default": "relevance"
          },
          "dateFrom": {
            "title": "Start date",
            "type": "string",
            "description": "Earliest event date (inclusive). Accepts `YYYY-MM-DD` or an ISO date-time."
          },
          "dateTo": {
            "title": "End date",
            "type": "string",
            "description": "Latest event date (inclusive). Accepts `YYYY-MM-DD` or an ISO date-time."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Meetup search radius around the resolved location."
          },
          "minAttendees": {
            "title": "Minimum attendees",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop events below this RSVP/guest count. Meetup filters server-side; Lu.ma filters client-side."
          },
          "freeOnly": {
            "title": "Free events only",
            "type": "boolean",
            "description": "Drop events that are known to charge. Events with an unknown price are kept.",
            "default": false
          },
          "eventPeriod": {
            "title": "Event period",
            "enum": [
              "upcoming",
              "past",
              "all"
            ],
            "type": "string",
            "description": "Upcoming, past, or both. Past is reliable on Meetup groups and Lu.ma calendars; Lu.ma city/category feeds are upcoming-only.",
            "default": "upcoming"
          },
          "urls": {
            "title": "Event / group / calendar URLs",
            "type": "array",
            "description": "One or more Meetup or Lu.ma URLs. `mode=byUrl` auto-routes each one; `byEvent`, `byGroup`, and calendar modes also accept URLs.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "slugs": {
            "title": "Slugs",
            "type": "array",
            "description": "Meetup group urlnames or Lu.ma event/calendar slugs. For Meetup events, pair index-aligned with `eventIds`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "eventIds": {
            "title": "Event IDs",
            "type": "array",
            "description": "Numeric Meetup event IDs or Lu.ma `evt-...` ids. Meetup numeric IDs can be used alone or index-aligned with `slugs` (group urlnames).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "lumaCity": {
            "title": "Lu.ma city",
            "enum": [
              "nyc",
              "sf",
              "london",
              "berlin",
              "tokyo",
              "amsterdam",
              "la",
              "lisbon",
              "toronto",
              "helsinki",
              "paris",
              "stockholm",
              "mumbai",
              "singapore",
              "barcelona",
              "hongkong",
              "boston",
              "madrid",
              "montreal",
              "tel-aviv",
              "dc",
              "austin",
              "zurich",
              "philadelphia",
              "chicago",
              "atlanta",
              "copenhagen",
              "sydney",
              "bangkok",
              "buenos-aires",
              "seattle",
              "vancouver",
              "warsaw",
              "hamburg",
              "munich",
              "prague",
              "sd",
              "mexico-city",
              "milan",
              "saopaulo",
              "bengaluru",
              "melbourne",
              "bogota",
              "brussels",
              "calgary",
              "dublin",
              "kuala-lumpur",
              "miami",
              "oslo",
              "houston",
              "phoenix",
              "salt-lake-city",
              "taipei",
              "dubai",
              "ho-chi-minh-city",
              "portland",
              "raleigh",
              "vienna",
              "dallas",
              "denver",
              "istanbul",
              "las-vegas",
              "minneapolis",
              "sacramento",
              "seoul",
              "frankfurt",
              "geneva",
              "pittsburgh",
              "waterloo_ca",
              "budapest",
              "capetown",
              "cincinnati",
              "edmonton",
              "manila",
              "new-delhi",
              "rome",
              "detroit",
              "lagos",
              "lausanne",
              "nairobi",
              "osaka",
              "rio",
              "auckland",
              "brisbane",
              "honolulu",
              "jakarta",
              "medellin"
            ],
            "type": "string",
            "description": "Featured Lu.ma city feed. Alternatively supply `location` or `lat`/`lng`."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          },
          "includeAttendees": {
            "title": "Include Meetup attendees",
            "type": "boolean",
            "description": "Add public RSVP names/photos to Meetup events (one extra request per event, capped at 250).",
            "default": false
          },
          "includeMembers": {
            "title": "Include Meetup group members",
            "type": "boolean",
            "description": "Add a public member sample to Meetup group records (one extra request per group).",
            "default": false
          },
          "enrichDetails": {
            "title": "Enrich Lu.ma details",
            "type": "boolean",
            "description": "Fetch each Lu.ma event's detail endpoint for description, ticket tiers, and featured guests. Off by default for speed.",
            "default": false
          },
          "onlyNewSinceLastRun": {
            "title": "Only new since last run",
            "type": "boolean",
            "description": "Remember emitted IDs for this exact input and skip them on later runs. The first run emits everything.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}