{
  "openapi": "3.0.1",
  "info": {
    "title": "Resident Advisor Scraper — Club Events, Lineups & Promoters",
    "description": "Scrape Resident Advisor (ra.co) club events and festivals by city, country, dates, genre or keyword: venue, full lineup, promoters, genres, ticket tiers and prices, sold-out status, attending count and RA Picks. Event links too. No login.",
    "version": "0.1",
    "x-build-id": "Y4NbypHlx44EMGiSs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yugenox~resident-advisor-events-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yugenox-resident-advisor-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~resident-advisor-events-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yugenox-resident-advisor-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~resident-advisor-events-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yugenox-resident-advisor-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": {
          "areas": {
            "title": "📍 Cities, areas or countries",
            "type": "array",
            "description": "Where to look, one per line: a city or Resident Advisor area (\"London\", \"Berlin\", \"New York City\", \"Ibiza\"), a city with its country (\"Paris, France\"), a whole country (\"Germany\", \"NL\", \"USA\") or a ra.co events link (ra.co/events/uk/london, ra.co/events/de/all). Each one is a separate search. Leave empty for events worldwide.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "From",
            "type": "string",
            "description": "First day of events (YYYY-MM-DD) or relative like \"today\", \"tomorrow\", \"+7 days\". Past dates work too. Empty = today."
          },
          "dateTo": {
            "title": "To",
            "type": "string",
            "description": "Last day of events, inclusive (YYYY-MM-DD) or relative like \"+30 days\". Empty = 7 days from From (one week of events)."
          },
          "maxItems": {
            "title": "Max events",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum number of events for the whole run, shared fairly between your areas. 0 = everything listed.",
            "default": 100
          },
          "genres": {
            "title": "🎵 Genres",
            "type": "array",
            "description": "Only events tagged with one of these Resident Advisor genres. Empty = all genres.",
            "items": {
              "type": "string",
              "enum": [
                "acid",
                "afrohouse",
                "afrotech",
                "afrobeat",
                "afrobeats",
                "amapiano",
                "ambient",
                "bailefunk",
                "balearic",
                "ballroom",
                "bass",
                "breakbeat",
                "breakcore",
                "brokenbeat",
                "classical",
                "club",
                "dancehall",
                "deephouse",
                "dembow",
                "disco",
                "downtempo",
                "drill",
                "drone",
                "drumandbass",
                "dub",
                "dubtechno",
                "dubstep",
                "ebm",
                "electro",
                "electronica",
                "experimental",
                "footwork",
                "funksoul",
                "gabber",
                "garage",
                "ghettotech",
                "gqom",
                "grime",
                "guaracha",
                "harddrum",
                "hardcore",
                "hiphop",
                "house",
                "idm",
                "industrial",
                "italodisco",
                "jazz",
                "jungle",
                "krautrock",
                "kuduro",
                "kwaito",
                "latinbass",
                "minimal",
                "minimaltechno",
                "neoperreo",
                "newwave",
                "noise",
                "pop",
                "postpunk",
                "progressivehouse",
                "psytrance",
                "rnb",
                "reggaeton",
                "riofunk",
                "singeli",
                "techhouse",
                "techno",
                "trance",
                "ukfunky",
                "vaporwave"
              ],
              "enumTitles": [
                "Acid",
                "Afro House",
                "Afro Tech",
                "Afrobeat",
                "Afrobeats",
                "Amapiano",
                "Ambient",
                "Baile Funk",
                "Balearic",
                "Ballroom",
                "Bass",
                "Breakbeat",
                "Breakcore",
                "Broken Beat",
                "Classical",
                "Club",
                "Dancehall",
                "Deep House",
                "Dembow",
                "Disco",
                "Downtempo",
                "Drill",
                "Drone",
                "Drum & Bass",
                "Dub",
                "Dub Techno",
                "Dubstep",
                "EBM",
                "Electro",
                "Electronica",
                "Experimental",
                "Footwork",
                "Funk / Soul",
                "Gabber",
                "Garage",
                "Ghetto Tech",
                "Gqom",
                "Grime",
                "Guaracha",
                "Hard Drum",
                "Hardcore",
                "Hip-Hop",
                "House",
                "IDM",
                "Industrial",
                "Italo Disco",
                "Jazz",
                "Jungle",
                "Krautrock",
                "Kuduro",
                "Kwaito",
                "Latin Bass",
                "Minimal",
                "Minimal Techno",
                "Neo Perreo",
                "New Wave",
                "Noise",
                "Pop",
                "Post-Punk",
                "Progressive House",
                "Psytrance",
                "R&B",
                "Reggaeton",
                "Rio Funk",
                "Singeli",
                "Tech House",
                "Techno",
                "Trance",
                "UK Funky",
                "Vaporwave"
              ]
            }
          },
          "keyword": {
            "title": "Keyword in the title",
            "type": "string",
            "description": "Only events whose title contains this word or name, e.g. a club night (\"fabric\"), a festival or an artist billed in the title."
          },
          "picksOnly": {
            "title": "RA Picks only",
            "type": "boolean",
            "description": "Only events picked by Resident Advisor's editors (each row then carries the editor's blurb).",
            "default": false
          },
          "sortBy": {
            "title": "Order",
            "enum": [
              "date",
              "popular",
              "newest"
            ],
            "type": "string",
            "description": "Date = Resident Advisor's own listing order (day by day, top events first). Most popular = most people attending first. Newest added = most recently announced first.",
            "default": "date"
          },
          "startUrls": {
            "title": "🔗 Event links",
            "type": "array",
            "description": "Optional: Resident Advisor event links (ra.co/events/2344908) to scrape directly, past or upcoming. Area links (ra.co/events/uk/london) work here too.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "includeTickets": {
            "title": "Ticket tiers and prices",
            "type": "boolean",
            "description": "Add every Resident Advisor ticket tier (name, price, currency, on sale / sold out, sale dates), the lowest, highest and cheapest-on-sale price and a sold-out flag.",
            "default": true
          },
          "includeDescription": {
            "title": "Event description",
            "type": "boolean",
            "description": "Add the event text written by the promoter (personal e-mail addresses and phone numbers are removed). Turn off for smaller rows.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new events",
            "type": "boolean",
            "description": "Skip events that an earlier run with the same input already saved (they are not charged). Ideal for a daily schedule that watches a city for newly announced events: with Order = Date, results then come newest-announced first, and the run stops by itself once it only finds events it saved before.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is used by default and comes with every Apify plan.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}