Use the Account API to manage per-user explorer features programmatically: API keys, address watchlists with notifications, private tags and notes, and custom ABIs.
Base URL: https://xdcscan.io/account/api/v1
Authentication: after signing in to xdcscan.io, create an API key from your account settings and pass it in every request with Authorization: Bearer YOUR_API_KEY.
Features
- Create and revoke API keys for higher REST API rate limits.
- Add addresses to a watchlist and receive notifications on incoming and outgoing transactions.
- Attach private tags and notes to addresses and transactions — visible only to your account.
- Upload custom ABIs for unverified contracts so the explorer can decode their methods for your account.
Endpoints at a glance
| Method | Path | Description |
|---|---|---|
| GET | /user/info | Current account profile |
| GET | /user/api-keys | List API keys |
| POST | /user/api-keys | Create an API key |
| DELETE | /user/api-keys/{id} | Revoke an API key |
| GET | /user/watchlist | List watched addresses |
| POST | /user/watchlist | Add an address to the watchlist |
| DELETE | /user/watchlist/{id} | Remove a watched address |
| GET | /user/tags/address | List private address tags |
| POST | /user/tags/address | Create a private address tag |
| GET | /user/custom-abis | List custom ABIs |
| POST | /user/custom-abis | Upload a custom ABI |
See Getting Started for a full walkthrough, or the Quickstart to watch your first address in five calls.
Public chain data
The Account API is for per-user data only. Public chain data — blocks, transactions, tokens, contracts, stats — is served without authentication by the REST API v2.