example-data.com
Menu

How to use this data

Use events for discovery, event-rsvps for attendance, and tickets for ticket examples. calendar-events is a separate dataset for personal schedules, with start and end times and attendee IDs.

Click into any collection to see its schema, sample records, and API reference.

Try it now

Fetch events in the language of your choice.

curl example

curl -sS \
  "https://example-data.com/api/v1/events?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/events?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/events.d.ts https://example-data.com/types/events.d.ts
import type { Event, ListEnvelope } from "./types/events";

const res = await fetch(
  "https://example-data.com/api/v1/events?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Event>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/events",
    params={"limit": 25},
)
data = res.json()

Looking for a visual way to build a web or mobile app? You can use this data with Draftbit.