How do I use the Central Data API?
Article 3619397, Status: VALIDATED
Table of Contents
❓Issue/Question
- How do I use the Central Data API?
💻Environment/Context
- Sky's The Limit - Cloud9 x JetBrains Hackathon
👌Resolution/Answer
- Full Central Data Documentation is available here and the API reference here
- Central Data is available using
https://api-op.grid.gg/central-data/graphql - You can test it out using our GQL Playground or other API testing tools such as Postman, Insomnia, Bruno and others
Quick how-to:
- Input the URL into the tool you are using
- Input your API key into the headers section. The API uses
x-api-keyauthentication- Usually the tool will already automatically pull the API documentation from the server
- Compile a query and pass it to the request
query Series { series(id: "2692648") { startTimeScheduled teams { baseInfo { id name logoUrl } } tournament { id name } title { nameShortened id } } } - Run the request to get the data