example-data.com
Menu
Browse docs and collections

Overview

tickets / #266

Nov
13
Fri

Annual Gibson Finals

12:04 PM

Austin Arena

From CAD 56.40

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 266,
  "eventName": "Annual Gibson Finals",
  "venue": "Austin Arena",
  "eventAt": "2026-11-13T12:04:09.984Z",
  "type": "general",
  "price": 56.4,
  "currency": "CAD",
  "sectionCode": "B1",
  "seatCode": null,
  "isSold": false,
  "createdAt": "2026-07-23T12:04:09.984Z"
}