Feb
20
Sat
Grand Cartwright Festival
8:26 PM
Evansville Concert Hall
From MXN 17.07
Overview
tickets / #180
8:26 PM
Evansville Concert Hall
From MXN 17.07
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/180" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/180" ); 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/180"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/180"
)
ticket = res.json() Response
{
"id": 180,
"eventName": "Grand Cartwright Festival",
"venue": "Evansville Concert Hall",
"eventAt": "2027-02-20T20:26:52.612Z",
"type": "general",
"price": 17.07,
"currency": "MXN",
"sectionCode": "GA",
"seatCode": null,
"isSold": true,
"createdAt": "2026-09-22T20:26:52.612Z"
}