Feb
12
Thu
Grand Swaniawski Festival
7:03 AM
New Braunfels Auditorium
From AUD 163.50
Overview
tickets / #105
7:03 AM
New Braunfels Auditorium
From AUD 163.50
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/105" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/105" ); 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/105"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/105"
)
ticket = res.json() Response
{
"id": 105,
"eventName": "Grand Swaniawski Festival",
"venue": "New Braunfels Auditorium",
"eventAt": "2026-02-12T07:03:23.143Z",
"type": "reserved",
"price": 163.5,
"currency": "AUD",
"sectionCode": "C1",
"seatCode": "L9",
"isSold": true,
"createdAt": "2025-11-29T07:03:23.143Z"
}