Aug
17
Sun
Annual Steuber Festival
5:00 AM
San Francisco Convention Center
From GBP 460.90
Overview
tickets / #22
5:00 AM
San Francisco Convention Center
From GBP 460.90
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/22" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/22" ); 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/22"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/22"
)
ticket = res.json() Response
{
"id": 22,
"eventName": "Annual Steuber Festival",
"venue": "San Francisco Convention Center",
"eventAt": "2025-08-17T05:00:18.258Z",
"type": "vip",
"price": 460.9,
"currency": "GBP",
"sectionCode": "B2",
"seatCode": "J38",
"isSold": true,
"createdAt": "2025-03-12T05:00:18.258Z"
}