Dictionary term

GraphQL

Web/DevIntermediate

A query language for APIs that lets the client ask for exactly the data it needs in a single request, instead of fixed endpoints returning fixed shapes.

In plain English

A way of asking an API for exactly the pieces of data you want, in one request, instead of taking whatever a fixed address sends back.

Analogy

Like ordering only the exact pizza toppings you want instead of a set menu.

Why it matters

It can cut over-fetching and round-trips when integrating data-heavy services, an alternative to REST worth recognizing.

In practice

One GraphQL query fetches a contact's name and last order only — nothing extra.

Browse all terms →Last verified