Account API

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

MethodPathDescription
GET/user/infoCurrent account profile
GET/user/api-keysList API keys
POST/user/api-keysCreate an API key
DELETE/user/api-keys/{id}Revoke an API key
GET/user/watchlistList watched addresses
POST/user/watchlistAdd an address to the watchlist
DELETE/user/watchlist/{id}Remove a watched address
GET/user/tags/addressList private address tags
POST/user/tags/addressCreate a private address tag
GET/user/custom-abisList custom ABIs
POST/user/custom-abisUpload 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.