{
  "openapi": "3.0.1",
  "info": {
    "title": "Luma Events Scraper for Cities, Calendars and Hosts",
    "description": "Luma events scraper: upcoming events by city and category, calendar or event link, with times, venue, price, sold-out state, guest counts, hosts and their public social links, plus an organizers table and new or changed events since the last run. No login. Maintained by CleanScrape.",
    "version": "0.1",
    "x-build-id": "PwdttRkldd2lbFshY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cleanscrape~luma-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cleanscrape-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/cleanscrape~luma-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cleanscrape-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/cleanscrape~luma-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cleanscrape-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": "One per line: any city (San Francisco, London, Bangalore, Tampere...; add the country when the name is ambiguous: Portland, United States), a Luma city link (luma.com/sf) or coordinates (52.52, 13.40). Upcoming in-person events near it, soonest first.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories (optional)",
            "type": "array",
            "description": "Only events in these Luma categories, near each city. Empty: all events.",
            "items": {
              "type": "string",
              "enum": [
                "ai",
                "tech",
                "crypto",
                "arts",
                "climate",
                "fitness",
                "wellness",
                "food",
                "books",
                "games",
                "family",
                "running"
              ],
              "enumTitles": [
                "AI",
                "Tech",
                "Crypto",
                "Arts & Culture",
                "Climate",
                "Fitness",
                "Wellness",
                "Food & Drink",
                "Books",
                "Games",
                "Family",
                "Running"
              ]
            }
          },
          "urls": {
            "title": "Luma links (optional)",
            "type": "array",
            "description": "Calendars (luma.com/<calendar>, such as an organizer or community), single events, city pages or category pages, one per line. A calendar gives all its upcoming events, and with \"Past events\" its earlier ones too, online events included.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "From date",
            "type": "string",
            "description": "Events starting on or after this day (UTC), such as 2026-12-01, today or +7 days."
          },
          "dateTo": {
            "title": "To date",
            "type": "string",
            "description": "Events starting on or before this day, such as 2026-12-31 or +30 days. Paging stops once past it."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep events whose name, organizer or calendar contains any of these words (also the description when \"Event details\" is on). Case does not matter.",
            "items": {
              "type": "string"
            }
          },
          "locationType": {
            "title": "Format",
            "enum": [
              "any",
              "inPerson",
              "online"
            ],
            "type": "string",
            "description": "City pages list in-person events; online events come from calendars.",
            "default": "any"
          },
          "price": {
            "title": "Price",
            "enum": [
              "any",
              "free",
              "paid"
            ],
            "type": "string",
            "description": "Free or paid tickets.",
            "default": "any"
          },
          "hideSoldOut": {
            "title": "Leave out sold-out events",
            "type": "boolean",
            "description": "Skip events whose tickets are gone.",
            "default": false
          },
          "minGuests": {
            "title": "Minimum guests",
            "minimum": 0,
            "type": "integer",
            "description": "Only events with at least this many people registered (events that hide the count are left out)."
          },
          "includePast": {
            "title": "Past events from calendars",
            "type": "boolean",
            "description": "Also the earlier events of each calendar link, newest first, back to \"From date\".",
            "default": false
          },
          "includeDetails": {
            "title": "Event details",
            "type": "boolean",
            "description": "Also the description, categories and ticket types of each event. Reads each event page, so about 40 events a minute instead of hundreds.",
            "default": false
          },
          "maxEvents": {
            "title": "Maximum events",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "The most events to save in one run, soonest first.",
            "default": 500
          },
          "watchName": {
            "title": "Watch name",
            "type": "string",
            "description": "Any name, such as sf-ai-events. Each name keeps its own memory in your account."
          },
          "onlyChanges": {
            "title": "Only new and changed events",
            "type": "boolean",
            "description": "With a watch name: save (and pay for) only events that are new or changed since the last run.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}