Skip to content

Instantly share code, notes, and snippets.

@alexjlockwood
Last active November 14, 2025 22:38
Show Gist options
  • Select an option

  • Save alexjlockwood/4ff2584c5b42d329829a913612915938 to your computer and use it in GitHub Desktop.

Select an option

Save alexjlockwood/4ff2584c5b42d329829a913612915938 to your computer and use it in GitHub Desktop.
A script that queries the Setlist FM API and prints out the dates where Radiohead played identical setlists (same songs and same order)
Found 34 groups of identical setlists.
################################################################################
Group 2: 2 matching shows
################################################################################
- 14-11-2025 – Unipol Arena – Casalecchio di Reno, Italy (id: 1b40c9d0)
- 07-11-2025 – Movistar Arena – Madrid, Spain (id: 1340c9dd)
Songs:
1. Planet Telex
2. 2 + 2 = 5
3. Sit Down. Stand Up.
4. Bloom
5. Lucky
6. Ful Stop
7. The Gloaming
8. There There
9. No Surprises
10. Videotape
11. Weird Fishes/Arpeggi
12. Everything in Its Right Place
13. 15 Step
14. The National Anthem
15. Daydreaming
16. Subterranean Homesick Alien
17. Bodysnatchers
18. Idioteque
19. Fake Plastic Trees
20. Let Down
21. Paranoid Android
22. You and Whose Army?
23. A Wolf at the Door
24. Just
25. Karma Police
################################################################################
Group 3: 2 matching shows
################################################################################
- 28-03-2005 – Royal Festival Hall – London, United Kingdom (id: 13dfa5b9)
- 27-03-2005 – Royal Festival Hall – London, United Kingdom (id: bdfa5ba)
Songs:
1. Piano for Children
2. Smear
3. Weird Fishes/Arpeggi
4. Where Bluebirds Fly
################################################################################
Group 4: 2 matching shows
################################################################################
- 06-11-2003 – Friday Night with Jonathan Ross – London, United Kingdom (id: 63dd469f)
- 17-10-2003 – Late Show With David Letterman – New York, United States (id: 2bd2748a)
Songs:
1. 2 + 2 = 5
################################################################################
Group 5: 2 matching shows
################################################################################
- 03-08-1997 – Timber Bowl – Estacada, United States (id: 6bd2020e)
- 02-08-1997 – Kitsap County Fairgrounds – Bremerton, United States (id: 63d2020f)
Songs:
1. Fake Plastic Trees
2. My Iron Lung
3. Talk Show Host
4. Paranoid Android
5. Lucky
6. Airbag
7. Just
################################################################################
Group 6: 2 matching shows
################################################################################
- 25-07-1997 – The Tonight Show with Jay Leno – Burbank, United States (id: 73d20209)
- 30-03-1996 – SOMA – San Diego, United States (id: 23d3a81f)
Songs:
1. Electioneering
################################################################################
Group 7: 2 matching shows
################################################################################
- 19-06-1997 – Mandela Hall – Belfast, United Kingdom (id: 63d3a653)
- 13-06-1997 – Troubadour – West Hollywood, United States (id: 13d2e909)
Songs:
1. Lucky
2. My Iron Lung
3. Airbag
4. (Nice Dream)
5. Exit Music (for a Film)
6. Karma Police
7. Talk Show Host
8. Fake Plastic Trees
9. Paranoid Android
10. Bones
11. Climbing Up the Walls
12. No Surprises
13. The Bends
14. Bullet Proof..I Wish I Was
15. Electioneering
16. Just
17. Planet Telex
18. Street Spirit (Fade Out)
19. The Tourist
################################################################################
Group 8: 30 matching shows
################################################################################
- 05-07-1996 – Tor 3 – Düsseldorf, Germany (id: 2bd3a812)
- 16-07-1995 – Metropolis – El Paso, United States (id: 4bd3bb9a)
- 24-10-1994 – Teatro de San Francisco – Pachuca, Mexico (id: 23d3b80f)
- 22-06-1994 – Powerstation – Auckland, New Zealand (id: 5bd24328)
- 26-05-1994 – Wulfrun Hall – Wolverhampton, United Kingdom (id: 53d24339)
- 12-12-1993 – The LCR, UEA – Norwich, United Kingdom (id: bd24592)
- 24-11-1993 – Canal+, Nulle Part Ailleurs – Paris, France (id: 73dd4e5d)
- 22-11-1993 – Le Transbordeur – Villeurbanne, France (id: 2bd21416)
- 19-11-1993 – Le Moulin – Marseille, France (id: 3d2459b)
- 19-10-1993 – Glenn Miller Ballroom – Boulder, United States (id: 3d245ab)
- 01-10-1993 – Ritchie Coliseum – College Park, United States (id: 13d245bd)
- 21-09-1993 – Florida Theatre – Gainesville, United States (id: bd245c6)
- 14-09-1993 – Late Night With Conan O'Brien – New York, United States (id: 23d2141b)
- 01-09-1993 – Top of the Pops – London, United Kingdom (id: bba11ee)
- 14-07-1993 – Arsenio Hall Show – Los Angeles, United States (id: 3bd21438)
- 05-07-1993 – DV8 – Salt Lake City, United States (id: bd245d6)
- 13-05-1993 – ITV Studios – London, United Kingdom (id: 6bb19a66)
- 31-03-1993 – Roxane – Tel Aviv, Israel (id: 23d2683f)
- 26-02-1993 – Subway – Edinburgh, United Kingdom (id: 5384bf25)
- 14-01-1993 – ULU – London, United Kingdom (id: 33d2685d)
- 08-11-1992 – Nottingham Trent University – Nottingham, United Kingdom (id: 7bd26e28)
- 28-10-1992 – Fleece and Firkin – Bristol, United Kingdom (id: 6bd26e3e)
- 12-10-1992 – University of Kent at Canterbury – Canterbury, United Kingdom (id: 6bd26e4e)
- 09-10-1992 – London Astoria – London, United Kingdom (id: 73d26e49)
- 08-10-1992 – The Pink Toothbrush – Rayleigh, United Kingdom (id: 6bd26e4a)
- 25-09-1992 – The Venue – Edinburgh, United Kingdom (id: 6bd26e5e)
- 19-09-1992 – The Venue – Oxford, United Kingdom (id: 63d26e67)
- 16-09-1992 – Boardwalk – Manchester, United Kingdom (id: 73d26e61)
- 09-06-1992 – Boardwalk – Manchester, United Kingdom (id: 23d270a7)
- 28-04-1992 – Riverside – Newcastle upon Tyne, United Kingdom (id: 2bc7d81a)
Songs:
1. Creep
################################################################################
Group 9: 2 matching shows
################################################################################
- 24-03-1996 – DV8 – Seattle, United States (id: 53d2e775)
- 23-03-1996 – The Rage – Vancouver, Canada (id: 33d3a819)
Songs:
1. The Bends
2. Bones
3. Anyone Can Play Guitar
4. Bullet Proof..I Wish I Was
5. Lucky
6. Creep
7. My Iron Lung
8. Lift
9. (Nice Dream)
10. Electioneering
11. Planet Telex
12. High and Dry
13. Just
14. Fake Plastic Trees
15. Street Spirit (Fade Out)
16. You
17. Blow Out
18. Banana Co.
################################################################################
Group 10: 4 matching shows
################################################################################
- 15-03-1996 – The Tonight Show with Jay Leno – Burbank, United States (id: bd20116)
- 21-11-1995 – Planet Ringo – Milan, Italy (id: 23dd486f)
- 14-11-1995 – Canal+, Nulle Part Ailleurs – Paris, France (id: 23dd486b)
- 09-03-1995 – Top of the Pops – London, United Kingdom (id: 53d3bbd9)
Songs:
1. High and Dry
################################################################################
Group 11: 3 matching shows
################################################################################
- 01-02-1996 – Top of the Pops – London, United Kingdom (id: 2bdd4862)
- 11-05-1995 – – Yokohama, Japan (id: 4bbaa372)
- 02-11-1993 – Woodstock Bar – Montreal, Canada (id: 535cbfb9)
Songs:
1. Street Spirit (Fade Out)
################################################################################
Group 12: 2 matching shows
################################################################################
- 17-12-1995 – Universal Amphitheatre – Universal City, United States (id: bd20536)
- 15-12-1995 – Berkeley Community Theatre – Berkeley, United States (id: bd20532)
Songs:
1. The Bends
2. My Iron Lung
3. High and Dry
4. Just
5. Fake Plastic Trees
################################################################################
Group 13: 3 matching shows
################################################################################
- 03-12-1995 – London Arena – London, United Kingdom (id: 33dd486d)
- 25-04-1995 – Canal+, Nulle Part Ailleurs – Paris, France (id: 4bde6346)
- 29-09-1994 – Leeds Metropolitan University – Leeds, United Kingdom (id: 3bd3b820)
Songs:
1. My Iron Lung
################################################################################
Group 14: 2 matching shows
################################################################################
- 16-09-1995 – Cynthia Woods Mitchell Pavilion – The Woodlands, United States (id: 43d3bb8f)
- 15-09-1995 – Cynthia Woods Mitchell Pavilion – The Woodlands, United States (id: 5bd3bb88)
Songs:
1. My Iron Lung
2. High and Dry
3. Planet Telex
4. Anyone Can Play Guitar
5. Just
6. Street Spirit (Fade Out)
7. Creep
8. Fake Plastic Trees
9. The Bends
################################################################################
Group 15: 2 matching shows
################################################################################
- 08-08-1995 – Galei Tzahal – Tel Aviv, Israel (id: 6bdd4e06)
- 04-04-1995 – KCRW Studios – Santa Monica, United States (id: 63d21673)
Songs:
1. Street Spirit (Fade Out)
2. Subterranean Homesick Alien
3. Bullet Proof..I Wish I Was
################################################################################
Group 16: 2 matching shows
################################################################################
- 03-08-1995 – Oslo Spektrum – Oslo, Norway (id: 7bd20a88)
- 01-08-1995 – Waldbühne – Berlin, Germany (id: 43d3bb93)
Songs:
1. Bones
2. Anyone Can Play Guitar
3. High and Dry
4. Creep
5. My Iron Lung
6. Bullet Proof..I Wish I Was
7. Street Spirit (Fade Out)
8. Lucky
9. Just
10. Fake Plastic Trees
################################################################################
Group 17: 2 matching shows
################################################################################
- 12-06-1995 – Late Night With Conan O'Brien – New York, United States (id: 5bde6344)
- 01-06-1995 – Center Church on the Green – New Haven, United States (id: 2bbb043a)
Songs:
1. Fake Plastic Trees
################################################################################
Group 18: 2 matching shows
################################################################################
- 02-06-1995 – Black Cat – Washington, United States (id: 4bd3bbae)
- 02-11-1994 – Mercury Lounge – New York, United States (id: 2bd3b80e)
Songs:
1. The Bends
2. Just
3. Anyone Can Play Guitar
4. Bones
5. High and Dry
6. Black Star
7. Prove Yourself
8. Vegetable
9. Fake Plastic Trees
10. Planet Telex
11. Creep
12. My Iron Lung
################################################################################
Group 19: 2 matching shows
################################################################################
- 30-05-1995 – Toad's Place – New Haven, United States (id: 5bd20f38)
- 28-05-1995 – Pearl Street – Northampton, United States (id: 43d3bbaf)
Songs:
1. The Bends
2. Just
3. Anyone Can Play Guitar
4. Bones
5. High and Dry
6. Black Star
7. Prove Yourself
8. (Nice Dream)
9. Fake Plastic Trees
10. Planet Telex
11. Creep
12. My Iron Lung
13. You
14. Bullet Proof..I Wish I Was
15. Street Spirit (Fade Out)
################################################################################
Group 20: 2 matching shows
################################################################################
- 26-05-1995 – Paradise Rock Club – Boston, United States (id: 5bd20f44)
- 20-04-1995 – Gino – Stockholm, Sweden (id: 5bd2ef68)
Songs:
1. The Bends
2. Just
3. Anyone Can Play Guitar
4. Bones
5. High and Dry
6. Street Spirit (Fade Out)
7. Prove Yourself
8. Vegetable
9. Fake Plastic Trees
10. Planet Telex
11. Ripcord
12. Creep
13. My Iron Lung
14. You
15. Bullet Proof..I Wish I Was
16. Stop Whispering
################################################################################
Group 21: 3 matching shows
################################################################################
- 10-03-1995 – University of Bristol – Bristol, United Kingdom (id: 43d3bbc7)
- 09-03-1995 – The Great Hall, Cardiff University Students' Union – Cardiff, United Kingdom (id: 5bd3bbc0)
- 25-02-1995 – Apollo – Oxford, United Kingdom (id: 43d3bbdf)
Songs:
1. The Bends
2. Just
3. Anyone Can Play Guitar
4. Bones
5. Permanent Daylight
6. High and Dry
7. Prove Yourself
8. Stop Whispering
9. Vegetable
10. Fake Plastic Trees
11. Planet Telex
12. Blow Out
13. Creep
14. My Iron Lung
################################################################################
Group 22: 2 matching shows
################################################################################
- 23-10-1994 – Sancho's – Guanajuato, Mexico (id: 3bd3b808)
- 22-10-1994 – Roxy – Guadalajara, Mexico (id: 33d3b809)
Songs:
1. You
2. Prove Yourself
3. Just
4. Banana Co.
5. Ripcord
6. Permanent Daylight
7. Vegetable
8. Killer Cars
9. Punchdrunk Lovesick Singalong
10. How Do You?
11. Creep
12. My Iron Lung
13. The Bends
14. Pop Is Dead
15. Lurgee
16. Stop Whispering
17. Anyone Can Play Guitar
18. Bones
19. Street Spirit (Fade Out)
20. Inside My Head
21. Blow Out
################################################################################
Group 23: 2 matching shows
################################################################################
- 06-10-1994 – University of Exeter – Exeter, United Kingdom (id: 23d1b497)
- 04-10-1994 – Portsmouth Pyramids Centre – Portsmouth, United Kingdom (id: 2bd3b826)
Songs:
1. Bones
2. You
3. Prove Yourself
4. Just
5. Banana Co.
6. Ripcord
7. Permanent Daylight
8. Creep
9. My Iron Lung
10. Vegetable
11. Punchdrunk Lovesick Singalong
12. The Bends
13. Pop Is Dead
14. Stop Whispering
15. Anyone Can Play Guitar
16. Thinking About You
17. (Nice Dream)
18. Inside My Head
19. Blow Out
################################################################################
Group 24: 2 matching shows
################################################################################
- 14-06-1994 – Metropolis Fremantle – Fremantle, Australia (id: 43d24337)
- 27-05-1994 – London Astoria – London, United Kingdom (id: 43d2ef5f)
Songs:
1. You
2. Bones
3. Ripcord
4. Black Star
5. Creep
6. The Bends
7. My Iron Lung
8. Prove Yourself
9. Maquiladora
10. Vegetable
11. Fake Plastic Trees
12. Just
13. Stop Whispering
14. Anyone Can Play Guitar
15. Street Spirit (Fade Out)
16. Pop Is Dead
17. Blow Out
################################################################################
Group 25: 4 matching shows
################################################################################
- 21-05-1994 – Alter Flughafen Riem – Munich, Germany (id: 43d2433b)
- 17-09-1993 – Rockefeller's West – Houston, United States (id: 33dfa8a1)
- 05-03-1993 – University of Glamorgan – Treforest, United Kingdom (id: 33d26839)
- 01-09-1992 – The Underworld – London, United Kingdom (id: 23d2709b)
Songs:
1. Creep
2. Anyone Can Play Guitar
################################################################################
Group 26: 3 matching shows
################################################################################
- 09-12-1993 – Brixton Academy – London, United Kingdom (id: 2bd2140a)
- 08-12-1993 – Gloucester Leisure Centre – Gloucester, United Kingdom (id: 3d24593)
- 05-12-1993 – Civic Hall – Wolverhampton, United Kingdom (id: 13d2459d)
Songs:
1. The Bends
2. Prove Yourself
3. You
4. (Nice Dream)
5. Vegetable
6. Creep
7. Ripcord
8. Banana Co.
9. Pop Is Dead
10. Faithless, the Wonder Boy
11. Anyone Can Play Guitar
12. Stop Whispering
################################################################################
Group 27: 3 matching shows
################################################################################
- 28-11-1993 – Coliseu do Porto – Porto, Portugal (id: 1bd24598)
- 27-11-1993 – Pavilhão do Belenenses – Lisbon, Portugal (id: 13d24599)
- 26-11-1993 – The Revolver Club – Madrid, Spain (id: 23d2140b)
Songs:
1. The Bends
2. Prove Yourself
3. You
4. Yes I Am
5. Vegetable
6. Creep
7. Ripcord
8. (Nice Dream)
9. Pop Is Dead
10. Banana Co.
11. Anyone Can Play Guitar
12. Stop Whispering
################################################################################
Group 28: 2 matching shows
################################################################################
- 12-11-1993 – Live Music Hall – Cologne, Germany (id: 33d21411)
- 11-11-1993 – Markthalle – Hamburg, Germany (id: 2bd21412)
Songs:
1. The Bends
2. Prove Yourself
3. You
4. Yes I Am
5. Vegetable
6. Creep
7. Ripcord
8. Lurgee
9. Pop Is Dead
10. Anyone Can Play Guitar
11. Stop Whispering
################################################################################
Group 29: 2 matching shows
################################################################################
- 25-09-1993 – Masquerade Music Park – Atlanta, United States (id: 13d245b9)
- 24-09-1993 – Visage Nightclub – Orlando, United States (id: 1bd245c4)
Songs:
1. You
2. Creep
3. Stop Whispering
4. Anyone Can Play Guitar
5. Thinking About You
6. Blow Out
################################################################################
Group 30: 2 matching shows
################################################################################
- 28-08-1993 – The Venue – Oxford, United Kingdom (id: 3bd21420)
- 20-02-1993 – The Venue – Oxford, United Kingdom (id: 2bd2146e)
Songs:
1. The Bends
2. Prove Yourself
3. You
4. Vegetable
5. Creep
6. Lurgee
7. Yes I Am
8. Stop Whispering
9. Ripcord
10. Inside My Head
11. Anyone Can Play Guitar
12. Pop Is Dead
13. Killer Cars
14. Banana Co.
15. Faithless, the Wonder Boy
16. Blow Out
################################################################################
Group 31: 2 matching shows
################################################################################
- 05-06-1993 – Folkets Park – Fagersta, Sweden (id: 5bd5fb3c)
- 05-06-1993 – Mejeriet – Lund, Sweden (id: 23d21467)
Songs:
1. You
2. Prove Yourself
3. The Bends
4. Million Dollar Question
5. Creep
6. Lurgee
7. Ripcord
8. How Do You?
9. Banana Co.
10. Faithless, the Wonder Boy
11. Vegetable
12. Anyone Can Play Guitar
13. Pop Is Dead
################################################################################
Group 32: 2 matching shows
################################################################################
- 28-02-1993 – King Tut's Wah Wah Hut – Glasgow, United Kingdom (id: 43d6c3ff)
- 08-05-1992 – King Tut's Wah Wah Hut – Glasgow, United Kingdom (id: 2bd6c026)
Songs:
1. You
2. Prove Yourself
3. Inside My Head
4. Vegetable
5. Creep
6. Lurgee
7. Ripcord
8. How Do You?
9. Banana Co.
10. Faithless, the Wonder Boy
11. Anyone Can Play Guitar
12. Pop Is Dead
13. The Bends
14. Million Dollar Question
15. Stop Whispering
16. Blow Out
################################################################################
Group 33: 2 matching shows
################################################################################
- 19-02-1993 – Exeter Cavern – Exeter, United Kingdom (id: 3bd2684c)
- 08-06-1992 – The Wherehouse – Derby, United Kingdom (id: 3bd270a0)
Songs:
1. Anyone Can Play Guitar
################################################################################
Group 34: 3 matching shows
################################################################################
- 14-11-1992 – University of Essex – Colchester, United Kingdom (id: 6bd26e22)
- 11-11-1992 – University of Huddersfield – Huddersfield, United Kingdom (id: 3bd1b498)
- 21-10-1992 – The Wheatsheaf – Stoke-on-Trent, United Kingdom (id: 7bd26e40)
Songs:
1. Anyone Can Play Guitar
2. Prove Yourself
3. You
4. Creep
5. How Do You?
6. Million Dollar Question
7. Faithless, the Wonder Boy
8. Ripcord
9. Blow Out
#!/usr/bin/env python3
import time
import requests
from collections import defaultdict
BASE_URL = "https://api.setlist.fm/rest/1.0"
# Radiohead MusicBrainz ID
RADIOHEAD_MBID = "a74b1b7f-71a5-4011-9441-d0b5e4122711"
# Get an API key here if you are trying to run this thing: https://www.setlist.fm/settings/api
API_KEY = "[ENTER YOUR API KEY HERE IF YOU WANT TO RUN THIS SCRIPT]"
def fetch_all_radiohead_setlists(lang: str = "en", pause_seconds: float = 1.0):
"""
Fetch ALL Radiohead setlists from setlist.fm.
Handles rate limits (429) using exponential backoff.
"""
headers = {
"x-api-key": API_KEY,
"Accept": "application/json",
"Accept-Language": lang,
}
page = 1
all_setlists = []
while True:
params = {"p": page}
url = f"{BASE_URL}/artist/{RADIOHEAD_MBID}/setlists"
# retry loop for rate limiting
retry_delay = pause_seconds
while True:
print(f"Fetching page {page}...")
resp = requests.get(url, headers=headers, params=params, timeout=20)
if resp.status_code != 429:
# success or other error → exit retry loop
break
# handle 429 retry
print(f" Rate limited (429). Retrying in {retry_delay:.1f} seconds...")
time.sleep(retry_delay)
retry_delay = min(retry_delay * 2, 30) # exponential backoff, max 30s
# raise for errors other than 429
resp.raise_for_status()
data = resp.json()
setlists = data.get("setlist", [])
if not setlists:
break
for raw in setlists:
all_setlists.append(parse_setlist(raw))
total = int(data.get("total", 0))
items_per_page = int(data.get("itemsPerPage", len(setlists)))
print(f" Got {len(setlists)} setlists (total reported: {total})")
if page * items_per_page >= total:
break
page += 1
time.sleep(pause_seconds)
print(f"\nFinished. Total parsed setlists: {len(all_setlists)}")
return all_setlists
def parse_setlist(sl: dict) -> dict:
"""
Normalize one raw setlist.fm setlist into a simple structure:
- metadata
- ordered song list
"""
event_date = sl.get("eventDate")
tour_name = (sl.get("tour") or {}).get("name")
venue = sl.get("venue") or {}
city = venue.get("city") or {}
country = city.get("country") or {}
venue_name = venue.get("name")
city_name = city.get("name")
country_name = country.get("name")
songs = []
sets_container = sl.get("sets") or {}
sets_array = sets_container.get("set", [])
for s in sets_array:
for song in s.get("song", []):
name = song.get("name")
if name:
songs.append(name)
return {
"id": sl.get("id"),
"event_date": event_date,
"tour": tour_name,
"venue": venue_name,
"city": city_name,
"country": country_name,
"songs": songs,
}
def find_identical_setlists(setlists):
"""
Return a list of groups where ≥2 shows share the *exact same*
song list in the *same order*.
"""
by_songs = defaultdict(list)
for sl in setlists:
key = tuple(sl["songs"])
by_songs[key].append(sl)
return [
(songs, shows)
for songs, shows in by_songs.items()
if len(shows) > 1
]
if __name__ == "__main__":
setlists = fetch_all_radiohead_setlists()
duplicates = find_identical_setlists(setlists)
print("\n============================")
print(" Checking for duplicates...")
print("============================\n")
if not duplicates:
print("No identical setlists were ever played.")
else:
print(f"Found {len(duplicates)} groups of identical setlists.\n")
for idx, (songs, shows) in enumerate(duplicates, start=1):
print("#" * 80)
print(f"Group {idx}: {len(shows)} matching shows")
print("#" * 80)
for sl in shows:
print(
f"- {sl['event_date']} – {sl['venue']} – "
f"{sl['city']}, {sl['country']} (id: {sl['id']})"
)
print("\nSongs:")
for i, song in enumerate(songs, start=1):
print(f" {i:2d}. {song}")
print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment