Explorer / API
TrumPOW API
Free JSON API for the TrumPOW (TRMP) blockchain. No key needed. Base URL:
https://trumpow.org/api/v1/
Endpoints
| Endpoint | Returns |
|---|---|
GET /api/v1/tip | Chain tip: height and hash. |
GET /api/v1/stats | Network stats: height, difficulty, hashrate, 24h block interval, supply. |
GET /api/v1/blocks?limit=10 | Latest blocks, newest first. limit 1–100. |
GET /api/v1/block/height/{height} | Block by height. |
GET /api/v1/block/{hash} | Block by hash. |
GET /api/v1/block/{hash}/txs?limit=25&offset=0 | Transactions in a block. limit 1–100. |
GET /api/v1/tx/{txid} | Transaction with inputs (incl. prevouts), outputs, fee and status. |
POST /api/v1/tx | Broadcast a signed transaction: raw hex as the request body. Returns {"txid": ...}. Limited to a few per minute per IP. |
GET /api/v1/address/{address} | Address summary: funded/spent totals and tx counts. |
GET /api/v1/address/{address}/txs | Recent transactions for an address. |
GET /api/v1/address/{address}/utxo | Unspent outputs for an address. |
GET /api/v1/richlist?limit=100&offset=0 | Top addresses by balance. limit 1–1000. |
GET /api/v1/mempool | Mempool summary. |
GET /api/v1/mempool/txs?limit=25 | Recent mempool transactions. limit 1–100. |
GET /api/v1/fees/recommended | Recommended fee rates. |
GET /api/v1/supply/total | Total supply in TRMP as a plain number (text/plain). Equals circulating supply; not max supply. |
GET /api/v1/supply/circulating | Circulating supply in TRMP as a plain number (text/plain). |
Examples
curl https://trumpow.org/api/v1/blocks?limit=5
curl -X POST -H 'Content-Type: text/plain' --data '0100000001…' https://trumpow.org/api/v1/tx
Notes
- Amounts are integers in satoshis (1 TRMP = 100,000,000 sats). Some very large sums are returned as strings so they stay exact.
- Rate limit: 120 requests per minute per IP (bursts up to 60); broadcasts 6 per minute. Over the limit you get
429with aRetry-Afterheader. - Errors are JSON:
{"error": "..."}with status 400, 404, 429 or 503. A rejected broadcast returns 400 with the node's reason. - CORS is open, so you can call it from any website.
- Supply endpoints return a bare number as
text/plainfor supply trackers.