provider Player GET /me/player/recently-played
@utdk/spotify /me/player/recently-played
Get Recently Played Tracks
Get tracks from the current user's recently played tracks. _**Note**: Currently doesn't support podcast episodes._
limit query
integer
after query
integer
before query
integer

Try it

Authentication
Configure credentials for Spotify Web API
getRecentlyPlayed
GET/me/player/recently-played
Get tracks from the current user's recently played tracks. _**Note**: Currently doesn't support podcast episodes._

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import spotify from '@utdk/spotify';

await spotify.getRecentlyPlayed({
  "limit": 20
})