FoxChain API
Bring FoxChain’s unified multi‑chain blockchain API to your apps. Detect the chain behind any identifier, fetch normalized entities, and render consistent UI without bespoke adapters for every network.
What the API provides
The API exposes the same pipeline that powers the explorer: detection, retrieval from high‑availability nodes, normalization, and enrichment. Responses are compact and versioned. Where protocol‑specific fields exist, they are namespaced so you keep precision without losing portability.
Example endpoints
Detect
Identify the most likely chain for an address, tx hash or block.
GET /v1/detect?query=0x… {
"query": "0xabc…",
"candidates": [
{ "chain": "ethereum", "kind": "address", "confidence": 0.98 },
{ "chain": "polygon", "kind": "address", "confidence": 0.61 }
]
} Search
Fetch a normalized entity after detection.
GET /v1/search?query=0x… {
"entity": "transaction",
"chain": "ethereum",
"tx": {
"hash": "0x…",
"block": 19847293,
"timestamp": 1712345678,
"from": "0x…",
"to": "0x…",
"fee": { "eth": 0.0021, "usd": 7.12 },
"transfers": [
{ "asset": "USDC", "symbol": "USDC", "amount": "1500", "from": "0x…", "to": "0x…" }
],
"events": [ { "standard": "erc20", "name": "Transfer", "signature": "…" } ],
"links": { "native": "https://etherscan.io/tx/…" }
}
} Address
GET /v1/address/{chain}/{address} {
"entity": "address",
"chain": "solana",
"address": "…",
"balances": [ { "mint": "…", "symbol": "SOL", "amount": "12.34" } ],
"nfts": [ { "mint": "…", "name": "…" } ],
"links": { "native": "https://solscan.io/account/…" }
} Blocks
GET /v1/block/{chain}/{height} {
"entity": "block",
"chain": "bitcoin",
"height": 843210,
"hash": "…",
"timestamp": 1712345000,
"tx_count": 1765,
"links": { "native": "https://mempool.space/block/…" }
} Authentication & rate limits
Requests are authenticated via a simple header token. Keys are environment‑scoped and can be rotated without downtime. Soft limits prevent abuse while keeping free exploration accessible.
- Free: 60 requests / minute, burst 120; shared pool.
- Pro: 600 requests / minute, burst 1,200; higher priority queue.
- Enterprise: Custom SLAs, dedicated capacity and private routing.
SDK & tooling roadmap
Client SDKs will be released after GA, starting with TypeScript and Python. The SDKs mirror the wire format and include helpers for pagination, retries and rate‑limit back‑off. Webhooks and data export are planned for enterprise users.
Get started
Review pricing on the pricing page, learn more about our values on About, or try detection interactively on Detect Blockchain. You can also browse the multi‑chain explorer to see how responses map to the UI.