{
  "openapi": "3.0.1",
  "info": {
    "title": "Ticketmaster US Event & On-Sale Date Finder",
    "description": "Search Ticketmaster's US events by keyword and get structured records with dates, venue, performers, on-sale and presale windows, and sale status. Filter by category, date range, and sort order.",
    "version": "1.0",
    "x-build-id": "YIZcGf6vV9scjnndX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vexaloom-labs~ticketmaster-us-event-and-on-sale-date-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vexaloom-labs-ticketmaster-us-event-and-on-sale-date-finder",
        "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/vexaloom-labs~ticketmaster-us-event-and-on-sale-date-finder/runs": {
      "post": {
        "operationId": "runs-sync-vexaloom-labs-ticketmaster-us-event-and-on-sale-date-finder",
        "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/vexaloom-labs~ticketmaster-us-event-and-on-sale-date-finder/run-sync": {
      "post": {
        "operationId": "run-sync-vexaloom-labs-ticketmaster-us-event-and-on-sale-date-finder",
        "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": "What to collect",
            "enum": [
              "search",
              "category",
              "artist",
              "venue",
              "event",
              "suggestions"
            ],
            "type": "string",
            "description": "Pick the lookup path. `Search` uses a keyword; `Category` browses one or more top-level categories; `Artist` and `Venue` read their public calendars; `Event` returns full detail for exact IDs/URLs; `Suggestions` returns matching artists and venues.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Artist, team, show, genre or a combined phrase such as `taylor swift`, `lakers` or `comedy austin`. Used by `Search` and `Suggestions` modes. Legacy tasks that send `keyword` still work.",
            "default": ""
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Top-level Ticketmaster categories. In `Category` mode each selected value is browsed; in `Search`, `Artist` and `Venue` modes the results are filtered to these categories.",
            "items": {
              "type": "string",
              "enum": [
                "concerts",
                "sports",
                "arts-theater",
                "family",
                "film",
                "miscellaneous"
              ]
            },
            "default": []
          },
          "artistIds": {
            "title": "Artist IDs or URLs",
            "type": "array",
            "description": "Artist/attraction IDs or Ticketmaster artist URLs, e.g. `735585` or `https://www.ticketmaster.com/barry-manilow-tickets/artist/735585` (mode=artist).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "venueIds": {
            "title": "Venue IDs or URLs",
            "type": "array",
            "description": "Venue IDs or Ticketmaster venue URLs, e.g. `107143` or `https://www.ticketmaster.com/hertz-arena-tickets-estero/venue/107143` (mode=venue).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "eventIds": {
            "title": "Event IDs or URLs",
            "type": "array",
            "description": "Event IDs, discovery IDs or Ticketmaster event URLs, e.g. `0D00632F271D385A` or `https://www.ticketmaster.com/event/0D00632F271D385A` (mode=event).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (optional)",
            "type": "array",
            "description": "Ticketmaster search, artist, venue, event or category URLs to process instead of the mode targets. Each URL is routed automatically, and several can be mixed in one run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "Events from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only keep events on or after this date (`YYYY-MM-DD`). Leave empty for no lower bound. In Category and Event modes the filter is applied to the returned rows."
          },
          "dateTo": {
            "title": "Events until",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only keep events on or before this date (`YYYY-MM-DD`). Leave empty for no upper bound."
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "date",
              "date,asc",
              "date,desc",
              "name,asc",
              "name,desc",
              "venueName,asc",
              "random"
            ],
            "type": "string",
            "description": "`Relevance` keeps Ticketmaster's search ranking; `Date` orders by the soonest event first. Legacy sorts such as `date,asc` are mapped to Date.",
            "default": "relevance"
          },
          "maxResults": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on records emitted across every target in the run. Ticketmaster serves 20 events per page and stops at 980 rows per query; use a narrower date range or more categories to go wider.",
            "default": 20
          },
          "skipSoldOut": {
            "title": "Skip sold-out events",
            "type": "boolean",
            "description": "Drop events Ticketmaster flags as sold out.",
            "default": false
          },
          "skipCancelled": {
            "title": "Skip cancelled / postponed",
            "type": "boolean",
            "description": "Drop cancelled, postponed and rescheduled events.",
            "default": true
          },
          "usOnly": {
            "title": "United States only",
            "type": "boolean",
            "description": "Keep only events at US venues. Turn this off to include international results that Ticketmaster returns alongside US listings.",
            "default": true
          },
          "includeDetails": {
            "title": "Include full event details",
            "type": "boolean",
            "description": "Fetch each event's detail record and primary price levels: description, genre/classification, doors time, images, seat map, venue address and min/max price. Adds up to two requests per event. Leave off for the fastest, cheapest run.",
            "default": 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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}