May
5
Wed
Classic Carroll Gala
5:53 PM
Hickletown Amphitheater
From JPY 48.81
Overview
tickets / #57
5:53 PM
Hickletown Amphitheater
From JPY 48.81
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/57" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/57" ); 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/57"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/57"
)
ticket = res.json() Response
{
"id": 57,
"eventName": "Classic Carroll Gala",
"venue": "Hickletown Amphitheater",
"eventAt": "2027-05-05T17:53:33.912Z",
"type": "general",
"price": 48.81,
"currency": "JPY",
"sectionCode": "C1",
"seatCode": null,
"isSold": true,
"createdAt": "2027-04-14T17:53:33.912Z"
}