{
  "openapi": "3.0.1",
  "info": {
    "title": "Luma Events Scraper - Events, Hosts & Calendars",
    "description": "Scrape public Luma events, hosts, calendars, ticket signals, guest counts, featured guests, locations, and event details from categories, calendars, or event URLs.",
    "version": "0.0",
    "x-build-id": "myIyZi4c3JUb70HVo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/elliotpadfield~luma-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-elliotpadfield-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/elliotpadfield~luma-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-elliotpadfield-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/elliotpadfield~luma-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-elliotpadfield-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": {
          "categorySlugs": {
            "title": "Luma Categories",
            "uniqueItems": true,
            "type": "array",
            "description": "Choose one or more public Luma category slugs. The suggested categories are common public Luma categories, but you can also type a custom category slug or paste a category URL.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "ai",
                "tech",
                "crypto",
                "arts",
                "climate",
                "fitness",
                "wellness",
                "food"
              ],
              "enumTitles": [
                "AI",
                "Tech",
                "Crypto",
                "Arts & Culture",
                "Climate",
                "Fitness",
                "Wellness",
                "Food & Drink"
              ]
            },
            "default": [
              "ai"
            ]
          },
          "calendarUrls": {
            "title": "Calendar URLs",
            "uniqueItems": true,
            "type": "array",
            "description": "Specific Luma calendar URLs or slugs to scrape for upcoming events.",
            "items": {
              "type": "string"
            }
          },
          "eventUrls": {
            "title": "Event URLs",
            "uniqueItems": true,
            "type": "array",
            "description": "Specific Luma event URLs to enrich.",
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Keyword Filter",
            "type": "string",
            "description": "Optional. Search within selected categories for terms such as founder, investor, AI agents, fintech, meetup, coffee, or demo day."
          },
          "locationPreset": {
            "title": "Location",
            "enum": [
              "",
              "san-francisco",
              "new-york",
              "london",
              "los-angeles",
              "berlin",
              "paris",
              "singapore"
            ],
            "type": "string",
            "description": "Optional. Pick a common city for local discovery. Choose Anywhere for global category results. Custom latitude and longitude below override this preset.",
            "default": ""
          },
          "latitude": {
            "title": "Custom Latitude",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Optional. Use with Custom Longitude to set a custom location center. Leave blank to use the Location preset or global results."
          },
          "longitude": {
            "title": "Custom Longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "Optional. Use with Custom Latitude to set a custom location center. Luma controls the nearby-results range; this actor does not expose a radius field."
          },
          "maxEvents": {
            "title": "Maximum Events",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum number of unique events to save.",
            "default": 5
          },
          "includeEventDetails": {
            "title": "Include Event Details",
            "type": "boolean",
            "description": "Fetch each event page to enrich list results with descriptions, categories, and additional metadata. Leave off for faster sample runs.",
            "default": false
          },
          "includeFeaturedGuests": {
            "title": "Include Featured Guests",
            "type": "boolean",
            "description": "Include public featured guest names when Luma exposes them on discovery or event pages. This does not scrape private attendee lists.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Maximum Concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Number of event detail pages to fetch in parallel.",
            "default": 5
          },
          "requestDelayMs": {
            "title": "Retry Delay",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Base delay in milliseconds between retry attempts after transient failures.",
            "default": 250
          },
          "maxRetries": {
            "title": "Maximum Retries",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Number of retries for transient HTTP, timeout, or proxy failures.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}