Documentation

OAuth 2.0

Bearer Authentication with GraphQL API

Requests to GraphQL are authenticated using OAuth2 bearer tokens.  The OAuth2 token is passed in the authorization header of the request:

Authorization: Bearer BEARER_TOKEN

Example curl to query top artists of a listener:



curl 'https://ce.pandora.com/api/v1/graphql/graphql' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer ' \
  -d '{"query":"{topArtists{items{...on Artist{sortableName}}}}"}'