Musicfetch

Artist YouTube videos API

Fetch the latest YouTube videos for an artist from a YouTube or Spotify artist URL.

Want to keep up with your favorite artists' latest YouTube uploads? Whether you're building a music app, running a fan site, or just want to stay updated, Musicfetch makes it easy to fetch the freshest videos from YouTube channels.

How to use Musicfetch API to get latest YouTube videos

You can use any supported artist URL (e.g. YouTube or Spotify) with the /url endpoint. Note: You must include youtube in the services query param to get YouTube videos in the response.

See the artist lookup API docs for more details.

From a YouTube artist URL

curl "https://api.musicfetch.io/api/url?url=https%3A%2F%2Fwww.youtube.com%2F%40TaylorSwift&services=youtube"

From a Spotify artist URL

curl "https://api.musicfetch.io/api/url?url=https%3A%2F%2Fopen.spotify.com%2Fartist%2F06HL4z0CvFAxyc27GXpf02&services=youtube"
{
"result": {
"name": "Taylor Swift",
"videos": [
{
"id": "abc123",
"title": "Fortnight (feat. Post Malone)",
"url": "https://youtube.com/watch?v=abc123",
"publishedAt": "2024-04-19T00:00:00Z"
}
]
}
}

Benefits of Using Musicfetch

  • Unified API for all major music platforms
  • Fast, reliable, and always up-to-date
  • Easy integration for developers

Get Started

Ready to try it? Check out the API documentation or sign up for a free account to get your API key.