{
  "openapi": "3.0.1",
  "info": {
    "title": "SeatGeek Scraper",
    "description": "Scrape SeatGeek - search live event listings by artist, team, or venue, or browse 156 sports/concert/theater categories. Get event date, venue, price range, and ticket counts.",
    "version": "1.0",
    "x-build-id": "rcAsWSF4jqa4F1sL4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~seatgeek-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-seatgeek-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/crawlerbros~seatgeek-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-seatgeek-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/crawlerbros~seatgeek-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-seatgeek-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "byCategory",
              "byUrl"
            ],
            "type": "string",
            "description": "What to scrape.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Name of an artist, sports team, or venue, e.g. `New York Yankees`, `Coldplay`, `Madison Square Garden`.",
            "default": "New York Yankees"
          },
          "category": {
            "title": "Category (mode=byCategory)",
            "enum": [
              "af1",
              "ahl",
              "american-association",
              "animal-sports",
              "arizona-fall-league",
              "atlantic-league",
              "auto-racing",
              "award-shows",
              "ballet",
              "banana-ball-championship-league",
              "baseball",
              "basketball",
              "bchl",
              "big3",
              "boxing",
              "broadway",
              "cfl",
              "champions-tour",
              "circus",
              "cirque-du-soleil",
              "classical-music",
              "climbing",
              "comedy",
              "concerts",
              "convention",
              "cricket",
              "dance",
              "double-a-baseball",
              "drag-show",
              "echl",
              "entertainment",
              "esports",
              "european-soccer",
              "extreme-sports",
              "f1",
              "family-entertainment",
              "fighting",
              "film",
              "food-drink",
              "football",
              "fphl",
              "frontier-league",
              "golf",
              "gymnastics",
              "high-school-football",
              "high-a-baseball",
              "hockey",
              "horse-racing",
              "ifl",
              "indycar",
              "international-soccer",
              "kijhl",
              "korn-ferry-tour",
              "lacrosse",
              "literary-event",
              "magic",
              "masl",
              "mens-professional-golf",
              "minor-league-baseball",
              "minor-league-hockey",
              "mlb",
              "mlb-partner-leagues",
              "mlc",
              "major-league-lacrosse",
              "major-league-rugby",
              "mls",
              "mls-next",
              "mls-next-pro",
              "mma",
              "monster-truck",
              "motocross",
              "music-festival",
              "nahl",
              "nal",
              "nascar",
              "nascar-cup-series",
              "oreilly-auto-parts-series",
              "nascar-truck-series",
              "nba",
              "nba-g-league",
              "nbl",
              "ncaa-baseball",
              "college-esports",
              "ncaa-football",
              "college-gymnastics",
              "ncaa-hockey",
              "ncaa-basketball",
              "college-golf",
              "college-lacrosse",
              "ncaa-soccer",
              "college-volleyball",
              "college-rodeo",
              "college-softball",
              "college-swimming",
              "college-tennis",
              "college-track-and-field",
              "ncaa-womens-basketball",
              "womens-college-golf",
              "womens-college-hockey",
              "womens-college-lacrosse",
              "womens-college-soccer",
              "womens-college-tennis",
              "womens-college-volleyball",
              "college-wrestling",
              "nfl",
              "nhl",
              "nhra",
              "nightlife",
              "nisa",
              "nll",
              "nwsl",
              "ohl",
              "olympic-sports",
              "opera",
              "orchestra",
              "pioneer-league",
              "podcast",
              "pwhl",
              "qmjhl",
              "rodeo",
              "roller-derby",
              "rugby",
              "single-a-baseball",
              "soccer",
              "softball",
              "speaker",
              "sphl",
              "sports",
              "stadium-tours",
              "super-league-soccer",
              "swimming",
              "the-arena-league",
              "tennis",
              "theater",
              "track-and-field",
              "triple-a-baseball",
              "ufc",
              "ufl",
              "ushl",
              "united-soccer-league",
              "usl-championship",
              "usl-league-one",
              "usl-league-two",
              "usl-w",
              "vocal-performance",
              "volleyball",
              "whl",
              "wnba",
              "wnfc",
              "womens-professional-golf",
              "womens-professional-league-lacrosse",
              "womens-flat-track-derby-association",
              "world-cup",
              "wrestling",
              "wwe",
              "x-league"
            ],
            "type": "string",
            "description": "A SeatGeek event category — sports league, music genre, or entertainment type.",
            "default": "nba"
          },
          "startUrls": {
            "title": "SeatGeek URLs (mode=byUrl)",
            "type": "array",
            "description": "Direct `seatgeek.com` URLs to fetch — category pages (`/nba-tickets`), performer pages (`/coldplay-tickets`), or venue pages (`/venues/madison-square-garden-tickets`).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "Only include events on or after this date (`YYYY-MM-DD`). Applies to every mode."
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Only include events on or before this date (`YYYY-MM-DD`). Applies to every mode."
          },
          "minPrice": {
            "title": "Minimum price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Only include events whose lowest listed ticket price is at least this amount."
          },
          "maxPrice": {
            "title": "Maximum price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Only include events whose lowest listed ticket price is at most this amount."
          },
          "city": {
            "title": "Venue city",
            "type": "string",
            "description": "Only include events at a venue in this city, e.g. `Chicago`. Exact match, case-insensitive."
          },
          "state": {
            "title": "Venue state",
            "type": "string",
            "description": "Only include events at a venue in this US state/province code, e.g. `IL`, `NY`, `CA`."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "date",
              "priceLow",
              "priceHigh",
              "popularity"
            ],
            "type": "string",
            "description": "How to order the emitted results.",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Hard cap on emitted event records.",
            "default": 20
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. SeatGeek is protected by a bot-detection layer that blocks plain datacenter requests without a browser-matching TLS fingerprint; the actor already handles this in code with no proxy required. The free Apify AUTO proxy group is used automatically as a fallback only if a request is ever blocked.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}