{
  "openapi": "3.0.1",
  "info": {
    "title": "Luma Events Scraper",
    "description": "Collects public events from Luma and returns event times, venue and location, ticket details, guest counts, calendar information, hosts and public profile links. Start from a city, category, calendar, single event or keyword search; data comes from Luma's unauthenticated JSON API.",
    "version": "0.1",
    "x-build-id": "FTmOQhQ6gYjrmtiE6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/axiomworks~luma-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-axiomworks-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/axiomworks~luma-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-axiomworks-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/axiomworks~luma-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-axiomworks-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": {
          "startUrls": {
            "title": "Luma URLs or page slugs",
            "type": "array",
            "description": "Luma event, city, category or calendar pages, e.g. [{\"url\":\"https://luma.com/sf\"}]. Also accepts URL strings or bare slugs such as sf. Sources share maxItems; use eventIds for evt- IDs. Omitted with no other source: San Francisco. Missing or blocked targets produce no error rows; try a known public page or retry later.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "city": {
            "title": "City slug or name",
            "type": "string",
            "description": "Luma city slug or name, e.g. sf, london or San Francisco. Omitted: no city filter; if all sources are omitted, San Francisco. Alone: upcoming city events. With category: that category within radiusKm. Unknown cities are skipped; try a city slug from Luma Discover."
          },
          "category": {
            "title": "Event category slug",
            "enum": [
              "",
              "ai",
              "tech",
              "crypto",
              "climate",
              "arts",
              "books",
              "family",
              "fitness",
              "food",
              "games",
              "running",
              "wellness"
            ],
            "type": "string",
            "description": "Category slug, e.g. ai or tech; choose an enum value. Default empty: no category filter. Alone: worldwide upcoming events, soonest first. With city or both coordinates: within radiusKm. An empty result may need a wider radius or another category.",
            "default": ""
          },
          "calendar": {
            "title": "Calendar slug URL or cal ID",
            "type": "string",
            "description": "Public calendar slug, cal- ID or Luma calendar URL, e.g. genai-sf or https://luma.com/genai-sf. Omitted: no calendar source. Returns future events unless period=past. Missing or blocked calendars are skipped; try a known public calendar or another period."
          },
          "query": {
            "title": "Event name search text",
            "type": "string",
            "description": "Event-name search text, e.g. hackathon. Omitted: no keyword filter. Worldwide unless a city, category, calendar or start URL scopes it. Luma returns at most 50 matches per query; try a broader term or remove filters for empty results."
          },
          "queries": {
            "title": "Additional event name searches",
            "type": "array",
            "description": "Additional event-name searches, e.g. [\"hackathon\", \"meetup\"]. query runs first, then distinct queries in order, with the same city/category/calendar/URL scope. At most 50 matches per query from Luma; maxItems is shared and duplicate events are saved once. Default empty.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "period": {
            "title": "Calendar future or past events",
            "enum": [
              "future",
              "past"
            ],
            "type": "string",
            "description": "Calendar event period, e.g. past. Allowed: future (default) or past. Only filters calendars; discover and search remain upcoming. If a calendar has no future events, try past.",
            "default": "future"
          },
          "latitude": {
            "title": "Category centre latitude",
            "type": "number",
            "description": "Category search centre latitude, e.g. 40.71; -90 to 90. Omitted: no coordinate centre. Requires longitude and a category; used only without city. With city, the city centre takes precedence."
          },
          "longitude": {
            "title": "Category centre longitude",
            "type": "number",
            "description": "Category search centre longitude, e.g. -74.0; -180 to 180. Omitted: no coordinate centre. Requires latitude and a category; used only without city. With city, the city centre takes precedence."
          },
          "radiusKm": {
            "title": "Category search radius kilometres",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Category search radius in kilometres, e.g. 40; 1-500, default 50. Applies with city or both latitude and longitude. Does not filter a city-only listing. Increase it if a local category returns no events.",
            "default": 50
          },
          "maxItems": {
            "title": "Total unique events to return",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Total unique events to save across all URLs, eventIds, cities, categories, calendars and searches, e.g. 7; 1-10000, default 100. Stops at this shared limit when enough events exist; duplicate IDs are saved once. Only saved results are charged.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include event descriptions and tickets",
            "type": "boolean",
            "description": "Whether to include event details, e.g. false for a faster listing. Default true: fetch description, descriptionLinks, ticketTypes, categories, locale and registrationQuestions. False leaves detail fields null. detailsFetched reports success. Direct event inputs need no extra request; external entries have none.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Request proxy settings",
            "type": "object",
            "description": "Proxy settings, e.g. {\"useApifyProxy\":true} (default). Uses Apify datacenter proxy for public Luma requests and retries blocks on fresh sessions. For local testing use {\"useApifyProxy\":false}; if requests remain blocked, retry later or change proxy settings.",
            "default": {
              "useApifyProxy": true
            }
          },
          "eventIds": {
            "title": "Direct public evt IDs",
            "type": "array",
            "description": "Public Luma evt- IDs to fetch directly, e.g. evt-BlQwkRLguP9KuyU. Default empty. Runs after startUrls and shares maxItems with all sources. Missing or blocked IDs are skipped; no placeholder records.",
            "items": {
              "type": "string"
            },
            "default": []
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}