Frostbyte API

March 5, 2026 ยท View on GitHub

40+ APIs with one key. IP geolocation, crypto prices, DNS lookup, web scraping, screenshots, AI agent tools, wallets, and more.

# Get your free API key (200 credits, no signup)
curl -X POST https://agent-gateway-kappa.vercel.app/api/keys/create

# Use any of 40+ services
curl https://agent-gateway-kappa.vercel.app/v1/agent-geo/geo/8.8.8.8 \
  -H "Authorization: Bearer gw_your_key"

Public API (No Key Required)

Get your IP address or look up any IP โ€” no signup, no API key:

# Your IP as plain text
curl https://agent-gateway-kappa.vercel.app/ip

# Your IP with geolocation (JSON)
curl https://agent-gateway-kappa.vercel.app/ip/json

# Look up any IP
curl https://agent-gateway-kappa.vercel.app/ip/geo/8.8.8.8

For batch lookups, distance calculations, and 40+ more APIs, get a free API key below.

Quick Start

JavaScript / TypeScript

npm install github:OzorOwn/frostbyte-api
import { Frostbyte } from 'frostbyte-api';

const fb = new Frostbyte('gw_your_key');

// IP Geolocation
const geo = await fb.geo.lookup('8.8.8.8');
console.log(geo.city, geo.country); // Mountain View, US

// Crypto Prices
const btc = await fb.crypto.price('BTC');
console.log(`BTC: $${btc.price}`);

// Take a Screenshot
const screenshot = await fb.screenshot.capture('https://github.com');
// Returns PNG buffer

// DNS Lookup
const dns = await fb.dns.resolve('github.com');
console.log(dns.records);

Python

pip install git+https://github.com/OzorOwn/frostbyte-api.git
from frostbyte import Frostbyte

fb = Frostbyte('gw_your_key')

# IP Geolocation
geo = fb.geo.lookup('8.8.8.8')
print(geo['city'], geo['country'])  # Mountain View, US

# Crypto Prices
btc = fb.crypto.price('BTC')
print(f"BTC: ${btc['price']}")

# Web Scraping
page = fb.scraper.scrape('https://example.com')
print(page['title'])

cURL

# Create a free API key
curl -X POST https://agent-gateway-kappa.vercel.app/api/keys/create
# Returns: {"key": "gw_abc123...", "credits": 200}

# IP Geolocation
curl https://agent-gateway-kappa.vercel.app/v1/agent-geo/geo/8.8.8.8 \
  -H "Authorization: Bearer gw_abc123"

# Crypto Prices
curl https://agent-gateway-kappa.vercel.app/v1/crypto-feeds/prices \
  -H "Authorization: Bearer gw_abc123"

# DNS Lookup
curl https://agent-gateway-kappa.vercel.app/v1/agent-dns/resolve/github.com \
  -H "Authorization: Bearer gw_abc123"

# Screenshot
curl https://agent-gateway-kappa.vercel.app/v1/agent-screenshot/screenshot?url=https://github.com \
  -H "Authorization: Bearer gw_abc123" --output screenshot.png

# Web Scraping
curl -X POST https://agent-gateway-kappa.vercel.app/v1/agent-scraper/scrape \
  -H "Authorization: Bearer gw_abc123" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

# Check Balance
curl https://agent-gateway-kappa.vercel.app/api/keys/balance \
  -H "Authorization: Bearer gw_abc123"

Available Services

ServiceIDEndpointsUse Case
IP Geolocationagent-geoGET /geo/:ip, GET /geo/me, POST /geo/batchLocate IPs, detect timezone, calculate distance
Crypto Pricescrypto-feedsGET /prices, GET /price/:symbolReal-time prices for 40+ tokens
DNS Lookupagent-dnsGET /resolve/:domain, GET /all/:domain, GET /whois/:domainDNS records, WHOIS, availability
Screenshotsagent-screenshotGET /screenshot?url=...Capture website screenshots as PNG
Web Scraperagent-scraperPOST /scrape, POST /extractExtract content from any URL
Crypto Walletagent-walletPOST /wallets/create, GET /wallets/:id/balanceGenerate wallets on 9+ chains
Frostbyte Walletfrostbyte-walletPOST /wallet/create, POST /swap/executeMulti-chain wallet + swaps
Code Runneragent-coderunnerPOST /executeRun JS/Python/Ruby/Go in sandboxed environment
PDF Generatoragent-pdfgenPOST /pdf/from-html, POST /pdf/from-urlGenerate PDFs from HTML/URL/Markdown
Image Processingagent-imageprocPOST /resize, POST /convert, POST /cropResize, crop, convert images
URL Shorteneragent-shorturlPOST /shorten, GET /urls/:slug/statsShorten URLs with analytics
Paste Binagent-pastePOST /pastes, GET /pastes/:idStore and share text snippets
Key-Value Storeagent-memoryPOST /kv/set, GET /kv/getPersistent key-value storage
Task Queueagent-taskqueuePOST /tasks/enqueue, POST /tasks/dequeueAsync job processing
Scheduleragent-schedulerPOST /jobs/createCron-based job scheduling
Webhooksagent-webhooksPOST /endpoints/createReceive and forward webhooks
Event Busagent-eventbusPOST /events/publishPub/sub messaging
File Storageagent-filestoragePOST /files/upload, GET /files/:id/downloadUpload and serve files
Log Drainagent-logdrainPOST /logs, GET /logsCentralized logging
Secrets Manageragent-secretsPOST /secrets/set, GET /secrets/getEncrypted secret storage
Searchagent-searchGET /search?q=...Web search API
Data Transformagent-transformPOST /transformJSON/XML/CSV format conversion
LLM Proxyagent-llmPOST /chat, POST /v1/chat/completionsOpenAI-compatible LLM access
Emailagent-emailPOST /sendSend emails programmatically
Phone/SMSagent-phonePOST /numbers, POST /numbers/:id/sendPhone numbers + SMS for agents
DeFi Tradingdefi-tradingGET /markets, GET /positionsMarket data and trading
On-Chain Analyticsonchain-analyticsGET /tokens/:address, GET /trendingToken analytics and trends
Provably Fair Gamesfair-gamesPOST /games/dice, POST /games/coinflipVerifiable random games
Poison Guardpoison-guardPOST /analyzeDetect malicious smart contracts
Webhook Inspectorwebhook-inspectorPOST /newDebug incoming webhooks
Domain Registrationfrostbyte-domainsGET /domains/search, POST /domains/registerSearch and register domains
Contract Deployercontract-deployerPOST /compile, POST /deployDeploy smart contracts
Token Launchpadtoken-launchpadPOST /tokens/createLaunch ERC-20 tokens
Service Registryagent-registryPOST /services/registerRegister and discover services
Identityagent-identityPOST /identities/createCreate and manage agent identities
DeFi MCPdefi-mcpPOST /mcp/tools/callMCP-compatible DeFi tools
Monitoragent-monitorPOST /monitorsUptime monitoring with alerts

All services are accessed through the gateway at:

https://agent-gateway-kappa.vercel.app/v1/{service-id}/{endpoint}

Authentication

Three ways to authenticate:

# 1. Bearer token (recommended)
curl -H "Authorization: Bearer gw_your_key" https://agent-gateway-kappa.vercel.app/v1/agent-geo/geo/8.8.8.8

# 2. Query parameter
curl "https://agent-gateway-kappa.vercel.app/v1/agent-geo/geo/8.8.8.8?key=gw_your_key"

# 3. Request body
curl -X POST https://agent-gateway-kappa.vercel.app/v1/agent-scraper/scrape \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "api_key": "gw_your_key"}'

Pricing

FreePaid
Credits200 (on signup)500 per $1 USDC
Cost per callFree~$0.002
Expiry30 days90 days
Rate limit120 req/min120 req/min

Payment methods: USDC on Base, Monero (XMR), or x402 auto-pay per request.

# Check your balance
curl https://agent-gateway-kappa.vercel.app/api/keys/balance \
  -H "Authorization: Bearer gw_your_key"

# Top up with USDC (after sending USDC to the gateway address)
curl -X POST https://agent-gateway-kappa.vercel.app/api/credits/topup \
  -H "Content-Type: application/json" \
  -d '{"api_key": "gw_your_key", "tx_hash": "0x..."}'

SDK Reference

JavaScript

import { Frostbyte } from 'frostbyte-api';

const fb = new Frostbyte('gw_your_key');

// Or create a key first
const fb = await Frostbyte.create(); // auto-creates a free key

Methods:

// Geo
fb.geo.lookup(ip)          // Lookup single IP
fb.geo.me()                // Your IP info
fb.geo.batch([ips])        // Batch lookup
fb.geo.distance(ip1, ip2)  // Distance between IPs

// Crypto
fb.crypto.prices()         // All prices
fb.crypto.price(symbol)    // Single token price

// DNS
fb.dns.resolve(domain)     // A records
fb.dns.all(domain)         // All record types
fb.dns.whois(domain)       // WHOIS info

// Screenshots
fb.screenshot.capture(url, options)  // options: { width, height, fullPage }

// Scraper
fb.scraper.scrape(url)     // Extract page content
fb.scraper.extract(url, selectors)  // Extract specific elements

// Wallet
fb.wallet.create(chain)    // Create wallet (eth, sol, btc, etc.)
fb.wallet.balance(id)      // Check balance

// Code Runner
fb.code.execute(language, code)  // Run code

// PDF
fb.pdf.fromHtml(html)      // HTML to PDF
fb.pdf.fromUrl(url)        // URL to PDF

// URL Shortener
fb.shorturl.shorten(url)   // Shorten URL
fb.shorturl.stats(slug)    // Get click stats

// Key Management
fb.balance()               // Check credit balance
fb.usage(hours)            // Get usage stats

Python

from frostbyte import Frostbyte

fb = Frostbyte('gw_your_key')

# Or create a key first
fb = Frostbyte.create()  # auto-creates a free key

Methods:

# Geo
fb.geo.lookup(ip)
fb.geo.me()
fb.geo.batch([ips])
fb.geo.distance(ip1, ip2)

# Crypto
fb.crypto.prices()
fb.crypto.price(symbol)

# DNS
fb.dns.resolve(domain)
fb.dns.all(domain)
fb.dns.whois(domain)

# Screenshots
fb.screenshot.capture(url, width=1280, height=720)

# Scraper
fb.scraper.scrape(url)

# Wallet
fb.wallet.create(chain)
fb.wallet.balance(wallet_id)

# Account
fb.balance()
fb.usage(hours=24)

Rate Limits

  • 120 requests per minute per API key
  • 50 requests per day per IP (without key, on free endpoints)
  • Rate limit headers included in every response:
    • X-RateLimit-Limit
    • X-RateLimit-Remaining
    • X-RateLimit-Reset

AI Agent Framework Examples

Ready-to-use integration examples for popular frameworks:

FrameworkFileDescription
OpenAI Function Callingexamples/openai-function-calling.pyUse Frostbyte APIs as GPT-4 tools
LangChainexamples/langchain-tools.pyCustom LangChain tools with agent executor
CrewAIexamples/crewai-tools.pyMulti-agent crew with specialized roles
MCP Serverfrostbyte-mcp13 tools for Claude Desktop, Cursor, Windsurf

License

MIT - see LICENSE