Developers

Public API

The TEXITcoin mempool node speaks an Esplora / mempool.space-compatible REST API. Everything is open, no key required, CORS is wide open.

Base URL
https://api.mempool.texitcoin.org
More on texitcoin.org/build →

Blocks

Read block data, by height or hash.

base · https://api.mempool.texitcoin.org

GET/api/v1/blocks/tip/heightCurrent chain tip height.
GET/api/v1/blocks/tip/hashCurrent chain tip hash.
GET/api/v1/blocksLatest 10 confirmed blocks.
GET/api/v1/blocks/{startHeight}10 blocks starting at height.
GET/api/v1/block/{hash}Block details by hash.
GET/api/v1/block/{hash}/txidsAll txids in a block.
GET/api/v1/block-height/{height}Block hash for a given height.

Transactions

Inspect any confirmed or pending transaction.

base · https://api.mempool.texitcoin.org

GET/api/v1/tx/{txid}Decoded transaction with status.

Addresses

Balances and history for any TXC address.

base · https://api.mempool.texitcoin.org

GET/api/v1/address/{address}Balance and tx counts (chain + mempool).
GET/api/v1/address/{address}/txsRecent transactions for an address.
GET/api/address/_richlist?limit=500Top holders (up to 500).

Legacy explorer endpoints

Mirrors of the old explorer.texitcoin.org Iquidus API. Kept live so anything still pointing at the old host keeps working.

base · https://explorer2.texitcoin.org

GET/api/getdifficultyCurrent network difficulty.
GET/api/getblockcountCurrent tip height.
GET/api/getblockhash?index={h}Block hash for a height.
GET/api/getblock?hash={h}Raw block by hash.
GET/api/getmoneysupplyCirculating supply (TXC).
GET/api/getnetworkhashpsNetwork hashrate (H/s).
GET/api/getvotelistCurrent vote list.
GET/api/getmasternodecountMasternode count (0 for TXC).
GET/ext/getmoneysupplyCirculating supply.
GET/ext/getlasttxs/0/{min}/{count}Recent large movements ≥ min TXC.
GET/ext/getnetworkpeersKnown peers.
GET/ext/getcurrentpriceCurrent USD price.
GET/ext/getaddress/{hash}Address info from the legacy index.
GET/ext/getaddresstxs/{hash}/{start}/{length}Recent txs for an address.
GET/ext/getbalance/{hash}Balance for an address.
GET/ext/gettx/{txid}Transaction info from the legacy index.
GET/ext/getdistributionWealth distribution stats.
GET/ext/getbasicstatsBasic stats bundle.
GET/ext/getsummaryFull summary bundle.
GET/qr/{hash}SVG QR code for an address.

Mempool & fees

What's pending right now and what to pay.

base · https://api.mempool.texitcoin.org

GET/api/v1/mempoolPending tx count, vsize, total fee.
GET/api/v1/fees/recommendedSuggested sat/vB rates.
GET/api/v1/statistics/2hMempool history, last 2 hours.

Mining

Difficulty and rewards.

base · https://api.mempool.texitcoin.org

GET/api/v1/difficulty-adjustmentNext retarget projection.
GET/api/v1/mining/hashrate/3d3-day hashrate & difficulty series.
GET/api/v1/mining/reward-stats/{n}Reward stats over last N blocks.

Notes

  • Hashrate series may take a few days to fill in on a freshly-started mempool node.
  • The same endpoints are also served on this domain (explorer2.texitcoin.org) so you can point at either host.
  • Be a good citizen: cache responses where you can. Polling intervals of 10–30 seconds are plenty.