Dogecoin Blockbook REST API
GetBlock provides fast and reliable access to Dogecoin address, UTXO, and wallet data via the Blockbook REST API. Connect to the Dogecoin network without running your own infrastructure.
Blockbook is an address-indexed and xpub-indexed view of the Dogecoin chain. A Dogecoin Core node tracks unspent outputs but does not organize them by address, so it cannot answer address-level questions on its own. Blockbook, built by Trezor, maintains that index on top of the chain and answers questions about an address or a whole wallet: balances, transaction history, and unspent outputs.
GetBlock's Blockbook add-on is provisioned through separate REST and WebSocket endpoints. Use REST for address, transaction, balance, and UTXO queries. Use WebSocket when subscriptions are required. A standard Dogecoin JSON-RPC endpoint does not support Blockbook methods.
Setting up a Blockbook endpoint
Sign in to GetBlock and start a new endpoint in the configurator
Select Dogecoin → Mainnet → Full → Blockbook(REST).
Use the access token the configurator returns. Blockbook gets its own endpoint URL, distinct from any Dogecoin JSON-RPC token already on the account, and every path below is appended to that URL
Base URL
https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/api/v2/Endpoints
GET
/api/status
Returns the indexer's sync state and the connected node's metadata
GET
/api/v2/address/{address}
Returns balance and transaction data for a single Dogecoin address
GET
/api/v2/xpub/{xpub}
Returns wallet-level balance and transaction data for an extended public key or output descriptor
GET
/api/v2/utxo/{addressOrXpub}
Returns the unspent transaction outputs for an address, extended public key, or descriptor
GET
/api/v2/balancehistory/{address}
Returns aggregated balance-change history over a time range
GET
/api/v2/tx/{txid}
Returns a normalized transaction by its id
GET
/api/v2/tx-specific/{txid}
Returns the transaction in the node's own JSON shape
GET
/api/v2/block/{blockId}
Returns a block by height or hash with a paged list of its transactions
GET
/api/v2/block-index/{blockHeight}
Returns the block hash at a given block height
GET
/api/v2/rawblock/{blockId}
Returns the raw serialized hex of a block
GET
/api/v2/feestats/{blockId}
Returns fee statistics for the transactions in one block
GET
/api/v2/estimatefee/{blocks}
Returns the backend fee estimate for a confirmation target
POST
/api/v2/sendtx/
Broadcasts a signed, serialized transaction and returns its transaction id
GET
/api/v2/tickers/
Returns current or historical fiat exchange rates for Dogecoin
GET
/api/v2/tickers-list/
Returns the currencies with rate data at a given timestamp
GET
/api/v2/multi-tickers/
Returns fiat rate tickers for several timestamps at once
Dogecoin specifics
These differ from the other UTXO chains and are worth reading before integrating.
Amounts are in koinu, at 1e-8 DOGE, and are large in absolute terms. A mid-sized exchange balance runs to sixteen digits. Use a 64-bit integer or a decimal type; a 32-bit integer overflows.
A one-block fee target returns
-1. The node has no estimate for it, and Blockbook passes the-1through. Multiplying it by a transaction size yields a negative fee. Check the estimate is positive, or request 6 blocks or more. See api/v2/estimatefee.No SegWit. Transactions report
sizeonly, with novsizein the normalized schema, and fee rates are per byte.One-minute blocks. Heights advance about ten times faster than Bitcoin, so a confirmation depth copied from a Bitcoin integration settles in roughly a tenth of the wall-clock time.
Merge-mined with Litecoin. Block
nonceis always0, and raw blocks carry an AuxPoW header after the standard block header. A parser written for Bitcoin's block format will not read them without handling that.Derivation uses BIP44 coin type 3, so account paths read
m/44'/3'/0'/....
Wallet RPC methods are not available
listunspent
/api/v2/utxo/{address}
listtransactions
/api/v2/address/{address}?details=txs
getbalance
/api/v2/address/{address}?details=basic
getreceivedbyaddress
/api/v2/address/{address}?details=basic
gettransaction
/api/v2/tx/{txid}
Troubleshooting
A computed fee comes out negative
estimatefee returned -1 for a one-block target
Check the estimate is positive; request 6 blocks or more
405 Method Not Allowed on listunspent
Dogecoin Core wallet RPCs are disabled on shared nodes
Use /api/v2/utxo/{address}
An HTML page is returned instead of JSON
A POST was sent to the endpoint root, which serves the Blockbook web interface
Send a GET to a /api/v2/ path
403 Forbidden
The token is missing, invalid, or belongs to a different endpoint configuration
Confirm the token was provisioned as Dogecoin → Blockbook → REST
An address query returns no address or path
Those fields are returned only for xpub and descriptor queries
Expected behaviour; the owning address is the one requested
Support
Support: support@getblock.io
Last updated
Was this helpful?