Jul
19
Sat
World Terry Concert
6:26 AM
New Nicola Amphitheater
From AUD 501.78
Overview
tickets / #54
6:26 AM
New Nicola Amphitheater
From AUD 501.78
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/54" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/54" ); 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/54"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/54"
)
ticket = res.json() Response
{
"id": 54,
"eventName": "World Terry Concert",
"venue": "New Nicola Amphitheater",
"eventAt": "2025-07-19T06:26:01.862Z",
"type": "general",
"price": 501.78,
"currency": "AUD",
"sectionCode": "FLOOR",
"seatCode": null,
"isSold": true,
"createdAt": "2025-02-22T06:26:01.862Z"
}