{
  "openapi": "3.0.1",
  "info": {
    "title": "Dice Events Scraper",
    "description": "Every upcoming event Dice (dice.fm) lists for a city, from concerts to club nights, with the time, venue, price and sold-out status on each row. Filter by dates, event type, price or keywords, or schedule it to get only newly announced events.",
    "version": "0.1",
    "x-build-id": "AdNuBKo7ShGTe2ULa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/deriverge~dice-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-deriverge-dice-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/deriverge~dice-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-deriverge-dice-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/deriverge~dice-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-deriverge-dice-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": "Cities as Dice writes them at the end of its event links, for example london, paris, new-york, los-angeles, berlin or barcelona. Names such as New York or München work too, and common local spellings (londra, milano, new-york-city) are added for you. Each city returns every upcoming event Dice lists for it.",
            "items": {
              "type": "string"
            }
          },
          "eventUrls": {
            "title": "Event links",
            "type": "array",
            "description": "Optional dice.fm event links, for example https://dice.fm/event/q2x97y-suir-de-parastatic-colour-me-blood-red-24th-oct-strongroom-london-tickets. Use them alone or together with cities.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "Start date (date or today, +30)",
            "type": "string",
            "description": "Keep events that start on or after this day, in the event's local time: YYYY-MM-DD, or a moving date such as today, tomorrow or +7. A saved task with moving dates keeps covering the coming days. Leave empty for every upcoming event."
          },
          "dateTo": {
            "title": "End date (date or today, +30)",
            "type": "string",
            "description": "Keep events that start on or before this day: YYYY-MM-DD, or a moving date such as +30 for a rolling month. Leave empty for no end."
          },
          "eventTypes": {
            "title": "Event types",
            "type": "array",
            "description": "Keep only these kinds of events, as Dice labels them. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "gig",
                "dj",
                "party",
                "comedy",
                "theatre",
                "art",
                "talks",
                "workshop",
                "film",
                "sport",
                "foodanddrink",
                "social",
                "artistsigning",
                "playback",
                "podcast"
              ],
              "enumTitles": [
                "Gigs",
                "DJ",
                "Party",
                "Comedy",
                "Theatre",
                "Art",
                "Talks",
                "Workshops",
                "Film",
                "Sport",
                "Food and drink",
                "Social",
                "Artist signings",
                "Album playbacks",
                "Podcasts"
              ]
            }
          },
          "keywords": {
            "title": "Keywords (any of)",
            "type": "array",
            "description": "Keep events whose title, lineup, venue, promoter or description contains any of these, for example techno, jazz or an artist name. Words of one or two letters, such as DJ, must appear as a whole word.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Keep events whose lowest ticket price is at least this much, in the event's own currency (pounds in London, euros in Paris)."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Keep events whose lowest ticket price is at most this much, in the event's own currency. Use 0 for free events only."
          },
          "soldOut": {
            "title": "Sold-out events",
            "enum": [
              "include",
              "only",
              "exclude"
            ],
            "type": "string",
            "description": "Keep every event, only the sold-out ones, or only those still on sale or not yet on sale.",
            "default": "include"
          },
          "includeDescription": {
            "title": "Include the description",
            "type": "boolean",
            "description": "Adds the promoter's full event text to each row. Keywords are searched in it either way.",
            "default": true
          },
          "maxItems": {
            "title": "Maximum events",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many events, so the cost of a run stays predictable. Events are read from the soonest date onwards.",
            "default": 10000
          },
          "newOnly": {
            "title": "Return only events new since the last run",
            "type": "boolean",
            "description": "Keeps a list of the events this watch name (or saved task) has returned and skips them next time, without reading them again. Schedule it daily for an alert on newly announced events.",
            "default": false
          },
          "watchName": {
            "title": "Watch name",
            "type": "string",
            "description": "Name of the list used by the new-only mode, for example london-techno. Runs of a saved task get one automatically."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}