{
  "openapi": "3.0.1",
  "info": {
    "title": "RA Scraper | Events, Lineups and Tickets",
    "description": "Resident Advisor scraper for ra.co events: type a city, club, artist or promoter, or paste RA links and event IDs. Get 100 events in 1 second, 44 fields each: lineup, artists, genres, venue, address, GPS, local start and end times, ticket tiers, prices, sold-out status and interest. No login.",
    "version": "1.0",
    "x-build-id": "IoCfUBHTuBaGxCnQw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~ra-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-ra-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/silentflow~ra-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-ra-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/silentflow~ra-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-ra-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": {
          "searches": {
            "title": "🔎 Cities, clubs, artists or promoters",
            "type": "array",
            "description": "Names to look up on RA, one per line: a city (<code>London</code>, <code>Berlin</code>), a country (<code>Germany</code>), a club (<code>Berghain</code>, <code>fabric</code>), an artist (<code>Ben UFO</code>) or a promoter (<code>Fuse London</code>). Each name reads the events of what RA matches first; add the country after a comma to pick a city (<code>Valencia, Spain</code>). A big city lists hundreds of events a week.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 RA links",
            "type": "array",
            "description": "Pages copied from ra.co: a city (<code>https://ra.co/events/nl/amsterdam</code>), a whole country (<code>https://ra.co/events/de/all</code>), a club (<code>https://ra.co/clubs/5031</code>), an artist (<code>https://ra.co/dj/benufo</code>), a promoter (<code>https://ra.co/promoters/15502</code>), an event (<code>https://ra.co/events/2073141</code>) or a range of events (<code>https://ra.co/events/2186229-2186250</code>). Language versions such as nl.ra.co work too.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "eventIds": {
            "title": "🆔 Event IDs",
            "type": "array",
            "description": "RA event IDs, the number at the end of an event page address: <code>2073141</code> for <code>ra.co/events/2073141</code>. Each ID returns one row, the full event, whatever the dates below. Past events work too.",
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "📅 From",
            "type": "string",
            "description": "First day of events to return, such as <code>2026-11-01</code>. Empty: today."
          },
          "dateTo": {
            "title": "📅 To",
            "type": "string",
            "description": "Last day of events to return, included, such as <code>2026-11-30</code>. Empty: no end date."
          },
          "maxItems": {
            "title": "🔢 Max events",
            "minimum": 1,
            "type": "integer",
            "description": "The most events the run returns, all searches and links together. An event running several days counts once. London alone lists about 2,000 upcoming events.",
            "default": 100
          },
          "genres": {
            "title": "🎵 Genres",
            "type": "array",
            "description": "Keep only events filed under at least one of these RA genres. Empty: every genre. Events without a genre are left out when a genre is picked.",
            "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"
              ]
            }
          },
          "sortBy": {
            "title": "🔥 Order",
            "enum": [
              "date",
              "popular"
            ],
            "type": "string",
            "description": "<b>Soonest first</b> lists events by date. <b>Most popular first</b> lists the events most people marked as interested on RA first, the big nights of the period.",
            "default": "date"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}