Nov
7
Fri
The Legros Open
1:33 AM
Arlington Auditorium
From AUD 723.33
Overview
tickets / #68
1:33 AM
Arlington Auditorium
From AUD 723.33
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/68" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/68" ); 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/68"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/68"
)
ticket = res.json() Response
{
"id": 68,
"eventName": "The Legros Open",
"venue": "Arlington Auditorium",
"eventAt": "2025-11-07T01:33:23.245Z",
"type": "vip",
"price": 723.33,
"currency": "AUD",
"sectionCode": "FLOOR",
"seatCode": "E10",
"isSold": true,
"createdAt": "2025-06-29T01:33:23.245Z"
}