GraphQL provides a complete and comprehensive description of the data in your API while giving you the power to ask for exactly what you need, and nothing more.
Why use GraphQL?
GraphQL isn’t tied to any language or framework and can be used in different languages to match your varying needs.
Declarative user interfaces
Your UI code makes perfect sense because you get exactly what you ask for; no more, no less. Which means no more unnecessary requests.
GraphQL removes the need to see what type any value is. When you say something is a number, it must be a number, so you won't get any unexpected errors.