Free Crypto Wallet API — Multi-Chain HD Wallets via REST

March 2026 8 min read 9 blockchains supported

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

curl
Python
Node.js
# 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

MethodEndpointDescription
POST/v1/wallet/createCreate a new HD wallet on a specified chain
GET/v1/wallet/listList all wallets associated with your API key
GET/v1/wallet/balance/:addressGet native + token balances for an address
POST/v1/wallet/sendSend native tokens or ERC-20 transfers
GET/v1/wallet/transactionsGet transaction history for a wallet
GET/v1/swap/quoteGet a swap quote (token pair, amount, slippage)
POST/v1/swap/executeExecute a token swap
GET/v1/swap/status/:orderIdCheck swap execution status
GET/v1/chains/List all supported chains with metadata
GET/v1/chains/gasReal-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

ChainChain IDNative TokenType
Ethereum1ETHMainnet
BNB Smart Chain56BNBMainnet
Polygon137MATICL2
Arbitrum42161ETHL2
Optimism10ETHL2
Base8453ETHL2
Avalanche43114AVAXMainnet
Fantom250FTMMainnet
SolanaSOLMainnet

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 Playground

Pricing

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

FeatureFrostbyte WalletAlchemy Wallet APIMoralis
Free tier200 credits300M compute units40K requests/mo
Chains930+17
Wallet creationYes (HD)No (account abstraction)No (read-only)
Built-in swapsYes (0.3% fee)NoNo
Signup requiredNo (instant key)Yes + emailYes + email
Crypto paymentsUSDC + XMRCredit card onlyCredit card only

Security Notes

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