Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Sky's The Limit - Cloud9 x JetBrains Hackathon

How do I use the Series State API?

Article 3619413, Status: VALIDATED

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Client Help
  • Sky's The Limit - Cloud9 x JetBrains Hackathon
+ More

Table of Contents

❓Issue/Question 💻Environment/Context 👌Resolution/Answer

❓Issue/Question

  • How do I use the Series State API?

💻Environment/Context

  • Sky's The Limit - Cloud9 x JetBrains Hackathon

👌Resolution/Answer

  • Full Series State Documentation is available here and the API reference here
  • Central Data is available using https://api-op.grid.gg/live-data-feed/series-state/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:

  1. Input the URL into the tool you are using
  2. Input your API key into the headers section. The API uses x-api-key authentication
    1. Usually the tool will already automatically pull the API documentation from the server
  3. Compile a query and pass it to the request 
    query SeriesState {
        seriesState(id: "2692648") {
            id
            started
            finished
            teams{
                id
                name
                won
            }
            games {
                teams{
                    id
                    players{
                        id
                        name
                        kills
                        deaths
    
                    }
                }
            }
        }
    }
  4. Run the request to get the data

 


 

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How do I use the Central Data API?
Privacy Policy
Esports Players Privacy Notice
Imprint
Careers
GRID® 2022 | All Rights Reserved
Expand