Nov
18
Tue
Annual Batz Gala
12:34 PM
South Whittier Theater
From EUR 21.26
Overview
tickets / #100
12:34 PM
South Whittier Theater
From EUR 21.26
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/100" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/100" ); 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/100"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/100"
)
ticket = res.json() Response
{
"id": 100,
"eventName": "Annual Batz Gala",
"venue": "South Whittier Theater",
"eventAt": "2025-11-18T12:34:10.621Z",
"type": "balcony",
"price": 21.26,
"currency": "EUR",
"sectionCode": "D2",
"seatCode": "J11",
"isSold": false,
"createdAt": "2025-11-11T12:34:10.621Z"
}