example-data.com
Menu
Browse docs and collections

Overview

tickets / #218

Oct
18
Sun

The Fadel Show

1:31 PM

Minnetonka Arena

From EUR 700.88

Component variants

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 218,
  "eventName": "The Fadel Show",
  "venue": "Minnetonka Arena",
  "eventAt": "2026-10-18T13:31:25.189Z",
  "type": "vip",
  "price": 700.88,
  "currency": "EUR",
  "sectionCode": "A2",
  "seatCode": "F24",
  "isSold": false,
  "createdAt": "2026-09-01T13:31:25.189Z"
}