API Documentation
Integrate OpenScan.AI into your applications with the REST API v2 and RPC-compatible endpoints
Integration Options
REST API v2
RecommendedBlockscout-compatible REST API at https://xdcscan.io/api/v2 — query blocks, transactions, addresses, tokens, and verified contracts. No API key required to start.
Explorer Data
Public — no auth- • Querying blocks, transactions, and addresses
- • Token and NFT metadata
- • Building dashboards and analytics
- • Network monitoring tools
Verified Contracts
Public — no auth- • Contract source code and ABIs
- • Read and write contract methods
- • AI-powered transaction decoding
- • Smart contract verification
Self-Hosted API
Run your own explorer instance with its own API
Best for:
- • Chains launching their own explorer
- • Custom branding and domains
- • Full control over indexed data
- • Private or internal networks
Hosting:
Managed EaaS or self-hosted from GitHub
RPC-Compatible Endpoints
Query the chain directly via JSON-RPC compatible endpoints. For raw chain state and transactions.
Best for:
- • Querying chain state (balances, blocks, logs)
- • Submitting transactions to the blockchain
- • Tooling that talks to a node endpoint
Note:
Use a node endpoint for raw chain access; the REST API serves indexed data.