Choose REST for public, cacheable, resource-oriented APIs with diverse and unknown consumers; choose RPC (gRPC or similar) for internal, performance-sensitive service-to-service calls with a shared team and schema; choose GraphQL when one client needs to aggregate many resources in unpredictable shapes, like a mobile app. Most platforms end up running all three at once.

Quick answer: Pick REST for public, cacheable, resource-shaped APIs; RPC (gRPC) for internal service-to-service calls where speed and strict contracts matter; and GraphQL for client-driven aggregation across many resources. Score your surface on consumer diversity, over-fetching pain, real-time needs, and caching value, then let the strongest signal decide.

Why the REST vs RPC vs GraphQL Debate Is the Wrong Fight

The debate is unproductive because REST, RPC, and GraphQL solve different problems: resource addressability, procedure-call efficiency, and client-driven query flexibility. Treating them as competing religions instead of tools matched to a job produces APIs optimized for whichever argument won the room, not for the consumers actually calling them.

Each paradigm was built to answer a specific pain, not to be a universal default.

  • REST formalizes the idea that a distributed system should expose resources (nouns) manipulated through a small, uniform set of verbs (GET, POST, PUT, DELETE), leaning on HTTP's existing caching and statelessness semantics. Roy Fielding's 2000 doctoral dissertation, which coined the term, describes REST as a set of architectural constraints, not a wire format — most APIs that call themselves "RESTful" today are really "JSON over HTTP" (Fielding's own later writing called this out explicitly).
  • RPC frameworks like gRPC treat an API as a set of remote procedures with strict, code-generated contracts (Protocol Buffers), optimized for low latency and internal trust boundaries. gRPC originated at Google and is now a CNCF-graduated project, which tells you where its design center is: high-throughput service meshes, not public developer relations.
  • GraphQL inverts control to the client: instead of the server deciding what shape a response takes, the client specifies exactly which fields it needs in one round trip. It was built inside Facebook starting in 2012 to fix mobile News Feed performance and open-sourced in 2015; it's now stewarded by the GraphQL Foundation under the Linux Foundation.

None of these facts settle an argument about which is "best" — they only explain what each was optimized for. As we cover in our complete guide to API product design, the job of a platform PM isn't to crown a winner. It's to match the paradigm to the consumer, the query pattern, and the team's operating maturity.

Postman's annual State of the API Report has consistently found that REST remains the most widely used style by a wide margin. A majority of organizations also report running more than one style concurrently — evidence that "pick one forever" was never really how this works in practice.

The Decision Tree: Four Signals That Should Actually Decide

Score your candidate API surface on four signals — consumer diversity, over-fetching/under-fetching pain, real-time requirements, and the value of HTTP-level caching — and let the strongest signal point you toward REST, RPC, or GraphQL. No single signal is decisive alone; it's the pattern across all four that matters.

Here's how the three paradigms stack up against each signal in practice:

DimensionRESTRPC (gRPC)GraphQL
Best-fit consumersBroad, unknown, third-party developersSmall, known set of internal servicesOne first-party client (web/mobile) aggregating many resources
Over/under-fetchingCommon at scale — fixed response shapesNot applicable — each call returns exactly what's askedSolved by design — client specifies fields
Real-time / streamingBolt-on (webhooks, long-polling)Native (bidirectional streaming over HTTP/2)Bolt-on (subscriptions, often over WebSockets)
HTTP cachingNative — verbs plus cache headers, CDN-friendlyEffectively none — single channel, not cache-friendlyWeak — one endpoint, caching needs custom work
Contract strictnessLoose by default (OpenAPI is opt-in)Strict — Protobuf schema, generated clientsStrict — SDL schema, but per-query shape still varies
Public-API friendlinessHigh — decades of tooling, docs, client librariesLow — assumes trusted, homogeneous clientsMedium — growing tooling, steeper onboarding curve

A table like this is a starting point, not a verdict — read it alongside the signal-by-signal breakdown below, because the right answer for your surface depends on which row actually hurts today.

Signal 1: Consumer diversity

Direct answer: the more heterogeneous and less controllable your consumer base, the harder REST's ubiquity and low onboarding cost are to beat, since third-party developers can't be forced onto a bespoke schema language or SDK. A small, known set of internal teams can absorb a stricter contract in exchange for speed and safety.

Before picking a paradigm, it helps to be precise about who is actually calling this API and what job they're hiring it to do — the same discipline as the Jobs to Be Done framework applied to a technical consumer instead of an end user. A public integrations marketplace, a single mobile client, and an internal billing service are three different jobs wearing the same word, "consumer."

Signal 2: Over-fetching and under-fetching pain

Direct answer: if clients routinely pull down fields they don't use, or make several chained calls to assemble one screen (the classic N+1 pattern), that's GraphQL's core use case. If every call already returns exactly the shape a client needs, over-fetching isn't a real problem, and REST or RPC's simplicity wins by default.

  • Symptom of the pain: a mobile team complaining that a single screen requires 4-6 sequential REST calls before it can render.
  • Symptom of the pain, inverted: a public API returning a 40-field resource when integrators use three of them, wasting bandwidth on constrained connections.
  • Non-symptom: an internal service that always needs the full payload it requests — there's no fetching problem to solve.

Signal 3: Real-time and streaming needs

Direct answer: if your surface needs server push, bidirectional streaming, or sustained low-latency exchange (chat, telemetry, live bidding), gRPC's native HTTP/2 streaming is purpose-built for it, while REST and GraphQL both bolt real-time behavior on top of a request/response model. Genuine streaming needs are a strong pull toward RPC even when other signals point elsewhere.

Subscriptions in GraphQL and webhooks in REST both work, but they're additions to the model, not the model itself — and both add operational surface area (connection management, retry semantics, delivery guarantees) that a native streaming RPC channel handles closer to the transport layer.

Signal 4: Caching value

Direct answer: REST's alignment with HTTP verbs means a GET /orders/123 can be cached at the browser, CDN, or reverse-proxy layer for free, which matters enormously for public, high-traffic, read-heavy surfaces. GraphQL's single-endpoint, POST-heavy convention and RPC's binary channel both give up that free caching tier by default.

If your traffic pattern is read-heavy and cache hit rates would meaningfully cut origin load, that's a REST-favoring signal on its own — caching infrastructure (CDNs, edge caches, reverse proxies like Varnish or Cloudflare's cache) already understands HTTP semantics natively.

Three Scenarios, Three Different Right Answers

Each of these three common platform-PM scenarios points to a different paradigm — REST, RPC, or GraphQL — for defensible, signal-driven reasons, not tribal preference: a public partner API, an internal service-to-service call, and a mobile app dashboard. Matching the paradigm to the scenario, not the other way around, is the actual skill here.

Scenario 1: A public REST API for third-party developers

A payments or logistics company opens an API so partners can build integrations. Consumers are numerous, unknown in advance, and range from hobbyists to enterprise integration teams — the textbook high-diversity signal. Caching matters because read-heavy endpoints (status lookups, catalog reads) will be hit constantly by integrators you'll never talk to directly.

REST wins here on all four signals at once: broad, unknown consumers; no meaningful over-fetching pain once resources are modeled well; real-time needs handled adequately by webhooks; and strong caching value at the CDN layer. The real work is resource design.

As covered in our piece on modeling API resources as nouns, not verbs, the quality of a public REST API lives or dies on whether /shipments/{id}/events reads as a resource hierarchy a stranger can guess. And because you can't coordinate a breaking change across every third-party integrator the way you can with an internal team, get comfortable early with a deliberate approach to API versioning without breaking existing integrations — it's cheaper to design for up front than to retrofit once partners are live.

Scenario 2: An internal microservice-to-microservice RPC call

An order-processing service needs to call an inventory-reservation service dozens of times per second, inside the same trust boundary, owned by teams who can coordinate a schema change over one sprint. Consumer diversity is effectively zero — there's exactly one caller, one team on the other end, and both can deploy in lockstep.

gRPC is the strong default here: Protobuf gives both sides a generated, statically typed client with none of the "is this field a string or a number" ambiguity a loosely specified REST payload can carry. HTTP/2 multiplexing and binary framing shave real latency off high-volume internal traffic, and native streaming covers cases like a live inventory feed without inventing a webhook system. The tradeoff — losing HTTP-native caching and readability in a browser devtools tab — barely registers, because no browser or CDN sits between these two services anyway.

Scenario 3: A mobile app aggregating data with GraphQL

A single mobile app needs to render a dashboard combining a user profile, three recent orders, a notification count, and a recommendation list — five backend resources today, likely six next quarter. Consumer diversity is low (one client, one team), but over-fetching and under-fetching pain is high: a REST approach means either one oversized endpoint or five chained calls, both bad on a mobile network.

GraphQL's client-specified query shape solves exactly this: the mobile client asks for the fields it needs across all five resources in one round trip. Adding a sixth resource next quarter means extending the schema, not shipping a new endpoint and a new client SDK release.

This scenario also rewards thinking through the customer journey and its emotional highs and lows — a dashboard screen sitting at a moment of app-open impatience is exactly where shaving round trips and perceived load time earns its keep. The cost is real too: resolver fan-out can quietly recreate the N+1 problem server-side if you're not disciplined about batching (DataLoader-style patterns). A flexible query language is also a bigger attack surface to rate-limit and monitor than a fixed set of REST endpoints.

Laid side by side, the same four signals from the decision tree explain all three verdicts at once:

ScenarioConsumer diversityOver-fetching painReal-time needCaching valueParadigm that wins
Public partner APIHighLow, if modeled wellLow-mediumHighREST
Internal service-to-service callVery lowNot applicableMedium-highLowRPC (gRPC)
Mobile app dashboardLowHighLow-mediumLowGraphQL

No scenario wins on every signal — each wins on the two or three that matter most for its consumer. That's the actual mechanism behind "match the paradigm to the job," not a slogan.

When Hybrid Is the Right Architecture, Not a Compromise

Most platforms past a certain size run more than one paradigm at once, and that's not indecision — it's matching each surface to its own consumer. A public REST perimeter, an internal gRPC mesh, and a GraphQL aggregation layer in front of both is a completely normal, defensible architecture, not a sign nobody could commit to a choice.

This pattern is well documented in practice, not theoretical:

  1. Netflix has publicly written about layering a federated GraphQL API in front of hundreds of internal microservices, many of which communicate with each other over gRPC and REST — the GraphQL layer exists specifically to give client teams one coherent query surface over a genuinely heterogeneous backend (Netflix Technology Blog, 2022).
  2. Shopify runs a REST Admin API and a GraphQL Admin API side by side for the same platform, with its own public documentation guiding partners on when to reach for which — and has been migrating default recommendations toward GraphQL for new integrations without deprecating REST outright.
  3. Many API-heavy organizations use gRPC exclusively behind the firewall for service-to-service calls while exposing REST or GraphQL only at the edge, because internal and external consumers simply have different needs by definition.

The tell that hybrid is the right call, not scope creep, is whether each paradigm maps to a distinct consumer group with a distinct signal profile — not whether it lets every team use their favorite tool.

The failure mode isn't running three paradigms — it's running three paradigms for the same consumer group because three different engineers had three different preferences, which multiplies documentation, client libraries, and support burden for no signal-driven reason.

From Framework to Contract: Turning Your Choice into Endpoints

Direct answer: once you've picked a paradigm using the four signals above, the next job is turning that decision into a concrete, reviewable contract — actual endpoints, request/response shapes, and error semantics — before a single line of backend code gets written. This is squarely a PM responsibility, not something to leave implicit until engineering discovers the gaps during implementation.

As we've argued in why specifying the API contract is a PM's job, a decision tree only pays off if it produces something engineering can actually build against. A verdict of "REST" or "GraphQL" written in a doc is not yet a contract; a contract is the specific resource paths, field names, and status codes a client can code against without guessing.

This is where Prodinja's API Designing tool is meant to help: once you've settled on REST, RPC, or GraphQL for a given surface, it lets you draft the concrete endpoints and see the curl-level contract each choice implies, so the paradigm decision and the actual interface design happen in the same workspace instead of a whiteboard debate followed by a surprise three weeks later.

Key Takeaways

  • REST, RPC, and GraphQL solve different problems — resource addressability, procedure-call speed, and client-driven aggregation — so "which is best" is the wrong question; "best for this consumer" is the right one.
  • Score four signals before choosing: consumer diversity, over-fetching/under-fetching pain, real-time needs, and HTTP caching value — the pattern across all four points to a paradigm, no single signal decides alone.
  • Public, high-diversity, cache-sensitive surfaces favor REST; internal, low-diversity, latency-sensitive service calls favor gRPC; single-client, aggregation-heavy surfaces favor GraphQL.
  • Most platforms end up hybrid — REST at the public perimeter, gRPC internally, GraphQL as an aggregation layer — and that's an architecture choice, not an indecision problem, as long as each paradigm maps to a genuinely distinct consumer.
  • The paradigm choice is only step one. The real deliverable is a concrete contract — endpoints, payload shapes, error semantics, versioning strategy — that engineering can build against without guessing.
  • Revisit the decision as consumers change. A surface built for one internal caller can outgrow REST's simplicity, and a public API that never had real-time needs can suddenly acquire them — the four signals aren't a one-time test.

Frequently Asked Questions

Is GraphQL better than REST for a public API?

Not inherently — it depends on your consumer diversity and caching needs, not a general quality ranking. GraphQL suits a public API mainly when your integrators face real over-fetching pain across many resource types; if your public consumers are broad, unknown, and read-heavy, REST's native HTTP caching usually wins on operating cost and simplicity.

When should I use gRPC instead of REST for internal services?

Use gRPC when internal services are owned by teams that can coordinate schema changes together, latency matters at scale, and you don't need browser or CDN-level caching. It's a weaker choice when the consuming team is external, unknown, or needs to debug calls with a browser and no generated client.

Can REST and GraphQL coexist in the same platform?

Yes — running a REST API for broad or public consumption alongside a GraphQL layer for a specific aggregation-heavy client (commonly a mobile app or a backend-for-frontend layer) is a well-established, hybrid pattern. The key is that each paradigm should map to a distinct consumer group with a distinct signal profile, not duplicate the same audience for stylistic reasons.

Does GraphQL replace the need for API versioning?

No — GraphQL changes how you evolve a schema (additive fields, deprecation directives) but doesn't remove the underlying need to manage breaking changes carefully for existing clients. The same discipline that governs REST API versioning without breaking integrations still applies conceptually: never remove or repurpose a field a client already depends on without a deliberate deprecation window.

What's the simplest way to decide between REST, RPC, and GraphQL?

Score your surface on four signals — who's consuming it, whether over-fetching is a real pain, whether you need real-time streaming, and whether HTTP caching would meaningfully help — and let the strongest signal point to a paradigm. If two or three signals conflict, that's often a sign you actually need a hybrid architecture rather than a single winner.