> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stophy.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Luma events

> Read a Luma city page as JSON with the luma-events parser. $1 per 1,000 calls. Send the page to scrape. Examples in cURL, TypeScript and Python.

Reads a Luma city page, like luma.com/sf or lu.ma/london, and returns a list of events as JSON.

## Make a request

Send the page's URL to [scrape](https://docs.stophy.dev/api-reference/endpoint/scrape.md) with a `json` format that names the parser. Get an API key in the [Quickstart](https://docs.stophy.dev/quickstart).

```bash cURL theme={null}
curl -X POST https://api.stophy.dev/v1/scrape \
  -H "Authorization: Bearer $STOPHY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://luma.com/sf","formats":[{"type":"json","parser":"luma-events"}]}'
```

```typescript TypeScript theme={null}
const response = await fetch("https://api.stophy.dev/v1/scrape", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.STOPHY_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    url: "https://luma.com/sf",
    formats: [{ type: "json", parser: "luma-events" }],
  }),
});
console.log(await response.json());
```

```python Python theme={null}
import os

import requests

response = requests.post(
    "https://api.stophy.dev/v1/scrape",
    headers={"Authorization": f"Bearer {os.environ['STOPHY_API_KEY']}"},
    json={
        "url": "https://luma.com/sf",
        "formats": [{"type": "json", "parser": "luma-events"}],
    },
)
print(response.json())
```

## Read the response

The parser's data is in `data.json`. Its fields include `results`, `cursor`, `page` and `total`. This sample is cut to the first items.

```json theme={null}
{
  "success": true,
  "data": {
    "json": {
      "results": [
        {
          "id": "evt-Wh9NlYi9GwQqF2J",
          "url": "https://luma.com/wkt3e8lq",
          "title": "FORWARD - WOMEN'S HEALTH SUMMIT",
          "description": null,
          "startsAt": "2026-11-04T17:30:00.000Z",
          "endsAt": "2026-11-04T23:30:00.000Z",
          "timezone": "America/Los_Angeles",
          "isOnline": false,
          "address": "SVB Experience Center, 532 Market St, San Francisco, CA 94104, USA",
          "location": {
            "latitude": 37.7905863,
            "longitude": -122.40033319999998
          },
          "price": null,
          "hosts": [
            {
              "id": null,
              "name": "Example user",
              "handle": null,
              "url": null,
              "avatarUrl": null
            }
          ],
          "images": [
            "https://images.lumacdn.com/uploads/02/e46677f2-8725-4293-8f29-9ffa8c66520b.jpg"
          ],
          "city": "San Francisco, CA",
          "calendarName": "Personal",
          "guestCount": 0,
          "isFree": true,
          "isSoldOut": true,
          "spotsRemaining": 0,
          "needsApproval": true,
          "hasWaitlist": true
        }
      ],
      "cursor": "eyJzdiI6IjIwMjYtMTEtMDUgMDE6MzA6MDArMDAiLCJmYiI6ImV2dC1aRHVxZ2lVMzdrcDRCWnAifQ",
      "page": null,
      "total": null,
      "city": "San Francisco"
    }
  }
}
```

## Options

Send options in the `options` object of the `json` format.

| Option | What it does |
| - | - |
| `category` | Only events in this Luma category. |
| `cursor` | The cursor from the previous response. Send it as is. |

## Price

\$1 per 1,000 calls. See [Pricing](https://docs.stophy.dev/account/pricing.md).

## Limits and errors

* The URL must be a Luma city page, like luma.com/sf or lu.ma/london. Any other URL fails with `invalidRequest`.
* To read the next page, send the `cursor` from the response as the `cursor` option. Paging needs an API key.
* The answer comes back in `data.json`. If the page cannot be read, the call fails with an error code from [Errors](https://docs.stophy.dev/api-reference/errors.md).

## Related

* [Pre-built parsers](https://docs.stophy.dev/scrape/prebuilt-parsers) lists every parser.
* [Scrape](https://docs.stophy.dev/scrape/overview) has the options every scrape takes.
* [Luma event](https://docs.stophy.dev/scrape/prebuilt-parsers/places-and-travel/luma-event.md)
* [Google Maps](https://docs.stophy.dev/scrape/prebuilt-parsers/places-and-travel/google-maps.md)
* [Google Maps place](https://docs.stophy.dev/scrape/prebuilt-parsers/places-and-travel/google-maps-place.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.