Mar
25
Wed
Grand Hills Show
1:44 PM
Manchester Concert Hall
From AUD 599.41
Overview
tickets / #300
1:44 PM
Manchester Concert Hall
From AUD 599.41
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/300" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/300" ); 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/300"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/300"
)
ticket = res.json() Response
{
"id": 300,
"eventName": "Grand Hills Show",
"venue": "Manchester Concert Hall",
"eventAt": "2026-03-25T13:44:06.922Z",
"type": "balcony",
"price": 599.41,
"currency": "AUD",
"sectionCode": "FLOOR",
"seatCode": "N26",
"isSold": false,
"createdAt": "2026-03-08T13:44:06.922Z"
}