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