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