{
  "openapi": "3.0.1",
  "info": {
    "title": "Luma Events Scraper: Tech Meetups by City ($2/1K)",
    "description": "Luma events scraper for lu.ma: name, URL, start and end time, city, venue, free or paid, ticket price, sold out, spots left, guest count and organizer. Takes cities and an optional keyword. Use it to find tech meetups, AI and startup events in a city.",
    "version": "1.0",
    "x-build-id": "ZUUv4kTeGVGHwZ0qr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tamnt67~luma-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tamnt67-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/tamnt67~luma-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tamnt67-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/tamnt67~luma-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tamnt67-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 city slugs (the part after luma.com/), such as sf, nyc, london, singapore, berlin, tokyo. City URLs also work. If you give no city, the Actor runs the example city sf.",
            "items": {
              "type": "string"
            }
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Only events whose name or organizer contains this word or phrase as a whole word, case-insensitive, for example ai or crypto (\"ai\" does not match \"Taipei\"). Leave empty for all events."
          },
          "freeOnly": {
            "title": "Free events only",
            "type": "boolean",
            "description": "Only events with free registration.",
            "default": false
          },
          "calendars": {
            "title": "Calendars",
            "type": "array",
            "description": "Optional. Luma organizer calendars to read, as the part after luma.com/ (for example rsihouse) or the calendar URL. Upcoming events of each calendar are exported.",
            "items": {
              "type": "string"
            }
          },
          "eventUrls": {
            "title": "Event URLs",
            "type": "array",
            "description": "Optional. Single Luma event pages, for example https://luma.com/ktv3iwd9.",
            "items": {
              "type": "string"
            }
          },
          "searchQuery": {
            "title": "Search",
            "type": "string",
            "description": "Optional. Luma's own search inside each city (event names and descriptions), for example crypto or founders."
          },
          "category": {
            "title": "Category",
            "type": "string",
            "description": "Optional. A Luma category slug, the part after luma.com/ of a category page: ai, tech, crypto, arts, climate, fitness, wellness. Returns that category's events within 50 km of each city."
          },
          "eventType": {
            "title": "Event type",
            "enum": [
              "any",
              "in-person",
              "online"
            ],
            "type": "string",
            "description": "Keep in-person or online events only.",
            "default": "any"
          },
          "paidOnly": {
            "title": "Paid events only",
            "type": "boolean",
            "description": "Only events with paid tickets.",
            "default": false
          },
          "hideSoldOut": {
            "title": "Hide sold-out events",
            "type": "boolean",
            "description": "Skip events that are sold out.",
            "default": false
          },
          "minGuests": {
            "title": "Minimum guests",
            "minimum": 1,
            "type": "integer",
            "description": "Optional. Skip events with fewer registered guests (guestCount)."
          },
          "dateFrom": {
            "title": "Starts on or after",
            "type": "string",
            "description": "Optional. Keep events starting on or after this date (YYYY-MM-DD, UTC)."
          },
          "dateTo": {
            "title": "Starts on or before",
            "type": "string",
            "description": "Optional. Keep events starting on or before this date (YYYY-MM-DD, UTC, whole day included)."
          },
          "includeDetails": {
            "title": "Include event details",
            "type": "boolean",
            "description": "Open each event page and add description, categories and ticketTypes. One extra page per event.",
            "default": false
          },
          "includeHosts": {
            "title": "Include hosts",
            "type": "boolean",
            "description": "Add hosts: name, username, profile URL and the social handles hosts show publicly on the event. No emails or phone numbers.",
            "default": false
          },
          "maxEventsPerCity": {
            "title": "Max events per city",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop each city after this many events.",
            "default": 200
          },
          "maxItems": {
            "title": "Max events",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many events in total.",
            "default": 500
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Proxy for the requests to Luma. Datacenter proxy is enough.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}