{
  "openapi": "3.0.1",
  "info": {
    "title": "DICE Events Scraper — Gigs, Prices, Venues & Lineups",
    "description": "Scrape DICE (dice.fm) events by city and category: gigs, DJ sets, club nights, comedy and more with start, door and sale dates, ticket price, sale status, venue (address, capacity, coordinates), lineup and headliners, promoter, age limit and description. Monitor mode. No login.",
    "version": "0.1",
    "x-build-id": "skGygjPVBBNHj8HJS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~dice-fm-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-dice-fm-events-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/yugenox~dice-fm-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-dice-fm-events-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/yugenox~dice-fm-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-dice-fm-events-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": {
          "cities": {
            "title": "🏙️ Cities",
            "type": "array",
            "description": "DICE cities to scrape, by name: \"London\", \"New York\", \"Los Angeles\", \"Paris\", \"Berlin\", \"Barcelona\", \"Manchester\", \"Amsterdam\" … Each city is searched separately. You can also paste a city's dice.fm/browse URL here or in DICE URLs.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "DICE's own event categories. Empty = every category the city has (gigs first).",
            "items": {
              "type": "string",
              "enum": [
                "gig",
                "dj",
                "party",
                "comedy",
                "social",
                "theatre",
                "art",
                "talks",
                "workshop",
                "film",
                "sport",
                "foodanddrink",
                "wellbeing",
                "artistsigning",
                "playback",
                "podcast"
              ],
              "enumTitles": [
                "Gigs",
                "DJ",
                "Party",
                "Comedy",
                "Social",
                "Theatre",
                "Art",
                "Talks",
                "Workshops",
                "Film",
                "Sport",
                "Food & drink",
                "Wellbeing",
                "Artist signings",
                "Playback / listening parties",
                "Podcast"
              ]
            }
          },
          "maxItems": {
            "title": "Max events",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum number of events for the whole run, shared fairly between your cities and categories. 0 = everything (up to 50,000).",
            "default": 100
          },
          "dateFrom": {
            "title": "📅 From date",
            "type": "string",
            "description": "Only events starting on or after this day (the city's local date): YYYY-MM-DD, or relative like \"+7 days\". Empty = from today."
          },
          "dateTo": {
            "title": "📅 To date",
            "type": "string",
            "description": "Only events starting on or before this day: YYYY-MM-DD, or relative like \"+30 days\", \"+3 months\". Empty = everything DICE lists (usually up to a year ahead)."
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "type": "number",
            "description": "Lowest ticket price to keep, in the city's currency (GBP in the UK, USD in the US, EUR in Europe …). Empty = no minimum."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "type": "number",
            "description": "Highest ticket price to keep, in the city's currency. Set 0 to get free events only. Empty = no maximum."
          },
          "onlyOnSale": {
            "title": "Only events on sale",
            "type": "boolean",
            "description": "Leave out sold-out events and events whose tickets are not on sale (yet or any more). They are not charged.",
            "default": false
          },
          "onlyNew": {
            "title": "Only new events (monitor mode)",
            "type": "boolean",
            "description": "Skip events that an earlier run with the same cities, categories and filters already saved: they are not fetched and not charged. Ideal for a daily schedule that only picks up newly announced events.",
            "default": false
          },
          "includeDetails": {
            "title": "Event details (lineup, description …)",
            "type": "boolean",
            "description": "Read each event's own page for the lineup (artists, headliners), description, promoter, door time, venue capacity and coordinates, age limit, refund policy and FAQs. Turn off for a faster run with the listing fields only (name, dates, sale dates, price, status, venue). Same price either way.",
            "default": true
          },
          "splitBusyDays": {
            "title": "Split busy days",
            "type": "boolean",
            "description": "A DICE results page holds about 24 events. When one day in a category has more than that (big cities on weekends), the run asks again by price band to get the rest of that day. Turn off for fewer page reads on huge runs.",
            "default": true
          },
          "startUrls": {
            "title": "🔗 DICE URLs",
            "type": "array",
            "description": "Optional: dice.fm/browse URLs (a city, a category or a genre, e.g. dice.fm/browse/london-54d8a23438fe5d27d500001c/music/gig/techno; dates and prices in the URL are kept) or dice.fm/event/… URLs.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is the default and comes with every Apify plan, including the free one.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}