API & MCP

The same engine that powers this website, free and open. No key, no signup. Responses are JSON with CORS enabled. Fair-use rate limits apply.

OpenAPI spec · llms.txt · Live status

REST endpoints

GET/api/v1/health

Service status, version and which optional features are enabled. Use this for uptime checks and verification.

curl https://www.useanychain.com/api/v1/health

GET/api/v1/resolve?q={input}&ai=0|1

Detect the chain(s) of an address, tx hash, ENS name or domain. Addresses and hashes get live read-only lookups; domains are scanned. ai=1 adds a Claude-written brief when enabled.

curl "https://www.useanychain.com/api/v1/resolve?q=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"

GET/api/v1/scan?domain={domain}&ai=0|1

Scan a website for chain support: explorer links, contract and wallet addresses (verified on-chain for EVM), wallet tooling, docs and repos. Each finding includes its evidence.

curl "https://www.useanychain.com/api/v1/scan?domain=ethereum.org"

GET/api/v1/token?address={a}&chain={id}&ai=0|1

Token X-ray for an EVM token contract or Solana mint: owner and mint powers, freeze authority, Token-2022 extensions, holder data and third-party risk flags. chain is optional.

curl "https://www.useanychain.com/api/v1/token?address=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"

GET/api/v1/domain-check?domain={domain}

Link safety signals: registration age, look-alikes of well-known crypto sites, punycode and phishing-lure wording.

curl "https://www.useanychain.com/api/v1/domain-check?domain=uniswap.org.example.com"

GET/api/v1/guard?address={a}&chain={id}

Wrong-chain guard. Returns a verdict (ok / warn / danger), reasons and suggested chains.

curl "https://www.useanychain.com/api/v1/guard?address=1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa&chain=ethereum"

GET/api/v1/compare?a={addr}&b={addr}

Compare two addresses and detect address-poisoning look-alikes.

curl "https://www.useanychain.com/api/v1/compare?a=0xAAAA...1111&b=0xAAAA...2222"

GET/api/v1/fees?kind=token|native

Estimated cost to send a transfer on each chain right now, cheapest first. CDN-cached for 15 seconds.

curl "https://www.useanychain.com/api/v1/fees?kind=token"

GET/api/v1/status

Live block height, block age and fee level for each reachable chain. CDN-cached for 15 seconds.

curl https://www.useanychain.com/api/v1/status

GET/api/v1/networks?q={name}

Exchange network labels (ERC20, BEP20, TRC20...) mapped to chains, address formats and memo rules.

curl "https://www.useanychain.com/api/v1/networks?q=trc20"

GET/api/v1/chains · /api/v1/chains/{id}

The chain registry as JSON.

curl https://www.useanychain.com/api/v1/chains/solana

Rate limits

Limits are per caller, per minute and per day. They are the same on the website and the API.

EndpointPer minute
Paste anything / resolve30
Domain scan (heavy)10
Wrong-chain guard30
Token X-ray20
Link check20
Address compare60
Fees (cached)60
Chain status (cached)60
MCP server20
Account / watchlist60
Wallet sign-in20
Daily cap (all endpoints)3000

MCP server

UseAnyChain exposes a Model Context Protocol server over Streamable HTTP so AI agents (Claude and any MCP client) can use every tool above.

# endpoint
https://www.useanychain.com/api/mcp

# Claude Code
claude mcp add --transport http useanychain https://www.useanychain.com/api/mcp

# raw JSON-RPC
curl -X POST https://www.useanychain.com/api/mcp -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Tools: resolve_input, scan_domain, check_address_for_chain, token_xray, check_domain, compare_addresses, cheapest_chain_to_send, chain_status, exchange_network_lookup, list_chains.

How the AI brief works

All detection, validation and scanning is deterministic code. When ai=1 is passed and the operator has enabled it, Claude receives only the already-parsed JSON facts (never raw pages) and writes a short plain-language brief. Results are cached and capped daily.

Data sources and limits

Read-only data comes from public blockchain nodes, explorers, public price data and third-party scanners (GoPlus for EVM token flags). It may be rate-limited, delayed or briefly unavailable. Don't rely on this API for custody or transaction signing, and nothing returned is financial advice. Need higher limits? Get in touch.