example-data.com
Menu
Browse docs and collections

Overview

tickets / #292

Apr
28
Tue

International Lynch Festival

10:25 PM

West Katelynland Theater

From JPY 830.98

Component variants

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/tickets/292" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tickets/292"
);
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/292"
);
const ticket = (await res.json()) as Ticket;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/tickets/292"
)
ticket = res.json()

Response

{
  "id": 292,
  "eventName": "International Lynch Festival",
  "venue": "West Katelynland Theater",
  "eventAt": "2026-04-28T22:25:12.334Z",
  "type": "vip",
  "price": 830.98,
  "currency": "JPY",
  "sectionCode": "A2",
  "seatCode": "O39",
  "isSold": false,
  "createdAt": "2026-01-16T22:25:12.334Z"
}