example-data.com
Menu
Browse docs and collections

Overview

tickets / #63

Jul
8
Tue

International Sauer Championship

3:56 PM

Owenton Arena

From JPY 919.10

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 63,
  "eventName": "International Sauer Championship",
  "venue": "Owenton Arena",
  "eventAt": "2025-07-08T15:56:17.987Z",
  "type": "vip",
  "price": 919.1,
  "currency": "JPY",
  "sectionCode": "VIP",
  "seatCode": "K4",
  "isSold": false,
  "createdAt": "2025-04-12T15:56:17.987Z"
}