Welcome to the Sparkscan API
Sparkscan is a public explorer and analytics suite for Spark.
Our REST API gives you programmatic access to addresses, transactions, tokens, and real-time network activity so you can build wallets, dashboards, bots, and data pipelines with ease.
Current API version: 1.2.2 (OpenAPI 3.0.2)
Base URL
Code
All endpoints are prefixed with the API version (/v1), e.g. /v1/address/{address}.
Key Features
- Address
• Get an address summary (/v1/address/{address})
• List address transactions with pagination (/v1/address/{address}/transactions)
• List tokens held by an address (/v1/address/{address}/tokens) - Transactions
• Fetch the latest network-wide transactions (/v1/tx/latest)
• Retrieve detailed information for a single tx (/v1/tx/{txid}) - Tokens
• Lookup token metadata or search by name/ticker (/v1/tokens/{identifier})
• Token holders and transaction history
• Batch metadata lookup for up to 100 tokens - Network Statistics
• Leaderboards for wallets and tokens - Bitcoin Utilities
• Latest on-chain txid for up to 100 BTC addresses
For a full list of paths and schema definitions, check the automatically generated reference in the sidebar or download the OpenAPI spec.
Quick Start
Code
Networks
Most endpoints accept a network query parameter:
| Value | Description |
|---|---|
| MAINNET | The live Spark network (production) |
| REGTEST | Local or staging network for development |
Response Metadata
Paginated endpoints return a meta object with totalItems, limit, and offset so you can implement infinite scroll or traditional paging with minimal effort.
Need help?
• Browse the detailed endpoint docs in the sidebar.
• Open an issue on GitHub or reach out to dev@sparkscan.io.
Happy building on Spark! ✨