Open the API docs
Browse every endpoint interactively in the Swagger UI at xdcscan.io/api-docs. No account or API key needed today.
XDC Network · Chain ID 50
A Blockscout-compatible REST API v2 for everything on XDC — blocks, transactions, addresses, tokens, and verified contracts. Free to use, no API key required to get started.
# Fetch live XDC Network stats (Blockscout v2 REST API)
curl https://xdcscan.io/api/v2/stats const res = await fetch("https://xdcscan.io/api/v2/stats");
const stats = await res.json();
console.log(stats.total_blocks, stats.total_transactions); From zero to your first XDC API call in under five minutes — no API key needed today.
Browse every endpoint interactively in the Swagger UI at xdcscan.io/api-docs. No account or API key needed today.
Grab the snippet below — it hits the live stats endpoint and works from any terminal or HTTP client.
Run it and you have live XDC chain data. When API keys for higher rate limits go live, they will be created in XDCScan My Account.
curl https://xdcscan.io/api/v2/stats Six endpoint families cover the full XDC chain surface. Every route is documented interactively in the Swagger UI.
Latest blocks, block details, and rewards by number or hash.
Transaction lookups, receipts, logs, and pending txpool data.
Balances, coin balance history, and counters for any XDC address.
XRC-20 / XRC-721 metadata, holders, and transfers across the network.
Verified contract source, ABIs, and read/write methods.
Network-wide metrics: total blocks, transactions, gas, and prices.
The XDC API is free for public use under a fair-use policy. Anonymous requests are rate-limited per IP; limits are tuned for typical dApp and integration workloads. If you are building something heavier — indexing, backfills, or high-frequency polling — reach out via the contact form and we will work out a plan.
When a limit is hit the API responds with HTTP 429 — back off and retry, or add caching on your side.
Resolve balances, token holdings, and full transaction history for any XDC address.
Pull network stats and block/transaction feeds to power charts and monitoring.
Blockscout-compatible endpoints work out of the box with codegen, Postman, and AI tooling.