Aug
29
Sat
National Green Show
6:10 AM
O'Reillyberg Convention Center
From MXN 200.26
Overview
tickets / #227
6:10 AM
O'Reillyberg Convention Center
From MXN 200.26
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/227" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/227" ); 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/227"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/227"
)
ticket = res.json() Response
{
"id": 227,
"eventName": "National Green Show",
"venue": "O'Reillyberg Convention Center",
"eventAt": "2026-08-29T06:10:54.873Z",
"type": "reserved",
"price": 200.26,
"currency": "MXN",
"sectionCode": "A2",
"seatCode": "Y45",
"isSold": true,
"createdAt": "2026-03-26T06:10:54.873Z"
}