GraphQL is a new way to think about building and querying APIs. Rather than construct several REST requests to pull data that you’re interested in, you can fetch all the information you need in a single call. GraphQL allows you specify exactly which fields you need, making data querying more flexible and efficient than traditional REST APIs.
Example request and response:
GraphQL is, above all, a querying language, and the format of the query you send matches the data you receive. The language has a schema that strongly ties the exchange between client and server.
We built GraphQL API to supplement our existing REST API, giving you more flexibility to get exactly the data you need.
Below is some optional reading material that might help you go deeper into the GraphQL ecosystem: