example-data.com
Menu
Browse docs and collections

Overview

tickets / #205

Feb
6
Sat

Classic Prohaska Open

4:32 AM

South Chelsie Theater

From MXN 333.10

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 205,
  "eventName": "Classic Prohaska Open",
  "venue": "South Chelsie Theater",
  "eventAt": "2027-02-06T04:32:56.326Z",
  "type": "balcony",
  "price": 333.1,
  "currency": "MXN",
  "sectionCode": "B2",
  "seatCode": "X29",
  "isSold": true,
  "createdAt": "2026-10-24T04:32:56.326Z"
}