{
  "openapi": "3.0.1",
  "info": {
    "title": "SeatGeek Scraper - Events, Venues & Ticket Listings",
    "description": "Extract SeatGeek events, performers, venues and individual ticket listings across the US and Canada. Get dates, seat locations, prices and deal scores, billed per delivered row plus a start fee.",
    "version": "0.1",
    "x-build-id": "hdbEecTx4XiGEGubA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~seatgeek-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-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/lentic_clockss~seatgeek-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-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/lentic_clockss~seatgeek-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-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",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "auto",
              "city",
              "performer",
              "venue",
              "event",
              "category",
              "sports",
              "search",
              "discover"
            ],
            "type": "string",
            "description": "Choose what to collect, or leave Auto to select the mode from your target fields. Use Discover explicitly when query should filter a discovery list rather than run keyword search.",
            "default": "auto"
          },
          "startUrls": {
            "title": "SeatGeek page URLs",
            "type": "array",
            "description": "List SeatGeek event, performer, venue, city or category URLs. The page type is detected for each URL.",
            "items": {
              "type": "string"
            }
          },
          "city": {
            "title": "City slug",
            "type": "string",
            "description": "Enter a SeatGeek city slug such as nyc, chicago, toronto, montreal or vancouver. This selects city mode when no higher-priority target is filled."
          },
          "performerSlug": {
            "title": "Performer or team slug",
            "type": "string",
            "description": "Enter the performer or team slug, such as new-york-yankees, to list its events."
          },
          "venueSlug": {
            "title": "Venue slug",
            "type": "string",
            "description": "Enter a venue slug, such as madison-square-garden, to list its events."
          },
          "eventUrl": {
            "title": "Event URL",
            "pattern": "^\\s*(https?://)?([A-Za-z0-9-]+\\.)*seatgeek\\.com/.*\\d{5,}.*$",
            "type": "string",
            "description": "Enter a SeatGeek event URL ending in the event number. The event ID is read from the URL when eventId is not filled."
          },
          "eventId": {
            "title": "Event ID",
            "pattern": "^\\s*\\d{5,}\\s*$",
            "type": "string",
            "description": "Enter the numeric SeatGeek event ID, with at least 5 digits. Put a full event link in eventUrl instead."
          },
          "listingIds": {
            "title": "Event IDs",
            "type": "array",
            "description": "Enter a list of numeric SeatGeek event IDs. Despite the field name, these are event IDs, not individual ticket listing IDs.",
            "items": {
              "type": "string",
              "pattern": "^\\s*(\\d+|(https?://)?([A-Za-z0-9-]+\\.)*seatgeek\\.com/.*\\d{5,}.*)\\s*$"
            }
          },
          "detailUrls": {
            "title": "Event detail URLs",
            "type": "array",
            "description": "Enter a list of SeatGeek event URLs. These select the same event-detail collection as eventUrl.",
            "items": {
              "type": "string"
            }
          },
          "categorySlug": {
            "title": "Category slug",
            "type": "string",
            "description": "Enter a category slug such as sports-tickets, concert-tickets or mlb-tickets."
          },
          "query": {
            "title": "Search keyword or discovery filter",
            "type": "string",
            "description": "Enter a keyword for search mode, which can return events, performers and venues. With mode set to discover, this is an optional text filter."
          },
          "dateFrom": {
            "title": "Date from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "For mode=discover with discoverType=events: only events on or after this date (YYYY-MM-DD, compared against the event's UTC date). Combined with city, filters server-side via SeatGeek's public API."
          },
          "dateTo": {
            "title": "Date to",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "For mode=discover with discoverType=events: only events on or before this date (YYYY-MM-DD, compared against the event's UTC date; the whole dateTo day is included)."
          },
          "discoverType": {
            "title": "Discovery type",
            "enum": [
              "performers",
              "venues",
              "taxonomies",
              "events",
              "recommendations",
              "performerSections"
            ],
            "type": "string",
            "description": "Choose the entity type to collect in discover mode. Source availability varies; performerSections also requires a numeric performerId.",
            "default": "performers"
          },
          "maxResults": {
            "title": "Max results per input",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum Dataset rows for each listed start/detail URL or event ID; a scalar city, performer, venue, event, category, sports, search, or discover target counts as one input. Default 70. Larger values are collected in parts of 70. Event and ticket-listing rows count together. The run stops at your maximum total charge. Free Apify plan: 200 rows per run and 10 runs.",
            "default": 70
          },
          "includeListings": {
            "title": "Include ticket listings",
            "type": "boolean",
            "description": "Return one separately billed dataset row per ticket listing, with event details copied onto it. Each listing has rowType listing and counts toward maxResults for its input.",
            "default": false
          },
          "cityTab": {
            "title": "City event category",
            "enum": [
              "concerts",
              "sports",
              "theater",
              "festivals",
              "comedy",
              "family",
              "nightlife"
            ],
            "type": "string",
            "description": "Filter city events to concerts, sports, theater, festivals, comedy, family or nightlife."
          },
          "minDealScore": {
            "title": "Minimum deal score",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "With includeListings, keep listings whose dealScore meets this threshold from 0 to 100. inventoryUnfilteredTotal retains the inventory count before filtering."
          },
          "listingFilters": {
            "title": "Ticket listing filters",
            "type": "object",
            "description": "Filter by minPrice or maxPrice including fees, quantity, sections, markets or deliveryMethods; sort by price, priceDesc or dealScore. quantity must be an available purchase split, and inventoryUnfilteredTotal retains the count before filtering."
          },
          "maxPages": {
            "title": "Maximum catalog pages",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Set how many catalog pages to inspect while finding events or discovery entities. This is not a ticket listing count.",
            "default": 1
          },
          "includeSeatMap": {
            "title": "Include seating map",
            "type": "boolean",
            "description": "Include available seating-map information and matching seat geometry. General-admission or missing seats are not assigned invented coordinates.",
            "default": false
          },
          "enrichDetails": {
            "title": "Include venue details",
            "type": "boolean",
            "description": "Include venue address and organization details where available. This does not add a phone or email lookup; those contact arrays remain empty.",
            "default": true
          },
          "includeRaw": {
            "title": "Include original entity data",
            "type": "boolean",
            "description": "Keep original event or entity data in raw; ticket listings already retain rawFields. Large row details may be stored as run key-value-store attachments referenced by inventoryStorage.",
            "default": false
          },
          "trackChanges": {
            "title": "Compare complete inventories",
            "type": "boolean",
            "description": "Compare complete, unfiltered inventory snapshots when available; this is skipped for ticket-listing rows. Missing listings are not confirmed sales, and no recurring runs are started.",
            "default": false
          },
          "alertWebhookUrl": {
            "title": "Tracking alert URL",
            "pattern": "^\\s*(https?://.+)?\\s*$",
            "type": "string",
            "description": "With trackChanges, send an alert to this URL only when a complete inventory comparison finds changes. No alert is sent for the first snapshot or skipped listing-row tracking."
          },
          "eventHints": {
            "title": "Previous event details",
            "type": "object",
            "description": "Optionally map old event IDs to title, venueId and datetimeUtc to help match an unavailable event. Matching is probabilistic; ambiguous candidates are not substituted."
          },
          "performerId": {
            "title": "Performer ID",
            "type": "string",
            "description": "Enter a numeric performer ID when discoverType is performerSections."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}