GraphQL
Learn about GraphQL, how it works, and how to use it. For an in-depth learning experience with practical tutorials, see How to GraphQL.Check out the free online course, Exploring GraphQL: A Query Language for APIs.
NBA Top Shot provides a set of read-only GraphQL endpoints for accessing off-chain data. The public api can be found at the following url:
https://public-api.nbatopshot.com/graphql
The APIs do not currently require API keys. If you use our GraphQL APIs, and you want to play nice, we ask that you set a
User-Agent
header that lets us know who you are in case we want to get a hold of you instead of just blocking you
if your requests start to seem suspicious.
Use the following docs to find out how to use the schema:
- Allowed operations: queries
- Schema-defined types: scalars, objects, enums, interfaces, unions, and input objects.
Docs
🗃️ Enums
98 items
🗃️ Inputs
114 items
🗃️ Interfaces
5 items
🗃️ Objects
342 items
🗃️ Queries
109 items
🗃️ Scalars
13 items
🗃️ Subscriptions
1 items
🗃️ Unions
7 items