example-data.com
Menu
Browse docs and collections

tickets

tickets

Page 13 of 13.

Overview

Request

curl example

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

JavaScript example

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

TypeScript example

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

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

Python example

import requests

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

Response

{
  "data": [
    {
      "id": 289,
      "eventName": "National Welch Championship",
      "venue": "Coral Springs Amphitheater",
      "eventAt": "2026-08-23T02:21:40.814Z",
      "type": "general",
      "price": 898.52,
      "currency": "JPY",
      "sectionCode": "D2",
      "seatCode": null,
      "isSold": false,
      "createdAt": "2026-04-26T02:21:40.814Z"
    },
    {
      "id": 290,
      "eventName": "The Schmeler Show",
      "venue": "West Katrineside Auditorium",
      "eventAt": "2026-03-09T14:11:48.894Z",
      "type": "reserved",
      "price": 894.06,
      "currency": "EUR",
      "sectionCode": "GA",
      "seatCode": "N35",
      "isSold": true,
      "createdAt": "2025-10-03T14:11:48.894Z"
    },
    {
      "id": 291,
      "eventName": "Grand Prohaska Summit",
      "venue": "Brettworth Convention Center",
      "eventAt": "2026-10-01T07:50:57.686Z",
      "type": "general",
      "price": 900.95,
      "currency": "JPY",
      "sectionCode": "D2",
      "seatCode": null,
      "isSold": false,
      "createdAt": "2026-04-24T07:50:57.686Z"
    }
  ],
  "meta": {
    "page": 13,
    "limit": 24,
    "total": 300,
    "totalPages": 13
  },
  "links": {
    "self": "/api/v1/tickets?page=13&limit=24",
    "first": "/api/v1/tickets?page=1&limit=24",
    "last": "/api/v1/tickets?page=13&limit=24",
    "next": null,
    "prev": "/api/v1/tickets?page=12&limit=24"
  }
}