What is the difference between a REST API and an RPC-style API?

Last updated 29 June 2026

  • REST models resources (nouns) acted on with HTTP verbs (e.g. DELETE /users/123). RPC exposes named procedures you call (e.g. POST /deleteUser).

  • REST uses methods and status codes semantically, enabling idempotency and caching. RPC often tunnels everything through POST, using HTTP only as transport.

  • REST suits CRUD and cacheable resources. RPC (e.g. gRPC) suits action-centric operations like transfer or sendEmail.

  • https://aws.amazon.com/compare/the-difference-between-rpc-and-rest/
  • https://aws.amazon.com/compare/
  • https://blog.postman.com/grpc-vs-rest/
  • https://martinfowler.com/articles/richardsonMaturityModel.html
  • https://dev.to/dhanush___b/rpc-vs-rest-a-comparative-analysis-for-advanced-systems-architecture-2d8d
  • https://www.geeksforgeeks.org/system-design/difference-between-rest-api-and-rpc-api/
  • https://www.geeksforgeeks.org/category/system-design/page/68/
  • https://medium.com/@kumud.sharma.0206/rest-vs-rpc-choosing-the-right-architecture-for-your-apis-560019633137
All REST API interview questions