# TixTreasure — Complete API Reference > TixTreasure is a free ticket price comparison engine for live events. It aggregates prices from 7+ ticket marketplaces and shows the total all-in price with no hidden fees. We help fans find bargains — tickets priced below face value or at the best value across sources. ## API Base URL ``` https://tixtreasure-api.pierretokns.workers.dev ``` All endpoints are public (no authentication required). Responses are JSON. CORS is enabled. ## MCP Server For AI assistants that support MCP (Model Context Protocol): ```bash npx -y tixtreasure-mcp ``` Works with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client. --- ## Endpoints ### Search Events ``` GET /api/find?q={query}&city={city}&category={category}&limit={limit} ``` Full-text search across event names, venues, and performers. **Parameters:** - `q` (required) — Search query (e.g. "Celtics", "Taylor Swift", "TD Garden") - `city` — "boston", "nyc", or empty for all - `category` — "concert", "sports", "theater", "comedy", "other" - `limit` — Results count (default 20, max 50) **Example:** ``` GET /api/find?q=celtics&city=boston&limit=5 ``` **Response:** `{ "events": [{ "id": 123, "name": "Boston Celtics vs Miami Heat", "venue_name": "TD Garden", "city": "Boston", "state": "MA", "category": "sports", "start_date": "2026-03-15T23:30:00Z", "min_price": 45, "slug": "boston-celtics-vs-miami-heat-td-garden-mar-15", ... }] }` --- ### List Events ``` GET /api/shows?city={city}&category={category}&dateFrom={date}&dateTo={date}&priceMax={price}&sort={sort}&limit={limit}&offset={offset} ``` List upcoming events with optional filters. **Parameters:** - `city` — "boston", "nyc", or empty for all - `category` — "concert", "sports", "theater", "comedy", "other" - `dateFrom` / `dateTo` — ISO 8601 date range - `priceMax` — Max ticket price in USD - `sort` — "date" (default), "price", "name" - `limit` — Results (default 20, max 50) - `offset` — Pagination offset --- ### Get Event by Slug ``` GET /api/shows/by-slug/{slug} ``` Returns full event details including venue, performer, and price data. **Example:** `GET /api/shows/by-slug/boston-celtics-vs-miami-heat-td-garden-mar-15` --- ### Get Event by ID ``` GET /api/shows/{id} ``` --- ### Compare Prices Across Sources ``` GET /api/shows/{id}/sources?qty={quantity} ``` Returns the lowest price from each marketplace with direct buy links. This is the core comparison feature. **Parameters:** - `qty` — Number of tickets (default 1). Per-order fees are distributed across this quantity. **Response:** `{ "sources": [{ "name": "TicketClub", "source_platform": "seatics_ticketclub", "min_price": 45, "max_price": 350, "ticket_count": 142, "buy_url": "https://..." }, ...] }` **Sources compared:** | Source | Type | Fee Model | |--------|------|-----------| | TicketClub | Resale | $0 per-order fee | | GoodSeatTickets | Resale | $9.95 per-order fee | | StubHub | Resale | Included in price | | TickPick | Resale | Included in price | | ATG Tickets | Box Office | Face value | | OvationTix | Box Office | Face value | | Showare | Box Office | Face value | | Ticketmaster | Box Office | Face value | --- ### Get Ticket Listings ``` GET /api/shows/{id}/tickets?qty={quantity} ``` Individual ticket listings sorted by price with section, row, and quantity. --- ### Get Section Prices ``` GET /api/shows/{id}/sections ``` Price breakdown by seating section — min/avg price per section. --- ### Get Price History ``` GET /api/shows/{id}/prices?qty={quantity} ``` Hourly price history for trend analysis. Returns min/avg/max price and ticket count per time bucket. --- ### Find Bargains (Below Face Value) ``` GET /api/shows/{id}/best-deals ``` Returns tickets priced below their original face value — the best bargains available. --- ### Similar Events ``` GET /api/shows/{id}/similar ``` Events similar to the given event (same performer, venue, or category). --- ### Get Venue by Slug ``` GET /api/venues/by-slug/{slug} ``` Venue details including capacity, location, and timezone. **Example slugs:** `td-garden`, `madison-square-garden`, `fenway-park`, `barclays-center` --- ### Get Performer by Slug ``` GET /api/performers/by-slug/{slug} ``` Performer details including genre, image, and MusicBrainz metadata. **Example slugs:** `boston-celtics`, `taylor-swift`, `wicked`, `dave-chappelle` --- ## Coverage **Cities:** Boston metro, New York City metro **Categories:** Concerts, Sports (MLB, NBA, NHL, NFL, MLS, college), Theater (Broadway, touring, community), Comedy **Venues:** 1000+ venues including TD Garden, Madison Square Garden, Fenway Park, Barclays Center, Radio City Music Hall, and community theaters **Update frequency:** Prices refreshed every 10 minutes from all sources ## Pricing Model All prices shown are **total all-in cost** including service fees and delivery fees. No hidden checkout surprises. - `min_price` = lowest available ticket across all sources - `normalized_price` = per-ticket all-in price for a listing - Sources with $0 delivery fee (TicketClub): listing price = checkout price - Sources with per-order fees: fee distributed across ticket quantity ## Key Pages - Homepage: https://tixtreasure.com/ - Boston Events: https://tixtreasure.com/boston - NYC Events: https://tixtreasure.com/nyc - Event pages: https://tixtreasure.com/event/{slug} - Venue pages: https://tixtreasure.com/venue/{slug} - Performer pages: https://tixtreasure.com/performer/{slug} - Price Alerts: https://tixtreasure.com/alerts - FAQ: https://tixtreasure.com/faq ## OpenAPI Spec Machine-readable API specification: https://tixtreasure.com/.well-known/openapi.json ## Contact - Website: https://tixtreasure.com - Email: alerts@tixtreasure.com