{
  "openapi": "3.0.1",
  "info": {
    "title": "Luma Events Scraper | lu.ma Events, Hosts & Tickets API",
    "description": "$1.50 per 1,000 events, description + hosts included | Scrape Luma (lu.ma) events by city, category, keyword or calendar: dates, venue, GPS, ticket prices, guest counts, host profiles. Only-new mode for daily schedules. JSON API, no login, no proxy.",
    "version": "0.1",
    "x-build-id": "63ClEItqGcaUqZUmf"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data_daemon~luma-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data_daemon-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/data_daemon~luma-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-data_daemon-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/data_daemon~luma-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-data_daemon-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",
        "required": [
          "cities"
        ],
        "properties": {
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Luma discover cities, e.g. `San Francisco`, `New York`, `London`, `Berlin`, `Bengaluru`, `Tokyo`, `Singapore` (87 cities; a `lu.ma/<city>` URL or a `discplace-...` id works too). One upcoming-events feed per city, newest start date last. An event found in two feeds is saved and charged once. Leave one city for a quick first run; set the list empty to search worldwide with a keyword.",
            "default": [
              "San Francisco"
            ],
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Optional. Luma categories: `ai`, `tech`, `arts`, `climate`, `crypto`, `fitness`, `wellness`, `running`, `books`, `games`, `family`, `fooddrink`. Each category is scraped around each city above (Luma lists category events by location). Several categories = any of them.",
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Keyword",
            "type": "string",
            "description": "Optional keyword searched by Luma in event names and descriptions, e.g. `hackathon`, `founders`, `yoga`, `web3`. Applied inside each city, category and calendar feed (Luma returns the 50 best matches per feed). With `cities` set to an empty list and no other source, it searches worldwide."
          },
          "startUrls": {
            "title": "Luma URLs or IDs (calendars, events, cities, categories)",
            "type": "array",
            "description": "Optional. Any public lu.ma / luma.com link: an organiser calendar (`https://lu.ma/planetscale`), a single event (`https://lu.ma/qjw9i5a9`), a city (`https://lu.ma/sf`) or a category (`https://lu.ma/ai`); `cal-...`, `evt-...`, `discplace-...` ids too. Calendars return their upcoming events. When only URLs are given, the default city is not scraped.",
            "items": {
              "type": "string"
            }
          },
          "daysAhead": {
            "title": "Days ahead",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Only events starting within the next N days (1-365), e.g. `7` for this week's events. Leave empty for all upcoming events (feeds are ordered by start date, so `maxEvents` takes the soonest ones)."
          },
          "startDateFrom": {
            "title": "Start date from",
            "type": "string",
            "description": "Optional earliest start date, `YYYY-MM-DD` or ISO date-time (UTC), e.g. `2026-11-01`. Applied by Luma's own date cursor, so later pages are not fetched for nothing."
          },
          "startDateTo": {
            "title": "Start date to",
            "type": "string",
            "description": "Optional latest start date, `YYYY-MM-DD` (inclusive) or ISO date-time. Each feed stops at the first event after this date."
          },
          "priceType": {
            "title": "Free or paid",
            "enum": [
              "any",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "`any` (default), `free` (ticket price 0 / no ticket) or `paid` (at least one paid ticket type). Checked on every event before it is saved or charged.",
            "default": "any"
          },
          "eventFormat": {
            "title": "In-person or online",
            "enum": [
              "any",
              "in-person",
              "online"
            ],
            "type": "string",
            "description": "`any` (default), `in-person` (events with a physical venue) or `online` (no venue or a meeting link as the venue, incl. events whose location is not announced).",
            "default": "any"
          },
          "includeDetails": {
            "title": "Include event details (description, ticket types, categories)",
            "type": "boolean",
            "description": "On (default): one extra request per new event adds the full description (plain text and HTML), every public ticket type with its price, the event's Luma categories and the sold-out flag. The price per event is the same either way. Off: feed fields only (name, dates, venue, GPS, price range, hosts, calendar, guest count), roughly twice as fast.",
            "default": true
          },
          "maxEvents": {
            "title": "Max events total",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many saved events (default 25). Cost: $0.0015 per event with details, so 25 events = $0.04. A city has 50-150 upcoming events; raise this for full exports.",
            "default": 25
          },
          "maxEventsPerSource": {
            "title": "Max events per city / category / calendar",
            "minimum": 0,
            "type": "integer",
            "description": "Optional cap per feed so one busy city does not use up `maxEvents` (0 = no cap).",
            "default": 0
          },
          "onlyNewSinceLastRun": {
            "title": "Only new events since the last run",
            "type": "boolean",
            "description": "On: deliver only events that an earlier run with the same `stateKey` has not already delivered, and skip the rest without charging. Off (default): return every matching event.",
            "default": false
          },
          "stateKey": {
            "title": "State key (name of this saved search)",
            "type": "string",
            "description": "Optional name for this search's memory when `onlyNewSinceLastRun` is on, e.g. `sf-ai-daily`. Leave empty to derive it from the cities, categories, keyword and URLs. Use a new key to start over."
          },
          "skipEventIds": {
            "title": "Skip event IDs",
            "type": "array",
            "description": "Event ids you already have (the `id` field from earlier runs, e.g. `evt-Dgnnl0IoUmK5Se1`; `lu.ma/<slug>` URLs are accepted too). Skipped before any detail fetch and never charged. Large lists are fine.",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional, none by default. Luma's public JSON API answers Apify's datacenter IPs directly, so no proxy is needed; set one only if your own network policy requires it."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}