API Documentation
Welcome to CryptoChain API — a unified, free REST API to query raw blockchain data from 7+ networks. No API keys. No rate limits for reasonable usage.
🔗 7+ Chains
Bitcoin, Ethereum, Litecoin, Polygon, Dogecoin, Solana, Kaspa
⚡ Fast
Direct integration with fastest available data sources
🔓 No Auth
Public endpoints, no API keys required
📊 JSON
Clean, consistent JSON responses
Base URL
All endpoints follow the pattern: /api/{chain}/{endpoint}
| Chain | Code | Unit |
|---|---|---|
| Bitcoin | btc |
Satoshis (1 BTC = 10⁸) |
| Ethereum | eth |
Wei (1 ETH = 10¹⁸) |
| Litecoin | ltc |
Litoshis (1 LTC = 10⁸) |
| Polygon | polygon |
Wei (1 POL = 10¹⁸) |
| Dogecoin | doge |
Koinu (1 DOGE = 10⁸) |
| Solana | sol |
Lamports (1 SOL = 10⁹) |
| Kaspa | kas |
Sompi |
| Binance Smart Chain | bsc |
Wei (1 BNB = 10¹⁸) |
Error Handling
The API returns standard HTTP status codes with JSON error bodies:
| Code | Meaning | Action |
|---|---|---|
200 |
Success | Parse response data |
400 |
Bad Request | Check endpoint/parameters |
404 |
Not Found | Address/TX doesn't exist |
429 |
Rate Limited | Wait and retry |
500 |
Server Error | Upstream API issue |
Rate Limits
There are no strict rate limits, but please be reasonable:
- ~10 requests/second is safe
- Burst traffic is fine for short periods
- For heavy usage, consider caching responses
Binance Smart Chain (BSC)
Powered by Etherscan V2. All values are in Wei (1 BNB = 10¹⁸ wei).
Get Address Info
Returns balance in Wei.
Get Transaction
Parameters:
| Param | Type | Description |
|---|---|---|
address |
string | Bitcoin address (Legacy, P2SH, or Bech32) |
Get UTXOs
Returns all unspent transaction outputs for an address.
Get Transaction
Get Block Height
Returns: 883456 (just the number)
Ethereum (ETH)
Powered by Blockscout. Native values in Wei (1 ETH = 10¹⁸ wei).
Get Address Info
Get Token Balances
Returns array of ERC-20/721/1155 tokens held.
Get Transaction
Returns full transaction with token transfers, gas info, and status.
Litecoin (LTC)
Powered by Litecoinspace. Same UTXO format as Bitcoin.
Get Address Info
Get Transaction
Polygon (POL)
Powered by Blockscout V2. Same format as Ethereum.
Get Address Info
Get Token Balances
Get Transactions
Dogecoin (DOGE)
Powered by BlockCypher. UTXO format, converted to mempool-compatible response.
Get Address Info
Get Transaction
Solana (SOL)
Direct Solana Mainnet RPC integration. Values in Lamports (1 SOL = 10⁹).
Get Address Balance
Get Transaction
Note: Solana signatures are ~88 characters (Base58).
Kaspa (KAS)
Powered by Kaspa.org API.