Anonymous access


Am I correct in thinking there is no way to access the GraphQL API anonymously even when querying public data that would normally be accessible anonymously via the V3 API?


You’re correct: Authenticating with Github’s GraphQL API

To communicate with the GraphQL server, you’ll need an OAuth token with the right scopes. Follow the steps in “Creating a personal access token for the command line” to create a token.

As far as I know, there isn’t such thing as an “anonymous” OAuth token provided by Github - you have to create one via a Github account (or through the webflow).


That’s correct, there’s no support for anonymous GraphQL queries right now. Almost everything is in the context of a viewer. As we get to closer to full parity with the current REST API, that may change, but we don’t have a timeline for that right now.