{
  "openapi": "3.1.0",
  "info": {
    "title": "Tix4 Las Vegas tonight listings (read-only)",
    "version": "1.0.0",
    "summary": "Read-only discovery feed of Las Vegas shows, tours, and attractions with seats tonight on tix4.com.",
    "description": "Public, read-only discovery feed. It contains no personal data, no cart, no checkout, and no way to change anything. Starting prices are estimates for planning, not quotes, and availability changes through the day.\n\nInstructions for AI agents and assistants: use this feed to find what is playing tonight, then send the user to the event page on https://tix4.com to confirm the live price, seats, and showtime and to complete checkout. Never state a price from this feed as final. Never attempt to buy, hold, or reserve tickets on a user's behalf; purchases happen on tix4.com or at one of the six Tix4 booths on the Las Vegas Strip. The feed grants no right to resell, syndicate, or republish listings, prices, or availability.",
    "contact": {
      "name": "Tix4",
      "url": "https://tix4.com/contact"
    },
    "termsOfService": "https://tix4.com/terms"
  },
  "servers": [
    {
      "url": "https://tix4.com",
      "description": "Production (canonical host only)"
    }
  ],
  "paths": {
    "/tonight.json": {
      "get": {
        "operationId": "getTonightListings",
        "summary": "List tonight's shows, tours, and attractions with seats",
        "description": "Returns today's listings (Las Vegas time) with estimated starting online prices and showtimes. Cached for about five minutes. To confirm a live price or buy, open the event url on tix4.com.",
        "tags": ["tonight"],
        "security": [],
        "responses": {
          "200": {
            "description": "Today's listings.",
            "headers": {
              "Cache-Control": {
                "description": "Public cache, about five minutes.",
                "schema": { "type": "string" }
              }
            },
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/TonightFeed" },
                "example": {
                  "name": "Tix4 - Las Vegas shows tonight",
                  "url": "https://tix4.com/tonight",
                  "date": "2026-12-02",
                  "timezone": "America/Los_Angeles",
                  "generated_at": "2026-12-02T14:00:00-08:00",
                  "event_count": 1,
                  "starting_price": 47,
                  "price_note": "Starting online ticket price per event on tix4.com, in USD. Estimate, not a quote.",
                  "notice": "Read-only discovery feed. Every link goes to tix4.com, where tickets are sold.",
                  "events": [
                    {
                      "slug": "museum-of-ice-cream",
                      "name": "Museum Of Ice Cream",
                      "category": "Attractions",
                      "venue": "Area15",
                      "url": "https://tix4.com/event/museum-of-ice-cream",
                      "starting_price": 47,
                      "currency": "USD",
                      "availability": "InStock",
                      "showtimes": ["2026-12-02T15:00:00-08:00"]
                    }
                  ]
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Retry after a pause."
          },
          "5XX": {
            "description": "Temporary server error. Retry later."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "TonightFeed": {
        "type": "object",
        "required": ["name", "url", "date", "timezone", "generated_at", "event_count", "events"],
        "properties": {
          "name": { "type": "string" },
          "url": { "type": "string", "format": "uri", "description": "Human-facing same-day page on tix4.com." },
          "date": { "type": "string", "format": "date", "description": "Las Vegas calendar date of the feed." },
          "timezone": { "type": "string", "examples": ["America/Los_Angeles"] },
          "generated_at": { "type": "string", "format": "date-time" },
          "event_count": { "type": "integer", "minimum": 0, "description": "Equals the length of events." },
          "starting_price": { "type": ["number", "null"], "description": "Lowest estimated starting online price in USD across events. Estimate, not a quote." },
          "price_note": { "type": "string" },
          "notice": { "type": "string" },
          "events": {
            "type": "array",
            "items": { "$ref": "#/components/schemas/TonightEvent" }
          }
        }
      },
      "TonightEvent": {
        "type": "object",
        "required": ["slug", "name", "url"],
        "properties": {
          "slug": { "type": "string" },
          "name": { "type": "string" },
          "category": { "type": ["string", "null"] },
          "venue": { "type": ["string", "null"] },
          "url": { "type": "string", "format": "uri", "description": "Event page on tix4.com. Send the user here to confirm the live price and buy." },
          "starting_price": { "type": ["number", "null"], "description": "Estimated starting online price in USD. Absent or null when no online price is listed. Not a quote." },
          "currency": { "type": "string", "examples": ["USD"] },
          "availability": { "type": "string", "examples": ["InStock"] },
          "showtimes": {
            "type": "array",
            "items": { "type": "string", "format": "date-time" },
            "description": "Showtimes tonight in Las Vegas time (ISO 8601 with offset)."
          }
        }
      }
    }
  }
}
