example-data.com
Menu
Browse docs and collections

Overview

tickets / #109

Feb
15
Sun

The VonRueden Concert

3:08 AM

Fort Jamisonview Auditorium

From JPY 199.63

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 109,
  "eventName": "The VonRueden Concert",
  "venue": "Fort Jamisonview Auditorium",
  "eventAt": "2026-02-15T03:08:01.045Z",
  "type": "vip",
  "price": 199.63,
  "currency": "JPY",
  "sectionCode": "A1",
  "seatCode": "A15",
  "isSold": false,
  "createdAt": "2025-10-16T03:08:01.045Z"
}