https://taylor-swift-api.sarbo.workers.dev
Make your first request
Run this command to fetch all albums:You’ll get back a JSON array of every album in the catalog:
Get songs for an album
Use an The response is an array of songs on that album:
album_id from the previous response to fetch all songs on that album. For example, to get the songs on 1989 (album ID 1):Each song has a
song_id you’ll use to fetch its full lyrics.Fetch lyrics for a song
Use a The response contains the song title and full lyrics as a single string:
song_id to retrieve the complete lyrics for that song. For example, to get the lyrics for Blank Space (song ID 1):All endpoints at a glance
| Method | Endpoint | Description |
|---|---|---|
GET | /albums | List all albums |
GET | /albums/{albumID} | List songs on a specific album |
GET | /songs | List all songs |
GET | /songs/{songID} | Get a single song |
GET | /lyrics/{songID} | Get full lyrics for a song |
GET | /lyrics?numberOfParagraphs={n}&shouldRandomizeLyrics={bool} | Get N paragraphs of lyrics |
Next steps
API reference
Full endpoint documentation with all parameters and response schemas.
Browse albums
Learn how to work with the albums endpoint in depth.