AWS does not actually ignore API Gateway HTTP; it fully supports and actively promotes it. The confusion arises because AWS positions API Gateway HTTP as a simpler, cheaper alternative to REST API, but its documentation, pricing pages, and feature announcements often lead with REST API, making HTTP seem like an afterthought. This article explains why that perception exists, what HTTP API actually offers, and how to decide which one you need.
Background: How API Gateway Evolved
Amazon API Gateway launched in 2015 with a single product: the REST API. It quickly became the standard way to expose AWS Lambda functions and other backend services as HTTP endpoints. In 2019, AWS introduced a second type, called HTTP API, designed to be faster, cheaper, and simpler for common use cases. The REST API remained the default choice in the AWS Management Console and in most tutorials, partly because it had more features and a longer track record.
Since then, AWS has been gradually adding features to HTTP API (like private integrations and custom domains) but still recommends REST API for advanced scenarios. This creates the impression that HTTP API is a second-class citizen, even though AWS explicitly states that HTTP API is the recommended choice for most new applications that don't need REST-specific features.
How HTTP API and REST API Differ
The core difference is in scope and pricing. HTTP API is a lightweight, purpose-built service for HTTP-based APIs. It supports Lambda and HTTP backends, has built-in CORS, and charges per request at a lower rate. REST API, on the other hand, is a full-featured API management platform that includes:
- API keys and usage plans
- Custom authorizers (Lambda, Cognito, IAM, JWT)
- Request/response transformation with VTL (Velocity Template Language)
- Canary deployments and stage variables
- WAF integration (Web Application Firewall)
- Throttling and quota management
HTTP API offers a subset: JWT authorizers, Lambda and HTTP integrations, CORS, and basic throttling. It does not support VTL transformation or API keys. For many modern applications, that subset is enough, and the lower cost and lower latency are attractive.
Why the “Ignored” Feeling Persists
Several practical reasons explain why HTTP API seems overlooked:
- Console defaults: When you create a new API in the AWS Console, the first option is “REST API” (or “REST API private”). HTTP API is listed second, which nudges users toward REST.
- Documentation bias: The official API Gateway documentation has far more pages dedicated to REST API, including detailed guides for every feature. HTTP API documentation is thinner and sometimes references REST API for advanced topics.
- Third-party tutorials: Most blog posts, courses, and books predate HTTP API or focus on REST API because it was the only option for years. This creates a feedback loop where new developers learn REST first.
- Feature gaps: Some features that users expect (like API keys) are only in REST API. When a user discovers that, they switch back, reinforcing the idea that HTTP API is incomplete.
- Naming: “HTTP API” sounds generic, while “REST API” sounds more professional. Many developers assume REST is inherently better, even if they don't need its extra features.
How to Choose: HTTP API vs REST API
The decision is straightforward if you know your requirements. Choose HTTP API if:
- You only need to expose Lambda functions or HTTP endpoints.
- You don't need API keys, usage plans, or VTL transformations.
- You want lower cost and lower latency.
- You are building a new application with no legacy requirements.
Choose REST API if:
- You need API keys and usage plans for monetization or client tracking.
- You need to transform requests/responses with VTL (e.g., to convert XML to JSON).
- You need canary deployments or stage variables.
- You need WAF integration for advanced security.
For most serverless APIs, HTTP API is the better default. AWS’s own guidance says that if you don't need REST-specific features, you should use HTTP API. The “ignored” feeling is mostly a documentation and perception issue, not a technical one.
Common Problems and Misconceptions
One common misconception is that HTTP API doesn't support custom domains. It does—you can configure a custom domain with an ACM certificate, just like REST API. Another is that HTTP API can't handle WebSocket connections; actually, API Gateway has a separate WebSocket API type, and HTTP API is not meant for that.
A real limitation is that HTTP API does not support AWS WAF directly. If you need WAF, you must put a CloudFront distribution in front of your HTTP API, which adds cost and complexity. Also, HTTP API does not support integration with AWS X-Ray for tracing, though you can add X-Ray in your Lambda function itself.
Another issue is that HTTP API does not allow you to define gateway responses (like custom error messages) as flexibly as REST API. For most cases, the default responses are fine, but if you need fine-grained control, REST API is required.
Finally, some users are confused by the fact that HTTP API does not have a “Deploy API” button in the console. Instead, you create a stage and deploy automatically. This is different from REST API’s manual deployment model, but it’s not a limitation—it’s just a different workflow.
Cost and Performance Comparison
Pricing is a major reason to consider HTTP API. As of this writing, HTTP API costs $1.00 per million requests, while REST API costs $3.50 per million requests (in us-east-1, with no cache or data transfer). That’s a 71% reduction. Additionally, HTTP API has lower latency because it skips some of the request/response processing that REST performs.
For a small application with 10 million requests per month, the difference is $25 per month for HTTP vs $35 for REST—not huge, but for high-traffic APIs it adds up. Also, HTTP API does not charge for cache memory unless you enable caching (which is not available in HTTP API anyway).
Performance-wise, AWS states that HTTP API is designed for lower latency, but the exact numbers vary by workload. In practice, the difference is often a few milliseconds, which matters for high-frequency calls but is negligible for most user-facing APIs.
Alternatives to API Gateway
If API Gateway doesn’t fit your needs, consider these alternatives:
- Application Load Balancer (ALB): Can invoke Lambda functions via target groups. Good for VPC-based architectures, but lacks API management features like throttling or authorizers.
- CloudFront + Lambda@Edge: Good for global content delivery, but not a full API gateway.
- Third-party gateways: Kong, Tyk, or NGINX can be self-hosted, but you manage the infrastructure.
- EventBridge API Destinations: For event-driven APIs, but not a request/response gateway.
For most serverless use cases, API Gateway (either type) remains the most integrated and easiest option.
Frequently Asked Questions
Does AWS plan to deprecate REST API?
No, AWS has not announced any deprecation of REST API. It remains a fully supported service with active development. The existence of HTTP API is an addition, not a replacement.
Can I migrate from REST API to HTTP API?
Yes, but there is no automatic migration tool. You would need to recreate your API as HTTP API, update your client code if you used features like API keys, and test thoroughly. For simple APIs, it’s straightforward; for complex ones, it may be risky.
Does HTTP API support custom domains and SSL?
Yes, HTTP API supports custom domains with AWS Certificate Manager (ACM) and automatic HTTPS. You configure a domain name and map it to your API stage.
Why does the console show REST API first?
AWS likely keeps REST API as the default because it has more features and is the safer choice for users who don’t know what they need. It’s a marketing and UX decision, not a technical one.
Is HTTP API really faster than REST API?
In general, yes, because HTTP API has a simpler request path. However, the difference is often small (a few milliseconds) and may not be noticeable in most applications. For high-throughput systems, the cost savings are more significant than latency.