{
  "openapi": "3.0.1",
  "info": {
    "title": "Ticketmaster Scraper [Only $2/1K💰] | Events | Ticket Status",
    "description": "Scrape Ticketmaster events — concerts, sports and theater with venue, dates, ticket status, lineups and images. No API key needed, $0.002 per event.",
    "version": "0.2",
    "x-build-id": "001TxlK61Mi71AlFg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ahmed_jasarevic~ticketmaster-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ahmed_jasarevic-ticketmaster-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/ahmed_jasarevic~ticketmaster-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ahmed_jasarevic-ticketmaster-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/ahmed_jasarevic~ticketmaster-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ahmed_jasarevic-ticketmaster-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": {
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Keyword queries passed to Ticketmaster's /api/search/events endpoint, e.g. beyonce, coldplay, comedy. Leave empty to only use category IDs.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "includeShowcaseEvent": {
            "title": "Include showcase event (recommended)",
            "type": "boolean",
            "description": "Adds one built-in reference event (currently \"Eagles Live at Sphere\") to every run, always fetched with the full /api/eventinfo enrichment - venue address and coordinates, complete artist lineup, images, currency and ticket status. It is a single extra request and it is what shows the difference the `includeEventDetails` enrichment makes. Turn it off to scrape only your own input.",
            "default": true
          },
          "categoryIds": {
            "title": "Category IDs",
            "type": "array",
            "description": "Ticketmaster major-category IDs to browse via /api/search/events/category/{categoryId}. Music = KZFzniwnSyZfZ7v7nJ, Sports = KZFzniwnSyZfZ7v7v1, Arts & Theater = KZFzniwnSyZfZ7v7nK, Family = KZFzniwnSyZfZ7v7nJ2.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "startUrls": {
            "title": "Event URL list",
            "type": "array",
            "description": "Direct Ticketmaster event detail URLs, e.g. https://www.ticketmaster.com/artist/event/1A9Zk37GkdXVozi. Used to scrape specific events.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "Only return events starting on or after this date. Format YYYY-MM-DD.",
            "default": ""
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Only return events starting on or before this date. Format YYYY-MM-DD. Leave empty for no upper bound.",
            "default": ""
          },
          "countryCode": {
            "title": "Country code",
            "type": "string",
            "description": "Two-letter market country code used for the site host (e.g. US, GB, DE, AU, CA).",
            "default": "US"
          },
          "region": {
            "title": "Region code",
            "type": "string",
            "description": "Ticketmaster region code. 200 = United States / all regions.",
            "default": "200"
          },
          "includeEventDetails": {
            "title": "Include event details",
            "type": "boolean",
            "description": "Fetch /api/eventinfo/{eventId} for every discovered event to enrich it with venue address, categories, full artist lineup, images and currency.",
            "default": true
          },
          "maxItems": {
            "title": "Maximum events",
            "type": "integer",
            "description": "Hard cap on the number of events pushed to the dataset.",
            "default": 100
          },
          "maxPagesPerQuery": {
            "title": "Max pages per query (optional)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Hard cap on result pages (20 events each) requested per query or category. Leave empty to let maxItems decide: the actor pages as deep as needed to reach maxItems and stops on its own when a query runs out of results."
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "type": "integer",
            "description": "Number of retries for a failed HTTP request.",
            "default": 3
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many requests are sent at the same time. Each residential request takes 1.5-2 s, so this is what decides how long a run takes: at the default 6 a 100-event enriched run finishes several times faster than at 2. Lower it to 2 if you see more HTTP 403 blocks on your market.",
            "default": 6
          },
          "requestHandlerTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "type": "integer",
            "description": "Per-request timeout in seconds.",
            "default": 60
          },
          "autoProxyOnBlock": {
            "title": "Auto proxy when blocked (recommended)",
            "type": "boolean",
            "description": "Ticketmaster answers HTTP 403 to Apify's datacenter IPs. When enabled, every request that comes back blocked is replayed through the Apify Proxy RESIDENTIAL group instead of failing the run (residential proxy traffic is billed on top of compute). Turn it off to stay on a direct connection only.",
            "default": true
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Select proxies to be used by your crawler. When enabled, these proxies are used from the first pass onwards; RESIDENTIAL is still added as an automatic fallback if they get blocked."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}