{
  "openapi": "3.0.1",
  "info": {
    "title": "Luma Events Scraper — City, Category & Calendar Events",
    "description": "Scrape public Luma (luma.com, lu.ma) events by city, category, organiser calendar, coordinates or keyword: title, ISO dates, venue, city, coordinates, price, sold-out status, guest count, organiser. Optional description and ticket types. No attendee data.",
    "version": "0.1",
    "x-build-id": "1BkVVQPO7CMK0LbIl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fabrikit~luma-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fabrikit-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/fabrikit~luma-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fabrikit-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/fabrikit~luma-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fabrikit-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": "Luma cities as slug, name or link: nyc, sf, london, berlin, paris, tokyo, singapore, toronto, \"Mexico City\", https://luma.com/barcelona ... (about 90 cities; see the README). Each city returns the public events Luma lists around it. When you also fill Categories, the cities are used as the places to search those categories in.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Luma categories: tech, ai, arts, food, crypto, climate, fitness, wellness, running, books, games, family (slug, name or https://luma.com/<category> link). Categories are local on Luma, so they run around every city and every coordinate point you give.",
            "items": {
              "type": "string"
            }
          },
          "coordinates": {
            "title": "Coordinates",
            "type": "array",
            "description": "Points as \"latitude, longitude\" (for example 52.5200, 13.4050) to get the events Luma lists near them; useful for places that are not a Luma city.",
            "items": {
              "type": "string"
            }
          },
          "calendars": {
            "title": "Organiser calendars",
            "type": "array",
            "description": "Calendars of companies and communities: https://luma.com/<calendar>, the bare slug (for example granola) or a cal-... id. Returns the calendar's upcoming events (or past ones, see Calendar period).",
            "items": {
              "type": "string"
            }
          },
          "lumaUrls": {
            "title": "Luma links",
            "type": "array",
            "description": "Any luma.com or lu.ma link: a city page, a category page, a calendar page or a single event page. Each link is checked once and handled like the matching field above. Single events always come with their details.",
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Search keyword",
            "type": "string",
            "description": "Optional keyword (for example hackathon, startup, yoga). Luma's own search runs inside every city, coordinate point, category and calendar above and returns its best matches (up to 50 per source, ranked by relevance, not by date)."
          },
          "cityFeed": {
            "title": "City listing",
            "enum": [
              "all",
              "featured"
            ],
            "type": "string",
            "description": "all = every public event Luma lists around the city (large, many per day). featured = only the short curated list of the city page (luma.com/<city>).",
            "default": "all"
          },
          "calendarPeriod": {
            "title": "Calendar period",
            "enum": [
              "future",
              "past"
            ],
            "type": "string",
            "description": "For organiser calendars: upcoming events (soonest first) or past events (newest first).",
            "default": "future"
          },
          "startDateFrom": {
            "title": "Starts on or after",
            "type": "string",
            "description": "Keep events that start on or after this date: YYYY-MM-DD, an ISO date-time, today, or a day offset such as +3d."
          },
          "startDateTo": {
            "title": "Starts on or before",
            "type": "string",
            "description": "Keep events that start on or before this date (the whole day counts): YYYY-MM-DD, today or a day offset such as +14d."
          },
          "onlyFree": {
            "title": "Free events only",
            "type": "boolean",
            "description": "Skip events that sell tickets.",
            "default": false
          },
          "includeDetails": {
            "title": "Add details (description, categories, ticket types)",
            "type": "boolean",
            "description": "One extra request per event: the description as plain text (e-mail addresses and phone numbers removed), Luma categories and every visible ticket type with price, capacity and spots left. Charged as the event-details add-on, only for events whose details came back.",
            "default": false
          },
          "maxItems": {
            "title": "Max events",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Total events to save in this run (duplicates across sources are skipped and not counted).",
            "default": 50
          },
          "maxEventsPerSource": {
            "title": "Max events per source",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Cap for each city, point, category x place and calendar, so one big city does not use the whole run. 0 = no cap.",
            "default": 25
          },
          "maxConcurrency": {
            "title": "Sources in parallel",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many sources are read at the same time. Requests to Luma are spaced out anyway; keep it low.",
            "default": 2
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed normally: Luma's public API answers direct requests. Set a proxy only if your runs get blocked.",
            "default": {
              "useApifyProxy": false
            }
          },
          "autoProxyFallback": {
            "title": "Switch to Apify proxies when blocked",
            "type": "boolean",
            "description": "On the Apify platform, move to datacenter and then residential proxies only after repeated blocked requests.",
            "default": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}