{
  "openapi": "3.0.1",
  "info": {
    "title": "DICE Events Scraper — Concert, Venue & Ticket Data",
    "description": "Collect events from DICE (dice.fm): title, date, lineup, venue, and ticket details. In venue mode each show carries a full venue lead — Instagram, website, email, phone, and capacity. Built for booking, venue lead generation, and live-music market intelligence.",
    "version": "0.3",
    "x-build-id": "WIpmKKvz7JD2y2gXM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aitorsm~dice-events/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aitorsm-dice-events",
        "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/aitorsm~dice-events/runs": {
      "post": {
        "operationId": "runs-sync-aitorsm-dice-events",
        "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/aitorsm~dice-events/run-sync": {
      "post": {
        "operationId": "run-sync-aitorsm-dice-events",
        "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": {
          "city": {
            "title": "City",
            "type": "string",
            "description": "Pick a city from the list, or type any DICE city yourself (name is matched against DICE’s live city list, so newly-added cities work too). For an unlisted city you can also pass cityPermName + cityId in the advanced section."
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Country of the city, e.g. \"United Kingdom\". Disambiguates repeated city names — DICE lists both London, Canada and London, United Kingdom. Leave empty to use the city DICE itself opens for that name (London → United Kingdom); the log then names the alternatives."
          },
          "cityPermName": {
            "title": "City perm_name (advanced)",
            "type": "string",
            "description": "DICE city permanent slug (e.g. \"LosAngeles\", \"london\"). Required when also passing `cityId`. Overrides `city`."
          },
          "cityId": {
            "title": "City ID (advanced)",
            "type": "string",
            "description": "DICE city ObjectId hex (24 chars). Required when also passing `cityPermName`."
          },
          "maxItems": {
            "title": "Max events",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of events to return. Up to the city's ~30 highlighted events (~300 with sweepFilters) come from the city listing; ask for more, or set 0 for no limit, and the actor covers every event DICE lists in the city (London: ~5,500). Larger runs take longer: about 2 events per second.",
            "default": 30
          },
          "sweepFilters": {
            "title": "Sweep all primary filters",
            "type": "boolean",
            "description": "If true, the actor also covers each primary category (Gigs/DJ/Party/Sport/Comedy/Theatre/Workshop/Art/Social/Film/Talk/Wellbeing/Playback/Artist signing). Yields ~3-4x more events per city than the default 30 and takes slightly longer. Best for organizer/promoter discovery.",
            "default": false
          },
          "sweepVenues": {
            "title": "Sweep all venues in the city (deep mode)",
            "type": "boolean",
            "description": "If true, covers every DICE venue in the city and returns each venue's full event list. Yields the most exhaustive coverage (~3x more events than filter sweep); run time scales with the city's venue count (e.g. 84 for LA). Best for event-listing use cases. Composes with sweepFilters — all events deduped by ID.",
            "default": false
          },
          "enrichVenues": {
            "title": "Enrich venues (billed per venue)",
            "type": "boolean",
            "description": "If true, each venue visited in sweepVenues mode is enriched with its contact + social details (website, Instagram, Facebook, TikTok, Twitter/X, phone, email) plus capacity, description, and address. Billed once per unique venue ($0.02). Recommended for venue lead-generation. Has no effect unless sweepVenues is also on.",
            "default": true
          },
          "includeTicketTypes": {
            "title": "Include ticket tiers",
            "type": "boolean",
            "description": "If true, each event gets a ticketTypes list: every ticket tier with its name, status (on sale / sold out / off sale), price, per-order limit and sale dates. Adds one lookup per event. If the tiers of an event cannot be retrieved, the event is still delivered, with ticketTypes null, and the run is reported as partial.",
            "default": false
          },
          "enrichPromoters": {
            "title": "Enrich event promoters",
            "type": "boolean",
            "description": "Adds public profile details to city event rows. Each successfully enriched promoter is counted once per run. Events from promoters without a public profile have empty profile fields.",
            "default": false
          },
          "promoter": {
            "title": "Promoter slug or page URL",
            "type": "string",
            "description": "Returns upcoming events from this promoter in date order, with public profile details included. Enter a slug such as imperial-college-union-ola5a or a DICE promoter page URL. When set, city inputs and sweeps are ignored. Max events and the spending limit still apply."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}