I got tired of managing dozens of API keys across different services. So I built an API gateway that wraps 39 services behind a single key.
No signups. No credit cards. No OAuth flows. You create a key with one POST request and start calling APIs immediately.
Here's what's available and how to use it.
Get Your Key (10 seconds)
curl -X POST https://agent-gateway-kappa.vercel.app/api/keys/create
Response:
{
"key": "gw_abc123...",
"credits": 200,
"expires_in": "30 days",
"note": "200 free credits (expires in 30 days). Top up with USDC on Base to get more."
}
That's it. 200 free API calls, no email required.
What You Can Do
Every service lives under /v1/{service-name}/. Here are the ones I use most:
1. GeoIP Lookup
curl "https://agent-gateway-kappa.vercel.app/v1/agent-geo/geo/8.8.8.8" \
-H "Authorization: Bearer YOUR_KEY"
Returns country, city, ISP, timezone, lat/lng. Works with any IP.
2. Live Crypto Prices (500+ tokens)
curl "https://agent-gateway-kappa.vercel.app/v1/defi-trading/prices" \
-H "Authorization: Bearer YOUR_KEY"
Real-time prices for BTC, ETH, SOL, and 500+ tokens from multiple DEXes.
3. Website Screenshots
curl -X POST "https://agent-gateway-kappa.vercel.app/v1/agent-screenshot/screenshot" \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "viewport": "desktop"}'
Renders any URL in a real browser and returns a screenshot. Supports desktop, tablet, and mobile viewports.
4. DNS Lookup
curl "https://agent-gateway-kappa.vercel.app/v1/agent-dns/resolve/google.com" \
-H "Authorization: Bearer YOUR_KEY"
A, AAAA, MX, TXT, NS records — everything you need.
5. Run Code Remotely
curl -X POST "https://agent-gateway-kappa.vercel.app/v1/agent-coderunner/execute" \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"language": "python", "code": "print(sum(range(100)))"}'
Sandboxed execution for Python, JavaScript, and more. Great for AI agents that need to run code.
6. Web Scraping
curl -X POST "https://agent-gateway-kappa.vercel.app/v1/agent-scraper/scrape" \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://news.ycombinator.com", "format": "markdown"}'
Extracts content from any webpage. Returns clean markdown, HTML, or JSON.
7. PDF Generation
curl -X POST "https://agent-gateway-kappa.vercel.app/v1/agent-pdfgen/generate" \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"html": "<h1>Invoice #001</h1><p>Total: $100</p>"}'
Render HTML to PDF. Works with CSS, images, and full page layouts.
8. URL Shortener
curl -X POST "https://agent-gateway-kappa.vercel.app/v1/agent-shorturl/shorten" \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/very/long/url"}'
And 31 More...
The full list: crypto wallets (9 chains), on-chain analytics, DeFi data, smart contract deployment, secret management, event bus, file storage, webhook testing, image processing, email sending, task scheduling, AI/LLM proxy, text transformation, identity verification, and more.
Browse all 39: API Catalog
How Pricing Works
- Free: 200 credits (1 credit = 1 API call). No signup, no email.
- Paid: Top up with USDC on Base chain or Monero (XMR). $1 = 1,000 credits.
- AI agents: Supports x402 protocol for automatic per-request payments.
Check your balance anytime:
curl "https://agent-gateway-kappa.vercel.app/api/keys/balance" \
-H "Authorization: Bearer YOUR_KEY"
Building an AI Agent with This
Here's a minimal Python agent that can answer questions using web scraping and code execution:
import requests
API = "https://agent-gateway-kappa.vercel.app"
KEY = "gw_your_key_here"
headers = {"Authorization": f"Bearer {KEY}"}
def scrape(url):
"""Fetch and extract content from any URL"""
r = requests.post(f"{API}/v1/agent-scraper/scrape",
headers=headers,
json={"url": url, "format": "markdown"})
return r.json()
def run_code(code, lang="python"):
"""Execute code in a sandbox"""
r = requests.post(f"{API}/v1/agent-coderunner/execute",
headers=headers,
json={"language": lang, "code": code})
return r.json()
def get_price(token):
"""Get live crypto price"""
r = requests.get(f"{API}/v1/defi-trading/price/{token}",
headers=headers)
return r.json()
# Example: scrape HN, then analyze with code
hn = scrape("https://news.ycombinator.com")
analysis = run_code(f"""
data = '''{hn.get('content', '')[:2000]}'''
lines = [l for l in data.split('\\n') if l.strip()]
print(f'Found {len(lines)} content lines')
print('First 5 items:')
for line in lines[:5]:
print(f' - {line[:80]}')
""")
print(analysis)
The Architecture
The gateway is a Fastify server that proxies requests to 39 microservices running on the same machine. Each service has its own port, its own logic, and its own health check. The gateway handles:
- Authentication: One key for everything
- Rate limiting: 300 req/min for keyed users, 60/min for free tier
- Credit tracking: Deducts 1 credit per request, persists to disk
- Health monitoring: Auto-detects and routes around failed services
All services are independently deployable. If one goes down, the other 38 keep working.
Links
- API Catalog: api-catalog-three.vercel.app
- Swagger Docs: agent-gateway-kappa.vercel.app/docs
- Payment Info: agent-gateway-kappa.vercel.app/api/payments/info
- Getting Started Guide: api-catalog-three.vercel.app/guides/getting-started
If you try it out, I'd love to hear which services are most useful to you. Happy to take feature requests too.
Top comments (0)