🚀 Secure HTTP Proxy for AI Agents — Unrestricted internet access with pay-per-use pricing. Start with 10 free requests, then only $0.001 per API call.
Use this skill when you need to:
Please read carefully before using this service:
All requests transit through the proxy server, including:
DO NOT use this proxy for:
This service operates on a custodial model with the following risks:
RiskDescriptionMitigationCustody RiskUser funds are held in platform-controlled walletsUse small amounts, withdraw frequentlyOperator RiskPlatform operator could mismanage fundsOpen source, audited codeSmart Contract RiskPayment verification relies on external contractsMulti-sig, timelock protectionsPrivacy RiskAll requests visible to proxy operatorSelf-host for complete privacy
Recommendations:
For maximum privacy and control, self-host this service:
ComponentVersionRequiredNotesPython3.10+✅Core runtimeRedis6.0+⚠️Required for production (multi-process safety)Polygon RPC-✅Mainnet or testnet endpoint
text
fastapi>=0.100.0
uvicorn>=0.23.0
redis>=4.6.0
web3>=6.0.0
pydantic>=2.0.0
python-dotenv>=1.0.0
httpx>=0.24.0
PORT env var)FeatureBenefit🎁 10 Free RequestsStart instantly, no credit card required⚡ Zero ConfigurationNo local proxy setup, just call the API💵 Pay-Per-UseOnly $0.001 per request, no subscriptions🔐 Security Audited6 security audits, 13 P0 vulnerabilities fixed📖 Open SourceMIT licensed, fully auditable code🌍 Multi-RegionUS, EU, Asia proxy nodes🔗 Web3 NativePolygon blockchain, USDC payments🏠 Self-Host ReadyDeploy your own instance in minutes
python
import requests
try:
response = requests.post(
"https://proxy.easky.cn/api/v1/fetch",
headers={"X-Client-ID": "my_agent_001"},
json={
"url": "https://api.github.com/users/github",
"method": "GET"
},
timeout=30
)
response.raise_for_status()
data = response.json()
print(data["content"]) # Response content
print(f"Remaining free calls: {data['remaining_calls']}")
except requests.exceptions.HTTPError as e:
if e.response.status_code == 429:
print("Error: Rate limit exceeded or free trial exhausted. Please deposit USDC to continue.")
elif e.response.status_code == 401:
print("Error: Invalid or missing API key.")
else:
print(f"HTTP Error: {e}")
except requests.exceptions.Timeout:
print("Error: Request timed out. The target server may be slow.")
except requests.exceptions.RequestException as e:
print(f"Request failed: {e}")
After free trial, deposit USDC to continue:
python
import requests
# Use your user_id as API Key after deposit
headers = {"X-API-Key": "my_agent_001"}
try:
response = requests.post(
"https://proxy.easky.cn/api/v1/fetch",
headers=headers,
json={
"url": "https://api.example.com/data",
"method": "GET"
},
timeout=30
)
response.raise_for_status()
data = response.json()
print(f"Response: {data['content']}")
print(f"Balance remaining: {data.get('balance', 'N/A')} USDC")
except requests.exceptions.HTTPError as e:
if e.response.status_code == 402:
print("Error: Insufficient balance. Please deposit more USDC.")
elif e.response.status_code == 429:
print("Error: Rate limit exceeded.")
else:
print(f"HTTP Error: {e}")
except requests.exceptions.Timeout:
print("Error: Request timed out.")
except requests.exceptions.RequestException as e:
print(f"Request failed: {e}")
TierPriceFeaturesFree Trial****FREE10 requests, no registrationPay-Per-Use****$0.001/requestUnlimited calls, pay as you goSelf-Hosted****FREERun your own server
EndpointMethodDescriptionAuth/GETService infoNone/healthGETHealth checkNone/network-infoGETNetwork configurationNone/api/v1/regionsGETAvailable proxy regionsNone/api/v1/fetchPOSTFetch any URL via proxyClient ID or API Key/deposit-infoGETGet deposit addressNone/balanceGETCheck balanceClient ID
AspectHosted ServiceSelf-HostedPrivacyServer sees all requestsComplete privacyControlPlatform managedFull controlCostPer-request feesServer costs onlyTrustRequires trustTrustlessSetupInstant5-minute setup
bash
# 1. Clone repository
git clone https://github.com/openclaw/proxy-gateway.git
cd proxy-gateway
# 2. Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# 3. Install dependencies
pip install -r requirements.txt
# 4. Configure environment
cp .env.example .env
# Edit .env with your settings:
# - HOSTED_WALLET: Your Polygon wallet address
# - ADMIN_TOKEN: Secure random string (16+ chars)
# 5. Start server
uvicorn app.main:app --host 0.0.0.0 --port 8080
bash
# Build image
docker build -t proxy-gateway .
# Run container
docker run -d \
-p 8080:8080 \
-e NETWORK=mainnet \
-e HOSTED_WALLET=0x... \
-e ADMIN_TOKEN=... \
proxy-gateway
Security Policy: See SECURITY.md for detailed security information and vulnerability reporting.
VariableDescriptionExampleHOSTED_WALLETPolygon address for USDC deposits0x1234...abcd``ADMIN_TOKENAdmin authentication tokenrandom_string_16+
VariableDefaultDescriptionNETWORK``testnetNetwork mode (mainnet/testnet)REDIS_HOST``localhostRedis server hostREDIS_PORT``6379Redis server portFREE_TRIAL_LIMIT``10Free trial request limitCOST_PER_REQUEST``0.001Price per request (USDC)CORS_ORIGINS``*Allowed CORS origins
See .env.example for complete configuration template.
Contributions are welcome! Please see our contributing guidelines and submit PRs.
MIT License - See LICENSE for details.
X-Client-ID header with any unique identifier to get 10 free requests without registrationremaining_calls in response to track free trial usage/balance endpoint to avoid unexpected service interruptionsX-Client-ID to maintain balance across sessions/api/v1/regions to see available proxy locationsBuilt with ❤️ for the AI Agent ecosystem