{
  "openapi": "3.0.1",
  "info": {
    "title": "DICE Events Scraper - Sold-Out, New Event & Price Alerts",
    "description": "For ticket resale watchers, promoters, event newsletters and event feeds: DICE events by city, category or venue with ticket status, date, venue and price. Monitoring returns only new, sold-out, back-on-sale and price-changed events, with the previous value. Export as JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "Jo9HIhEh7oZkVeAL1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neverempty~dice-events-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neverempty-dice-events-monitor",
        "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/neverempty~dice-events-monitor/runs": {
      "post": {
        "operationId": "runs-sync-neverempty-dice-events-monitor",
        "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/neverempty~dice-events-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-neverempty-dice-events-monitor",
        "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 read, by the name in the dice.fm address: london, new-york, los-angeles, berlin, paris, barcelona, amsterdam and so on (dice.fm/browse/london → london). The full dice.fm city address also works. With categories below, each city is read once per category over the coming days. Without a category, a city is the list of events DICE features on its city page. A city DICE does not have comes back as a free \"not-found\" row; no other city is used in its place.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories (need a city)",
            "type": "array",
            "description": "Optional. DICE categories, read inside each city given: gig, dj, party, comedy, theatre, film, art, talks, social, workshop, sport, food & drink, wellbeing and the others DICE shows on the city page. Every event of the category in the coming days (see \"Days ahead\") is read, not only the featured ones. A category the city does not have comes back as a free \"not-found\" row with the categories it does have.",
            "items": {
              "type": "string"
            }
          },
          "venues": {
            "title": "Venues",
            "type": "array",
            "description": "Optional. DICE venues to read: the venue's dice.fm address (https://dice.fm/venue/...) or its venue id. Each venue is one list of its next upcoming events (DICE shows up to 30 per venue). An address DICE has no venue page for comes back as a free \"not-found\" row.",
            "items": {
              "type": "string"
            }
          },
          "daysAhead": {
            "title": "Days ahead (categories)",
            "minimum": 1,
            "maximum": 90,
            "type": "integer",
            "description": "How many days from today each city and category is read, today included. Venues and featured city lists are not limited by this number.",
            "default": 14
          },
          "alerts": {
            "title": "Changes to report (monitoring)",
            "type": "array",
            "description": "Which changes monitoring mode returns. Leave empty for all of them: new events, events that sold out, sold-out events back on sale, price changes, and other ticket status changes.",
            "items": {
              "type": "string",
              "enum": [
                "new-event",
                "sold-out",
                "back-on-sale",
                "price-changed",
                "status-changed"
              ],
              "enumTitles": [
                "New event",
                "Sold out",
                "Back on sale",
                "Price changed",
                "Other ticket status change"
              ]
            }
          },
          "maxEvents": {
            "title": "Maximum events",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Upper limit on event rows when monitoring is off (earliest start first). Reading stops once enough events have been read. Monitoring mode ignores this number and returns every change it finds.",
            "default": 200
          },
          "maxPages": {
            "title": "Maximum pages",
            "minimum": 1,
            "maximum": 3000,
            "type": "integer",
            "description": "Upper limit on how much is read in one run. When it is reached, the run says so in the log and in a free \"limit-reached\" row, naming the lists that were not read to the end; events past that point are not in this run.",
            "default": 300
          },
          "monitoringMode": {
            "title": "Monitoring mode (only changes)",
            "type": "boolean",
            "description": "Run the same input on a schedule (for example daily). The first run of a list only remembers its events (no event rows, no charge). Every later run returns only events that are new, sold out, back on sale, or changed in price or status, with the previous value. A list with no change returns a free \"no-changes\" row and is charged one small monitoring check.",
            "default": false
          },
          "resetMonitoringState": {
            "title": "Forget remembered events",
            "type": "boolean",
            "description": "Clears everything monitoring mode remembers for every list before this run, so each list starts again with a first read.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}