example-data.com
Menu
Browse docs and collections

tickets

tickets

Page 4 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": 73,
      "eventName": "Annual Bednar Gala",
      "venue": "Wuckertville Convention Center",
      "eventAt": "2026-12-23T13:21:01.760Z",
      "type": "standing",
      "price": 173.94,
      "currency": "MXN",
      "sectionCode": "VIP",
      "seatCode": null,
      "isSold": false,
      "createdAt": "2026-11-07T13:21:01.760Z"
    },
    {
      "id": 74,
      "eventName": "Grand Rau Gala",
      "venue": "Ednaland Auditorium",
      "eventAt": "2026-03-23T07:29:01.357Z",
      "type": "reserved",
      "price": 231.34,
      "currency": "CAD",
      "sectionCode": "C2",
      "seatCode": "N48",
      "isSold": true,
      "createdAt": "2025-12-26T07:29:01.357Z"
    },
    {
      "id": 75,
      "eventName": "International Russel Finals",
      "venue": "Council Bluffs Stadium",
      "eventAt": "2027-04-04T08:56:27.504Z",
      "type": "vip",
      "price": 223.26,
      "currency": "GBP",
      "sectionCode": "D2",
      "seatCode": "G11",
      "isSold": false,
      "createdAt": "2027-01-12T08:56:27.504Z"
    }
  ],
  "meta": {
    "page": 4,
    "limit": 24,
    "total": 300,
    "totalPages": 13
  },
  "links": {
    "self": "/api/v1/tickets?page=4&limit=24",
    "first": "/api/v1/tickets?page=1&limit=24",
    "last": "/api/v1/tickets?page=13&limit=24",
    "next": "/api/v1/tickets?page=5&limit=24",
    "prev": "/api/v1/tickets?page=3&limit=24"
  }
}