Skip to content

Glossary · Backend

What is GraphQL?

GraphQL is a query language and runtime for APIs in which the client asks for exactly the fields it needs, in one request, against a typed schema the server publishes. It usually runs over a single HTTP endpoint and returns JSON shaped like the query.

Source: GraphQL: Introduction

Why it matters

GraphQL shines when many clients (web, mobile, partners) need different slices of the same connected data, because each client shapes its own response.

It also moves complexity to the server: caching, authorisation per field and protecting against expensive queries all need deliberate work that REST gets more cheaply.

Example

// in practice

A mobile app requests { order(id: 123) { status items { name } } } and receives just the status and item names, nothing more.

Go deeper

Next step

Need this done properly?

Tell us what you are building. A senior engineer replies within one business day with specific, honest next steps.

First reply
Within 1 business day
Typical start
1–2 weeks
Pricing
Fixed price per phase
You own
All code and accounts