example-data.com
Menu
Browse docs and collections

tickets

tickets

Page 10 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": 217,
      "eventName": "International Christiansen Concert",
      "venue": "Evanston Stadium",
      "eventAt": "2027-02-26T04:44:29.240Z",
      "type": "general",
      "price": 868.29,
      "currency": "GBP",
      "sectionCode": "A2",
      "seatCode": null,
      "isSold": true,
      "createdAt": "2026-11-02T04:44:29.240Z"
    },
    {
      "id": 218,
      "eventName": "The Fadel Show",
      "venue": "Minnetonka Arena",
      "eventAt": "2026-10-18T13:31:25.189Z",
      "type": "vip",
      "price": 700.88,
      "currency": "EUR",
      "sectionCode": "A2",
      "seatCode": "F24",
      "isSold": false,
      "createdAt": "2026-09-01T13:31:25.189Z"
    },
    {
      "id": 219,
      "eventName": "Annual Frami Summit",
      "venue": "New Cruz Arena",
      "eventAt": "2025-09-15T16:13:10.363Z",
      "type": "vip",
      "price": 349.28,
      "currency": "AUD",
      "sectionCode": "A2",
      "seatCode": "O33",
      "isSold": true,
      "createdAt": "2025-08-11T16:13:10.363Z"
    }
  ],
  "meta": {
    "page": 10,
    "limit": 24,
    "total": 300,
    "totalPages": 13
  },
  "links": {
    "self": "/api/v1/tickets?page=10&limit=24",
    "first": "/api/v1/tickets?page=1&limit=24",
    "last": "/api/v1/tickets?page=13&limit=24",
    "next": "/api/v1/tickets?page=11&limit=24",
    "prev": "/api/v1/tickets?page=9&limit=24"
  }
}