Free Crypto Wallet API — Multi-Chain HD Wallets via REST
Need to create crypto wallets, check balances, or send transactions from your app? The Frostbyte Wallet API gives you programmatic access to HD wallet creation across 9 blockchains, balance queries, transaction sending, and cross-chain token swaps — all through a REST interface.
Whether you’re building a DeFi aggregator, an AI agent with a crypto wallet, a portfolio tracker, or a payment system, this API handles the wallet infrastructure so you don’t have to run nodes or manage private keys yourself.
9 Blockchains
Ethereum, BSC, Polygon, Arbitrum, Optimism, Base, Avalanche, Fantom, and Solana.
BIP39/BIP44 HD Wallets
Industry-standard hierarchical deterministic wallets. One seed phrase, multiple chains.
Cross-Chain Swaps
Get swap quotes and execute token swaps across chains. 0.3% fee — competitive with DEXes.
Gas Estimation
Real-time gas prices across all supported chains. Plan transactions with accurate cost estimates.
Quick Start — Create a Wallet
# Create a new HD wallet
curl -X POST "https://agent-gateway-kappa.vercel.app/v1/frostbyte-wallet/v1/wallet/create" \
-H "x-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"chain": "ethereum"}'
{
"walletId": "wal_7f3a9b2c",
"chain": "ethereum",
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD08",
"publicKey": "0x04a1b2c3...",
"mnemonic": "abandon ability able about above absent ...",
"derivationPath": "m/44'/60'/0'/0/0",
"createdAt": "2026-03-04T12:00:00Z"
}
import requests
BASE = "https://agent-gateway-kappa.vercel.app/v1/frostbyte-wallet"
headers = {
"x-api-key": "YOUR_KEY",
"Content-Type": "application/json"
}
# Create wallet on Ethereum
resp = requests.post(
f"{BASE}/v1/wallet/create",
headers=headers,
json={"chain": "ethereum"}
)
wallet = resp.json()
print(f"Address: {wallet['address']}")
print(f"Chain: {wallet['chain']}")
# IMPORTANT: Store the mnemonic securely!
print(f"Mnemonic: {wallet['mnemonic']}")
const BASE = "https://agent-gateway-kappa.vercel.app/v1/frostbyte-wallet";
const headers = {
"x-api-key": "YOUR_KEY",
"Content-Type": "application/json"
};
// Create wallet on Polygon
const resp = await fetch(`${BASE}/v1/wallet/create`, {
method: "POST",
headers,
body: JSON.stringify({ chain: "polygon" })
});
const wallet = await resp.json();
console.log("Address:", wallet.address);
console.log("Chain:", wallet.chain);
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/wallet/create | Create a new HD wallet on a specified chain |
| GET | /v1/wallet/list | List all wallets associated with your API key |
| GET | /v1/wallet/balance/:address | Get native + token balances for an address |
| POST | /v1/wallet/send | Send native tokens or ERC-20 transfers |
| GET | /v1/wallet/transactions | Get transaction history for a wallet |
| GET | /v1/swap/quote | Get a swap quote (token pair, amount, slippage) |
| POST | /v1/swap/execute | Execute a token swap |
| GET | /v1/swap/status/:orderId | Check swap execution status |
| GET | /v1/chains/ | List all supported chains with metadata |
| GET | /v1/chains/gas | Real-time gas prices across all chains |
All endpoints are accessed via the gateway at https://agent-gateway-kappa.vercel.app/v1/frostbyte-wallet.
Check Wallet Balance
# Get balance for any address
curl -H "x-api-key: YOUR_KEY" \
"https://agent-gateway-kappa.vercel.app/v1/frostbyte-wallet/v1/wallet/balance/0x742d35Cc6634C0532925a3b844Bc9e7595f2bD08?chain=ethereum"
{
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD08",
"chain": "ethereum",
"nativeBalance": "1.2345",
"nativeSymbol": "ETH",
"nativeValueUsd": "$2,469.00",
"tokens": [
{"symbol": "USDC", "balance": "500.00", "contract": "0xa0b8..."},
{"symbol": "WETH", "balance": "0.5", "contract": "0xc02a..."}
]
}
Cross-Chain Token Swaps
Get a Swap Quote
# Get quote for ETH -> USDC swap
curl -H "x-api-key: YOUR_KEY" \
"https://agent-gateway-kappa.vercel.app/v1/frostbyte-wallet/v1/swap/quote?chain=ethereum&fromToken=ETH&toToken=USDC&amount=1.0"
{
"fromToken": "ETH",
"toToken": "USDC",
"fromAmount": "1.0",
"toAmount": "2000.50",
"priceImpact": "0.02%",
"fee": "0.3%",
"route": "ETH → WETH → USDC (Uniswap V3)",
"estimatedGas": "150000",
"validFor": 30
}
Execute the Swap
# Execute the swap
curl -X POST "https://agent-gateway-kappa.vercel.app/v1/frostbyte-wallet/v1/swap/execute" \
-H "x-api-key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"walletId": "wal_7f3a9b2c",
"chain": "ethereum",
"fromToken": "ETH",
"toToken": "USDC",
"amount": "1.0",
"slippage": 0.5
}'
{
"orderId": "swap_abc123",
"status": "pending",
"txHash": "0x1234...abcd",
"estimatedCompletion": "2026-03-04T12:01:30Z"
}
Supported Chains
| Chain | Chain ID | Native Token | Type |
|---|---|---|---|
| Ethereum | 1 | ETH | Mainnet |
| BNB Smart Chain | 56 | BNB | Mainnet |
| Polygon | 137 | MATIC | L2 |
| Arbitrum | 42161 | ETH | L2 |
| Optimism | 10 | ETH | L2 |
| Base | 8453 | ETH | L2 |
| Avalanche | 43114 | AVAX | Mainnet |
| Fantom | 250 | FTM | Mainnet |
| Solana | — | SOL | Mainnet |
Use Cases
AI Agent with a Wallet
Give your AI agent the ability to hold, send, and receive crypto. Create a wallet during agent initialization, fund it, and let it autonomously make transactions based on its logic. See our tutorial: Crypto Portfolio Tracker.
Payment Processing
Accept crypto payments in your app. Create a unique wallet per customer/order, monitor for incoming transactions, and auto-forward funds to your main wallet.
Portfolio Tracker
Query balances across all 9 chains for a given address. Aggregate native tokens + ERC-20/SPL tokens to build a complete portfolio view.
DeFi Aggregator
Use the swap endpoints to find the best rates across DEXes. Get quotes from multiple chains and execute swaps with a single API call.
Create Your First Wallet
HD wallets across 9 blockchains. BIP39/BIP44 compliant. Create a free API key to get started.
Try in PlaygroundPricing
Wallet operations cost 3 credits ($0.003) per API call: creating wallets, checking balances, listing transactions. Swap quotes are 1 credit. Swap execution is 10 credits plus a 0.3% fee on the swap amount.
You get 200 free credits when you create an API key — enough for 66 wallet operations or 200 swap quotes.
Compared to Alternatives
| Feature | Frostbyte Wallet | Alchemy Wallet API | Moralis |
|---|---|---|---|
| Free tier | 200 credits | 300M compute units | 40K requests/mo |
| Chains | 9 | 30+ | 17 |
| Wallet creation | Yes (HD) | No (account abstraction) | No (read-only) |
| Built-in swaps | Yes (0.3% fee) | No | No |
| Signup required | No (instant key) | Yes + email | Yes + email |
| Crypto payments | USDC + XMR | Credit card only | Credit card only |
Security Notes
- Mnemonic phrases are returned once during wallet creation. Store them securely — they cannot be retrieved later.
- Private keys are derived from the mnemonic using BIP44 derivation paths. The API does not store private keys.
- API keys are scoped to your account. Rotate them if compromised.
- For production use, we recommend keeping large balances in cold storage and using API wallets for operational amounts only.
FAQ
Can one mnemonic work across all 9 chains?
For EVM chains (Ethereum, BSC, Polygon, Arbitrum, Optimism, Base, Avalanche, Fantom), yes — the same mnemonic generates the same address across all EVM chains using BIP44 derivation. Solana uses a different derivation path, so it generates a different address from the same mnemonic.
Does the API store my private keys?
No. The mnemonic is returned once during creation and is not stored server-side. You are responsible for securing it. Balance queries use the public address only.
What tokens can I swap?
Any token pair with sufficient DEX liquidity on the target chain. The swap endpoint routes through major DEXes (Uniswap, SushiSwap, PancakeSwap, etc.) to find the best rate.
Can I use this for an AI agent?
Yes. This is one of the primary use cases. Create a wallet for your agent, fund it with a small amount, and use the send/swap endpoints to let your agent make transactions autonomously.
How do gas fees work?
Gas fees are paid from the wallet’s native token balance (ETH, MATIC, BNB, etc.). Use the /v1/chains/gas endpoint to check current gas prices before sending transactions.
Related APIs
- Free Crypto Price API — real-time prices for 100+ tokens
- Crypto Trading Bot API — Hyperliquid DEX trading
- Free Domain Registration API — register domains for your projects
- Best Free APIs for Developers — complete directory