Developer API Reference

REST API

Integrate Emptycoin Explorer data directly into your applications. All endpoints return JSON responses with standard success envelopes.

Chain

GET/api/v1/chain/summary

Returns aggregate chain statistics including height, supply, and sync status.

Example Request

curl -X GET https://scan.mpty.site/api/v1/chain/summary
GET/api/v1/chain/supply/circulating

Returns the circulating supply as a plain text string for API integrations (like CoinMarketCap).

Example Request

curl -X GET https://scan.mpty.site/api/v1/chain/supply/circulating
GET/api/v1/network/peers

Returns a list of active network connections directly from MTY blockchain node.

Example Request

curl -X GET https://scan.mpty.site/api/v1/network/peers

Blocks

GET/api/v1/blocks

List blocks with pagination.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/blocks?limit=10'
GET/api/v1/blocks/latest

Get the latest blocks.

Example Request

curl -X GET https://scan.mpty.site/api/v1/blocks/latest
GET/api/v1/blocks/height/{height}

Get block details by block height.

Example Request

curl -X GET https://scan.mpty.site/api/v1/blocks/height/10000
GET/api/v1/blocks/hash/{hash}

Get block details by block hash.

Example Request

curl -X GET https://scan.mpty.site/api/v1/blocks/hash/0fc444cb98e48ab6f81b30dae8ab7af30d25e2c8
GET/api/v1/blocks/hash/{hash}/transactions

List transactions for a specific block hash.

Example Request

curl -X GET https://scan.mpty.site/api/v1/blocks/hash/0fc444cb98e48ab6f81b30dae8ab7af30d25e2c8/transactions

Transactions

GET/api/v1/transactions/latest

Get the latest network transactions.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/transactions/latest?limit=10'
GET/api/v1/tx/{txid}

Get specific transaction details by ID.

Example Request

curl -X GET https://scan.mpty.site/api/v1/tx/a1b2c3d4e5f6...

Addresses

GET/api/v1/address/{address}

Get summary, balance, and stats for a specific address.

Example Request

curl -X GET https://scan.mpty.site/api/v1/address/MEqffz6ZThvrLDrP4NMg81KJHBE2rBHN9M
GET/api/v1/address/{address}/transactions

List transactions for a specific address.

Example Request

curl -X GET https://scan.mpty.site/api/v1/address/MEqffz6ZThvrLDrP4NMg81KJHBE2rBHN9M/transactions
GET/api/v1/address/{address}/utxos

List unspent transaction outputs (UTXOs) for an address.

Example Request

curl -X GET https://scan.mpty.site/api/v1/address/MEqffz6ZThvrLDrP4NMg81KJHBE2rBHN9M/utxos
GET/api/v1/address/{address}/balance-history

Get the balance history for an address.

Example Request

curl -X GET https://scan.mpty.site/api/v1/address/MEqffz6ZThvrLDrP4NMg81KJHBE2rBHN9M/balance-history
GET/api/v1/address/{address}/staking

Get the staking summary for an address.

Example Request

curl -X GET https://scan.mpty.site/api/v1/address/MEqffz6ZThvrLDrP4NMg81KJHBE2rBHN9M/staking

Rich List & Statistics

GET/api/v1/richlist

Get top addresses ranked by balance.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/richlist?limit=100'
GET/api/v1/richlist/wallets

Get top clustered wallets ranked by balance.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/richlist/wallets?limit=100'
GET/api/v1/stats/block-times

Get historical block generation times.

Example Request

curl -X GET https://scan.mpty.site/api/v1/stats/block-times
GET/api/v1/stats/tx-volume

Get historical transaction volume data.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/stats/tx-volume?period=30d'
GET/api/v1/stats/difficulty

Get network difficulty over time.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/stats/difficulty?period=30d'
GET/api/v1/stats/supply

Get network supply changes over time.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/stats/supply?period=30d'
GET/api/v1/stats/active-addresses

Get historical active addresses count.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/stats/active-addresses?period=30d'
GET/api/v1/stats/fees

Get network fees over time.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/stats/fees?period=30d'
GET/api/v1/stats/staking

Get historical staking data.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/stats/staking?period=30d'
GET/api/v1/stats/utxo

Get UTXO set analytics.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/stats/utxo?period=30d'
GET/api/v1/stats/tx-types

Get transaction types distribution.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/stats/tx-types?period=30d'

Search & Mempool

GET/api/v1/search

Universal search by hash, height, or address.

Example Request

curl -X GET 'https://scan.mpty.site/api/v1/search?q=10000'
GET/api/v1/mempool

Get summary of the current unconfirmed transaction pool.

Example Request

curl -X GET https://scan.mpty.site/api/v1/mempool
GET/api/v1/mempool/transactions

List transactions currently in the mempool.

Example Request

curl -X GET https://scan.mpty.site/api/v1/mempool/transactions