{
  "openapi": "3.0.1",
  "info": {
    "title": "Luma Events Scraper — Events, Organizers, Tickets & Guest Count",
    "description": "Scrape Luma (lu.ma / luma.com) events by city, coordinates, category, calendar or link: name, local start/end, venue, address, geo, organizer + socials, guest count, ticket prices, sold-out/capacity; optional description and ticket types. Only-new monitor mode. No login.",
    "version": "0.1",
    "x-build-id": "vFfruGmiibplcGDJp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~luma-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-luma-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/yugenox~luma-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-luma-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/yugenox~luma-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-luma-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": {
          "cities": {
            "title": "📍 Cities",
            "type": "array",
            "description": "Cities to list events for, e.g. \"New York\", \"San Francisco\", \"London\", \"Toronto\", \"Bengaluru\" (any of Luma's 87 discover cities, by name or luma.com/<city> link), or coordinates like \"45.42, -75.69\" for anywhere else. Each city is a separate search; Max events is shared fairly between them.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Optional: only Luma's events in these categories, around each city above. Empty = all events near the city.",
            "items": {
              "type": "string",
              "enum": [
                "tech",
                "ai",
                "crypto",
                "climate",
                "arts",
                "food",
                "fitness",
                "wellness",
                "running",
                "books",
                "games",
                "family"
              ],
              "enumTitles": [
                "Tech",
                "AI",
                "Crypto",
                "Climate",
                "Arts & Culture",
                "Food & Drink",
                "Fitness",
                "Wellness",
                "Running",
                "Books",
                "Games",
                "Family"
              ]
            }
          },
          "cityFeed": {
            "title": "City list",
            "enum": [
              "nearby",
              "featured"
            ],
            "type": "string",
            "description": "\"All events nearby\" reads every public event Luma lists around the city (the most complete). \"Luma's city page\" reads only the events Luma features on its luma.com/<city> page. Ignored when categories are chosen.",
            "default": "nearby"
          },
          "radiusKm": {
            "title": "Max distance (km)",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Optional: drop events farther than this from the city centre (or your coordinates). Each row has distanceKm. Empty = Luma's own area for the city."
          },
          "calendars": {
            "title": "🗓️ Calendars / communities",
            "type": "array",
            "description": "Optional: Luma calendar links (luma.com/<calendar>, e.g. luma.com/lennysnewsletter) or calendar ids (cal-…). Lists each calendar's upcoming events.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Event links",
            "type": "array",
            "description": "Optional: Luma event links (luma.com/<event>, lu.ma/<event>, or luma.com/event/evt-… for an event id). City, category and calendar links work here too.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "keywords": {
            "title": "🔎 Keywords",
            "type": "array",
            "description": "Optional: keep only events whose name, organizer, category or tags contain one of these words, e.g. \"AI\", \"founders\", \"hackathon\", \"web3\". Whole words, case and accents ignored. Empty = every event. The filters below work the same way: they apply to city, category and calendar searches; pasted event links are always saved.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "Optional: only events starting on or after this day (the event's local date, YYYY-MM-DD)."
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "Optional: only events starting on or before this day (the event's local date, YYYY-MM-DD). Reading stops at the first event past it, so this also makes runs faster."
          },
          "daysAhead": {
            "title": "Next N days",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Optional: only events starting within this many days from now, e.g. 7 for \"this week\". Works together with the dates above."
          },
          "priceFilter": {
            "title": "Price",
            "enum": [
              "any",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Free events, paid events, or both.",
            "default": "any"
          },
          "eventFormat": {
            "title": "Format",
            "enum": [
              "any",
              "in-person",
              "online"
            ],
            "type": "string",
            "description": "In-person events, online events, or both. City searches list in-person events; calendars can have online ones.",
            "default": "any"
          },
          "minGuests": {
            "title": "Min guests",
            "minimum": 0,
            "type": "integer",
            "description": "Optional: only events with at least this many registered guests (events whose organizer hides the guest count are left out when this is set)."
          },
          "includeDetails": {
            "title": "Include event details",
            "type": "boolean",
            "description": "Also get each event's full description and its ticket types (name, price, capacity, spots left, sales window) and categories. One extra request per event, charged as \"details\" (see Pricing).",
            "default": false
          },
          "onlyNew": {
            "title": "Only new events",
            "type": "boolean",
            "description": "Skip events that an earlier run with the same input already saved (they are not saved or charged again). Ideal for a daily or weekly schedule.",
            "default": false
          },
          "maxEvents": {
            "title": "Max events",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum number of events for the whole run, shared fairly between your cities, categories and calendars. 0 = everything (up to 20,000).",
            "default": 100
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default and comes with every Apify plan. If Luma rate-limits datacenter IPs for a while, the run switches to residential proxies when your account has them.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}