{
  "openapi": "3.0.1",
  "info": {
    "title": "Luma Events Scraper | lu.ma Events, Hosts & Tickets",
    "description": "Scrape Luma (lu.ma) events by city, map area, category, keyword or organizer calendar. Dates, venues with coordinates, prices, sold-out status, guest counts, hosts with LinkedIn and X links. Monitoring mode emits only new events.",
    "version": "1.0",
    "x-build-id": "2BcvFnFleDIkWLgdy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trev0n~luma-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trev0n-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/trev0n~luma-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-trev0n-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/trev0n~luma-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-trev0n-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 as you would type them: \"London\", \"New York\", \"San Francisco\", \"Berlin\", \"Warsaw\". Any of Luma's 85+ discover cities works. For any other place, enter its coordinates as \"latitude, longitude\", e.g. \"50.06, 19.94\". Every event in the area is collected, not only the handful Luma features on the city page.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "radiusKm": {
            "title": "Search radius (km)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How far around each city or coordinate to look.",
            "default": 50
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Whole continents instead of (or next to) cities. A category with no city or region searches all of them.",
            "items": {
              "type": "string",
              "enum": [
                "europe",
                "north-america",
                "latin-america",
                "asia",
                "africa-middle-east",
                "oceania"
              ],
              "enumTitles": [
                "Europe",
                "North America",
                "Latin America",
                "Asia",
                "Africa & Middle East",
                "Oceania"
              ]
            },
            "default": []
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Luma's discover categories. Each one runs as its own search in every city or region. Leave empty for all events.",
            "items": {
              "type": "string",
              "enum": [
                "ai",
                "tech",
                "crypto",
                "arts",
                "food",
                "fitness",
                "wellness",
                "running",
                "climate",
                "books",
                "games",
                "family"
              ],
              "enumTitles": [
                "AI",
                "Tech",
                "Crypto",
                "Arts & Culture",
                "Food & Drink",
                "Fitness",
                "Wellness",
                "Running",
                "Climate",
                "Books",
                "Games",
                "Family"
              ]
            },
            "default": []
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Search terms such as \"startup\", \"web3\" or \"yoga\". Luma returns up to 50 best matches per keyword (per city and category). For every event of a city that mentions a word, use the city with \"Must contain any of these words\" instead.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Luma URLs",
            "type": "array",
            "description": "Event pages (https://luma.com/abc123), organizer calendars (https://luma.com/mistral.ai), city pages (https://luma.com/london) or category pages (https://luma.com/ai). lu.ma links work too.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "calendarPeriod": {
            "title": "Organizer calendar events",
            "enum": [
              "future",
              "past",
              "both"
            ],
            "type": "string",
            "description": "Which events to take from organizer calendar URLs.",
            "default": "future"
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many events (counted after filters). Set 0 for every event the searches return.",
            "default": 100
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "Keep only events starting on or after this day (YYYY-MM-DD), in each event's local time.",
            "default": ""
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "Keep only events starting on or before this day (YYYY-MM-DD), in each event's local time.",
            "default": ""
          },
          "price": {
            "title": "Price",
            "enum": [
              "",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Free or paid events only.",
            "default": ""
          },
          "locationType": {
            "title": "Format",
            "enum": [
              "",
              "in-person",
              "online"
            ],
            "type": "string",
            "description": "In-person or online events only. City and region searches list in-person events; online events come mostly from organizer calendars.",
            "default": ""
          },
          "excludeSoldOut": {
            "title": "Skip sold-out events",
            "type": "boolean",
            "description": "Drop events with no spots left.",
            "default": false
          },
          "includeKeywords": {
            "title": "Must contain any of these words",
            "type": "array",
            "description": "Keep only events whose name, organizer, venue or category contain at least one of these as a whole word.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Must not contain any of these words",
            "type": "array",
            "description": "Drop events whose name, organizer, venue or category contain any of these as a whole word.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Add descriptions & ticket details",
            "type": "boolean",
            "description": "Opens each event for its full description as plain text, every ticket type with price and capacity, the refund policy, Luma categories and the complete host list. Slower; event URLs always include these.",
            "default": false
          },
          "descriptionMaxLength": {
            "title": "Truncate descriptions to (characters)",
            "minimum": 0,
            "type": "integer",
            "description": "0 keeps the full description.",
            "default": 0
          },
          "detailConcurrency": {
            "title": "Event pages in parallel",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many events to open at once when adding details.",
            "default": 3
          },
          "excludeEmptyFields": {
            "title": "Drop empty fields",
            "type": "boolean",
            "description": "Removes fields that came back empty.",
            "default": false
          },
          "incrementalMode": {
            "title": "Incremental monitoring",
            "type": "boolean",
            "description": "Remember what previous runs saw and emit only new, updated (time, venue, price, sold out) or reappeared events. The first run stores a baseline; later runs emit far fewer records, and you pay only for those.",
            "default": false
          },
          "stateKey": {
            "title": "Monitoring state key",
            "type": "string",
            "description": "Name the baseline this run compares against. Leave empty to derive one from the searches.",
            "default": ""
          },
          "emitUnchanged": {
            "title": "Also emit unchanged events",
            "type": "boolean",
            "description": "Also emit events that have not changed since the previous run.",
            "default": false
          },
          "emitExpired": {
            "title": "Also emit events that disappeared",
            "type": "boolean",
            "description": "Emit a record for every event that was in the baseline but is gone now (passed, cancelled or unlisted).",
            "default": false
          },
          "stateRetentionDays": {
            "title": "Forget events not seen for (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Keeps the monitoring memory small. 0 keeps everything.",
            "default": 90
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "POSTs the run summary and emitted events as JSON. Stored encrypted."
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "Bot token from @BotFather. Stored encrypted."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "The chat or channel the Telegram bot should post into.",
            "default": ""
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Discord channel webhook. Stored encrypted."
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Slack incoming webhook. Stored encrypted."
          },
          "notifyOnlyChanges": {
            "title": "Only notify when something changed",
            "type": "boolean",
            "description": "Stay silent when a monitoring run finds nothing new.",
            "default": true
          },
          "notificationLimit": {
            "title": "Events listed per notification",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many events each notification lists before it summarises the rest.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "No proxy is needed and it is the fastest, cheapest setting. Turn one on only if your runs report being asked to slow down.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}