Published on

AWS API Gateway - REST API vs. HTTP API

Authors
  • avatar
    Name
    Gene Zhang
    Twitter

Overview

REST APIs support more features than HTTP APIs, while HTTP APIs are designed with minimal features so that they can be offered at a lower price and have a lower latency.

Video: What’s the Difference Between AWS REST API & HTTP API?

functionpricespeed
HTTP API
REST API

Functionality

Choose REST APIs if you need features such as:

  • API keys
  • Per-client throttling
  • Request validation
  • AWS WAF integration
  • API endpoints

Cost

HTTP APIs is at least 71% lower cost compared to API Gateway REST APIs.

Speed

HTTP APIs offers up to 60% reduction in latency.

Speed Difference