example-data.com
Menu
Browse docs and collections

Overview

tickets / #38

Apr
9
Thu

Annual Jast Finals

8:52 AM

Wolffton Amphitheater

From JPY 77.70

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 38,
  "eventName": "Annual Jast Finals",
  "venue": "Wolffton Amphitheater",
  "eventAt": "2026-04-09T08:52:53.711Z",
  "type": "balcony",
  "price": 77.7,
  "currency": "JPY",
  "sectionCode": "B2",
  "seatCode": "R2",
  "isSold": false,
  "createdAt": "2026-01-14T08:52:53.711Z"
}