Jul
8
Tue
Classic Haley Festival
7:57 PM
West Lacey Pavilion
From MXN 584.70
Overview
tickets / #280
7:57 PM
West Lacey Pavilion
From MXN 584.70
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/280" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/280" ); 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/280"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/280"
)
ticket = res.json() Response
{
"id": 280,
"eventName": "Classic Haley Festival",
"venue": "West Lacey Pavilion",
"eventAt": "2025-07-08T19:57:12.160Z",
"type": "vip",
"price": 584.7,
"currency": "MXN",
"sectionCode": "C2",
"seatCode": "P47",
"isSold": true,
"createdAt": "2025-04-01T19:57:12.160Z"
}