Documentation

Reference

GraphQL

We expose GraphQL APIs to partners, because it allows clients to make declarative and performant requests for the data they need, and also comes with tooling like code generation, all of which speeds up and simplifies application development for our partners

Some of the benefits mentioned by GraphQL:

Ask for what you need, get exactly that, nothing more and nothing less. GraphQL queries always return predictable results. Apps using GraphQL are fast and stable because they control the data they get, not the server.

Get many resources in a single request. GraphQL queries access not just the properties of one resource but also smoothly follow references between them. While typical REST APIs require loading from multiple URLs, GraphQL APIs get all the data your app needs in a single request. Apps using GraphQL can be quick even on slow mobile network connections.

Describe what’s possible with a type system. GraphQL APIs are organized in terms of types and fields, not endpoints. Access the full capabilities of your data from a single endpoint. GraphQL uses types to ensure Apps only ask for what’s possible and provide clear and helpful errors. Apps can use types to avoid writing manual parsing code. Read more.

GraphQL also provides clients for a range of programming languages to simplify your integration experience.  Tools are also available to assist with type generation and exploring schemas.

Start exploring our GraphQL API.