Chainlens
Chainlens is a unified suite of four REST APIs — Wallet Security, Crypto Tax, Token Risk Scanner, and Transaction Decoder — giving developers everything they need to scan wallets, decode transactions, score tokens, and compute crypto taxes from a single API key.
Chainlens endpoints
| Method | Endpoint | Description |
|---|---|---|
| Accounts | ||
| POST |
createApiKey /accounts/keys |
Create a new API key. The raw key is only shown once. |
| GET |
getUsage /accounts/usage |
Get usage records for the current organization (last 12 periods). |
| GET |
listApiKeys /accounts/keys |
List all API keys for the current organization. |
| Wallet Security | ||
| GET |
scanWalletIncludeZeroApprovals /v1/scan/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
|
| Crypto Tax | ||
| POST |
importTransactionsUkJurisdiction /v1/transactions |
Import transactions with UK HMRC rules (section 104, bed & breakfasting). |
| GET |
listTaxLotsPaginated /v1/tax-lots/test-wallet-001 |
|
| DELETE |
deleteWallet /v1/wallet/test-wallet-001 |
Delete a wallet and all associated data (lots, dispositions, transactions). |
| GET |
taxSummaryFilterByAsset /v1/summary/test-wallet-001 |
|
| Token Scanner | ||
| GET |
raydiumLiquidity /v1/raydium/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v |
Analyze Raydium liquidity pools for a Solana SPL token. |
| GET |
orcaLiquidity /v1/orca/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v |
Analyze Orca Whirlpool liquidity pools for a Solana SPL token. |
| GET |
holderAnalysisCustomMint /v1/holders/So11111111111111111111111111111111111111112 |
Analyze holder concentration for Wrapped SOL. |
| GET |
holderAnalysisUsdc /v1/holders/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v |
Analyze holder concentration for a Solana SPL token. |
| TX Decoder | ||
| GET |
transactionHistoryFilterByType /v1/history/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 |
|
| GET |
listProtocols /v1/protocols |
List all supported DeFi protocols. |
| Error Cases | ||
| GET |
400InvalidEvmAddressHistory /v1/history/not-an-address |
|
| GET |
404WalletNotFound /v1/summary/nonexistent-wallet |
|
| POST |
400BatchTooLarge101Txs /v1/decode-batch |
Should return 400 — batch limited to 100 transactions. |
| GET |
400InvalidSolanaMint /v1/holders/not-a-valid-mint |
|
| GET |
400InvalidTxHash /v1/decode/0xinvalid |
|
| GET |
400InvalidChain /v1/decode/0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060 |
|
| GET |
401InvalidApiKey /accounts/me |
|
| health | ||
| GET |
healthCheck /health/ |
|
Chainlens pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 30 / minute |
|
| PRO | $49 / month | 120 / minute |
|
| ULTRA | $149 / month | 600 / minute |
|
| MEGA | $499 / month | — |
|