Mar
9
Tue
Ultimate Grant Championship
11:13 AM
Marksstad Auditorium
From EUR 808.64
Overview
tickets / #178
11:13 AM
Marksstad Auditorium
From EUR 808.64
Request
curl example
curl -sS \ "https://example-data.com/api/v1/tickets/178" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/tickets/178" ); 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/178"
);
const ticket = (await res.json()) as Ticket; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/tickets/178"
)
ticket = res.json() Response
{
"id": 178,
"eventName": "Ultimate Grant Championship",
"venue": "Marksstad Auditorium",
"eventAt": "2027-03-09T11:13:53.586Z",
"type": "standing",
"price": 808.64,
"currency": "EUR",
"sectionCode": "C1",
"seatCode": null,
"isSold": false,
"createdAt": "2027-01-16T11:13:53.586Z"
}