example-data.com
Menu
Browse docs and collections

Overview

tickets / #281

Jan
1
Thu

Classic Wiza Exhibition

8:57 PM

Lake Willischester Arena

From USD 643.81

Component variants

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tickets/281"
);
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/281"
);
const ticket = (await res.json()) as Ticket;

Python example

import requests

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

Response

{
  "id": 281,
  "eventName": "Classic Wiza Exhibition",
  "venue": "Lake Willischester Arena",
  "eventAt": "2026-01-01T20:57:44.432Z",
  "type": "standing",
  "price": 643.81,
  "currency": "USD",
  "sectionCode": "B2",
  "seatCode": null,
  "isSold": true,
  "createdAt": "2025-10-02T20:57:44.432Z"
}