What is GraphQL?

DefinitionGraphQL is an open-source query language and runtime for APIs that lets clients request exactly the data they need from a server in a single request, using a schema that describes the available data.

Facebook developed GraphQL internally in 2012 for its mobile apps and released it publicly in 2015. In 2018, the project moved to the GraphQL Foundation, hosted by the Linux Foundation. A GraphQL server publishes a typed schema, and clients send queries that mirror the shape of the JSON response they want, which can combine data from several sources.

Compared with REST APIs, which usually expose many fixed endpoints, GraphQL typically uses a single endpoint and helps clients avoid fetching too much or too little data. That flexibility suits complex front ends and mobile apps, and companies such as GitHub and Shopify offer GraphQL APIs. The trade-offs include more complex caching and the need to protect servers from very expensive queries.

GraphQL resources

Topic: Web development

Cite this definition
APA

What is GraphQL? (2026, November 22). Glossary. https://glossary.io/graphql/

MLA

“What Is GraphQL?” Glossary, Coywolf, 22 Nov. 2026, glossary.io/graphql/.

Chicago

“What Is GraphQL?” Glossary. Coywolf. November 22, 2026. https://glossary.io/graphql/.

HTML link
<a href="https://glossary.io/graphql/">What is GraphQL?</a>

Published