Nov
4
Tue
National Bernhard Festival
9:33 PM
North Savion Concert Hall
From MXN 46.16
Overview
tickets / #156
9:33 PM
North Savion Concert Hall
From MXN 46.16
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/156" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/156" ); 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/156"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/156"
)
ticket = res.json() Response
{
"id": 156,
"eventName": "National Bernhard Festival",
"venue": "North Savion Concert Hall",
"eventAt": "2025-11-04T21:33:49.445Z",
"type": "balcony",
"price": 46.16,
"currency": "MXN",
"sectionCode": "VIP",
"seatCode": "X5",
"isSold": false,
"createdAt": "2025-10-18T21:33:49.445Z"
}