Jun
11
Wed
Ultimate Stehr Tour
2:53 PM
Edenport Pavilion
From AUD 974.04
Overview
tickets / #256
2:53 PM
Edenport Pavilion
From AUD 974.04
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/256" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/256" ); 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/256"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/256"
)
ticket = res.json() Response
{
"id": 256,
"eventName": "Ultimate Stehr Tour",
"venue": "Edenport Pavilion",
"eventAt": "2025-06-11T14:53:54.437Z",
"type": "general",
"price": 974.04,
"currency": "AUD",
"sectionCode": "D1",
"seatCode": null,
"isSold": true,
"createdAt": "2025-02-25T14:53:54.437Z"
}