Jan
13
Wed
World Collier Tour
1:01 PM
Port Ottischester Pavilion
From CAD 622.77
Overview
tickets / #151
1:01 PM
Port Ottischester Pavilion
From CAD 622.77
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/151" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/151" ); 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/151"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/151"
)
ticket = res.json() Response
{
"id": 151,
"eventName": "World Collier Tour",
"venue": "Port Ottischester Pavilion",
"eventAt": "2027-01-13T13:01:02.441Z",
"type": "vip",
"price": 622.77,
"currency": "CAD",
"sectionCode": "FLOOR",
"seatCode": "C32",
"isSold": true,
"createdAt": "2026-10-30T13:01:02.441Z"
}