Open Source Infrastructure for Reliable, Cost-Efficient Hyperliquid API Access
This project provides a fast, reliable, and affordable proxy solution for Hyperliquid API calls using AWS infrastructure.Itโs fully open source โ transparent, customizable, and built for the community.
๐ก Why We Built This
Common Challenges in the Hyperliquid Ecosystem
Rate Limits โ Strict API limits slow down development and automation
Slow Public Proxies โ Brightdata, Oxylabs, and others can be sluggish
High Infra Costs โ Dedicated setups are often too expensive
โ Our Solution
We provide a Terraform-provisioned AWS edge proxy that:
Forwards specific requests to https://api.hyperliquid.xyz
Includes built-in health checks
Optimizes cost via on-demand + spot instances
Runs on a minimal Go reverse proxy for speed and reliability
Key Benefits
Transparent โ You can see exactly how it works
Community-Driven โ Open to improvements from everyone
No Vendor Lock-in โ Run it in your own AWS account
Customizable โ Adapt to your own needs
Educational โ Learn modern AWS + IaC patterns
๐ Tech Stack
| Infrastructure | Terraform |
| Compute | AWS EC2 (on-demand + spot) |
| Load Balancing | AWS ALB |
| CDN | AWS CloudFront |
| Container Registry | AWS ECR |
| Runtime | Go 1.24+ |
| Containerization | Docker (multi-stage builds) |
| Networking | AWS VPC, Public Subnets, IGW |
| Security | IAM Roles, Security Groups |
| Scaling | Auto Scaling Groups |
๐ฆ Architecture Overview
VPC with public subnets, internet access, and security groups
ALB in front of two Auto Scaling Groups (on-demand & spot)
CloudFront for global edge delivery (HTTP โ HTTPS redirect)
ECR for storing container images
EC2 user data to auto-install Docker and run the proxy
Go service exposing:
/health โ service status
/info & /exchange โ forwarded to Hyperliquid API