DEV Community

Discussion on: Is GraphQL the future of APIs?

byrro profile image
Renato Byrro

Some of the mains benefits are:

  • reducing the number of times you need to hit an API endpoint
  • ability to request only the data you need

The GitHub Graph API is a great example of these two benefits. I strongly recommend reading their announcement post.

bolt04 profile image
David Pereira

I think a RESTful API can also reduce the number of API calls in some scenarios. It's not just GraphQL that enables that imo