Jun
18
Thu
Classic Morar Festival
5:04 AM
Lake Jane Arena
From EUR 541.38
Overview
tickets / #77
5:04 AM
Lake Jane Arena
From EUR 541.38
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/77" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/77" ); 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/77"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/77"
)
ticket = res.json() Response
{
"id": 77,
"eventName": "Classic Morar Festival",
"venue": "Lake Jane Arena",
"eventAt": "2026-06-18T05:04:41.360Z",
"type": "balcony",
"price": 541.38,
"currency": "EUR",
"sectionCode": "GA",
"seatCode": "E5",
"isSold": false,
"createdAt": "2026-03-02T05:04:41.360Z"
}