Esplora-compatible API

TestnetScan serves the same REST API as Blockstream Esplora / mempool.space, so existing wallets and tools are a drop-in. Each network has its own base URL:

Litecoin testnethttps://dev.testnetscan.com/ltc/testnet/api

Example: https://dev.testnetscan.com/btc/testnet4/api/blocks/tip/height

Blocks
GET /blocks/tip/height Current tip height (text)
GET /blocks/tip/hash Current tip hash (text)
GET /blocks[/:start_height] 10 block summaries, newest first
GET /block/:hash Block summary
GET /block/:hash/status Chain-membership status
GET /block/:hash/txids All txids in the block
GET /block/:hash/txs[/:start_index] 25 full transactions
GET /block/:hash/txid/:index Single txid (text)
GET /block/:hash/header Block header hex (text)
GET /block/:hash/raw Raw block (binary)
GET /block-height/:height Block hash at height (text)
Transactions
GET /tx/:txid Transaction (Esplora shape, with vin.prevout)
GET /tx/:txid/hex Raw tx hex (text)
GET /tx/:txid/raw Raw tx (binary)
GET /tx/:txid/status Confirmation status
GET /tx/:txid/outspends Spent flags per output
GET /tx/:txid/outspend/:vout Spent flag for one output
GET /tx/:txid/merkle-proof Merkle inclusion proof
POST /tx Broadcast raw tx hex (body) → txid (text)
Addresses
GET /address/:address chain_stats + mempool_stats
GET /address/:address/txs Mempool + newest 25 confirmed txs
GET /address/:address/txs/chain[/:last_txid] Next 25 confirmed (pagination)
GET /address/:address/txs/mempool Unconfirmed txs
GET /address/:address/utxo Unspent outputs
GET /scripthash/:hash[/...] Same set, keyed by scripthash
Mempool & fees
GET /mempool count, vsize, total_fee, fee_histogram
GET /mempool/txids All mempool txids
GET /mempool/recent Recent mempool entries
GET /fee-estimates Confirm-target → sat/vB map
GET /v1/fees/recommended mempool.space fee recommendation
GET /v1/validate-address/:address Address validation (Core shape)
GET /v1/difficulty-adjustment Retarget progress & estimate

Use it with TestnetWallet

In TestnetWallet → Settings, set the Esplora API endpoints to:

Bitcoinhttps://dev.testnetscan.com/btc/testnet4/api
Litecoinhttps://dev.testnetscan.com/ltc/testnet/api

Notes: amounts are integer satoshis; /tx/:txid/hex, /blocks/tip/height and POST /tx return text/plain; all endpoints send permissive CORS.