example-data.com
Menu
Browse docs and collections

Overview

tickets / #297

Jul
16
Thu

The Schuppe Championship

12:59 AM

Fort Jazmincester Auditorium

From GBP 315.74

Component variants

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/tickets/297" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tickets/297"
);
const ticket = 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 } from "./types/tickets";

const res = await fetch(
  "https://example-data.com/api/v1/tickets/297"
);
const ticket = (await res.json()) as Ticket;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/tickets/297"
)
ticket = res.json()

Response

{
  "id": 297,
  "eventName": "The Schuppe Championship",
  "venue": "Fort Jazmincester Auditorium",
  "eventAt": "2026-07-16T00:59:04.919Z",
  "type": "general",
  "price": 315.74,
  "currency": "GBP",
  "sectionCode": "FLOOR",
  "seatCode": null,
  "isSold": false,
  "createdAt": "2026-02-28T00:59:04.919Z"
}