# Dogecoin API
> Live on-chain data from the Dogecoin network (DOGE), the original meme cryptocurrency, a proof-of-work UTXO chain with 1-minute blocks: an address's confirmed DOGE balance, total received and sent, transaction count and unconfirmed balance; a transaction's total value, fee, size, input/output counts and confirmation status; a block's height, hash, timestamp, transaction count, total value, fees and size; and the live network state — tip height and hash, recommended fee rates and unconfirmed transaction count.

## Authentication
All requests require your oanor API key in the `x-oanor-key` header. Get one at https://www.oanor.com/developer/keys.

```bash
curl -H "x-oanor-key: oanor_live_…" "https://api.oanor.com/dogecoin-api/..."
```

## Pricing
- **Free** (Free) — 9,000 calls/Mo, 2 req/s
- **Basic** ($8/Mo) — 135,000 calls/Mo, 5 req/s
- **Pro** ($23/Mo) — 870,000 calls/Mo, 10 req/s
- **Scale** ($56/Mo) — 4,600,000 calls/Mo, 20 req/s

## Endpoints

### Network

#### `GET /v1/network` — Live Dogecoin chain state, tip and fees

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/dogecoin-api/v1/network"
```

**Response:**
```json
{
    "data": {
        "chain": "dogecoin",
        "source": "Dogecoin",
        "tip_hash": "200dd805839fdbd1621d75884afdbe7c31b40da3d8b4afa998d3670b2b5b9c6e",
        "peer_count": 168,
        "tip_height": 6243022,
        "previous_hash": "00464d63b3dfec81484a99900e3320db82b1e379f9d9100e9751a30c959ea4c0",
        "fees_per_kb_doge": {
            "low": 0.07469595,
            "high": 2.25519451,
            "medium": 0.59150324
        },
        "last_fork_height": 6241887,
        "fees_per_kb_koinu": {
            "low": 7469595,
            "high": 225519451,
            "medium": 59150324
        },
        "latest_block_time": "2026-06-10T14:01:28.023758299Z",
        "unconfirmed_tx_count": 13
    },
    "meta": {
        "timestamp": "2026-06-10T14:01:42.796Z",
        "request_id": "c137a3a1-f032-44fa-88bc-442bf4aac290"
    },
    "status": "ok",
    "message": "Network state retrieved successfully",
    "success": true
}
```

### Address

#### `GET /v1/address` — An address DOGE balance and history

**Parameters:**
- `address` (query, required, string) — Dogecoin address Example: `DH5yaieqoZN36fDVciNyRueRGvGLR3mr7L`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/dogecoin-api/v1/address?address=DH5yaieqoZN36fDVciNyRueRGvGLR3mr7L"
```

**Response:**
```json
{
    "data": {
        "source": "Dogecoin",
        "address": "DH5yaieqoZN36fDVciNyRueRGvGLR3mr7L",
        "tx_count": 1474,
        "balance_doge": 61870.07540823,
        "total_sent_doge": 43853282503.07366,
        "final_balance_doge": 61870.07540823,
        "total_received_doge": 43853344373.14908,
        "unconfirmed_tx_count": 0,
        "unconfirmed_balance_doge": 0
    },
    "meta": {
        "timestamp": "2026-06-10T14:01:43.043Z",
        "request_id": "554c7681-e9f4-4f9b-83e7-33ee58a97ff2"
    },
    "status": "ok",
    "message": "Address retrieved successfully",
    "success": true
}
```

### Transaction

#### `GET /v1/transaction` — A transaction value, fee and confirmations

**Parameters:**
- `id` (query, required, string) — 64-hex transaction id Example: `c72557f551216ee3e534b4fe09ad4ec257d33dfb4d7a7cb00f94bad870ae3a08`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/dogecoin-api/v1/transaction?id=c72557f551216ee3e534b4fe09ad4ec257d33dfb4d7a7cb00f94bad870ae3a08"
```

**Response:**
```json
{
    "data": {
        "size": 94,
        "txid": "c72557f551216ee3e534b4fe09ad4ec257d33dfb4d7a7cb00f94bad870ae3a08",
        "source": "Dogecoin",
        "fee_doge": 0,
        "confirmed": true,
        "fee_koinu": 0,
        "total_doge": 10297.68408048,
        "input_count": 1,
        "block_height": 5000000,
        "confirmed_at": "2023-12-10T06:04:05.757Z",
        "double_spend": false,
        "output_count": 1,
        "confirmations": 1243023
    },
    "meta": {
        "timestamp": "2026-06-10T14:01:43.286Z",
        "request_id": "d059ced9-a659-4e82-8846-a1b17ed7bbd3"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}
```

### Block

#### `GET /v1/block` — A block details by height, hash or latest

**Parameters:**
- `height` (query, optional, string) — Block height, 64-hex hash or latest Example: `5000000`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/dogecoin-api/v1/block?height=5000000"
```

**Response:**
```json
{
    "data": {
        "bits": 436276198,
        "hash": "5ae6eadfe5fd98fa7f388b671c4863db4b62e46eecc054465a276d419500e469",
        "size": 749130,
        "depth": 1243022,
        "nonce": 0,
        "height": 5000000,
        "source": "Dogecoin",
        "version": 6422788,
        "tx_count": 2749,
        "fees_doge": 297.68408048,
        "timestamp": "2023-12-10T06:03:55Z",
        "total_doge": 32094740.79997102,
        "merkle_root": "917dc6a9ef164e30a33c71bead0b64db1f55b9f8591fed8111f5d709389bf80b",
        "received_at": "2023-12-10T06:04:05.757Z",
        "previous_hash": "9539e9e02de22121e90fdb067fd975e06ff73f3200d6d0aa7e37d17f2151c69c"
    },
    "meta": {
        "timestamp": "2026-06-10T14:01:43.519Z",
        "request_id": "3df368d0-1468-4b65-baa9-8f952dbf96b3"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}
```

### Meta

#### `GET /v1/meta` — Service metadata and endpoint catalog

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/dogecoin-api/v1/meta"
```

**Response:**
```json
{
    "data": {
        "source": "BlockCypher Dogecoin explorer API (live)",
        "service": "dogecoin-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/block": "A block's details (height=latest|N|hash).",
            "GET /v1/address": "An address's DOGE balance + history (address=DH5yaieqoZN36fDVciNyRueRGvGLR3mr7L).",
            "GET /v1/network": "Live tip, fees and unconfirmed count.",
            "GET /v1/transaction": "A transaction's value, fee and confirmations (id=64 hex)."
        },
        "tip_height": 6243022,
        "description": "Live on-chain data from the Dogecoin network (DOGE), the original meme cryptocurrency, a proof-of-work UTXO chain with 1-minute blocks and Scrypt merged-mining, via the public BlockCypher explorer. The address endpoint returns an address's confirmed DOGE balance, total received and sent, transaction count and any unconfirmed balance; the transaction endpoint returns a transaction's total value, fee, size, input/output counts and confirmation status; the block endpoint returns a block's height, hash, timestamp, transaction count, total value, fees and size; the network endpoint returns the tip height and hash, recommended fee rates and unconfirmed transaction count. Live, no key, nothing stored. Distinct from the Bitcoin, Litecoin, Kaspa, XRP Ledger, Cardano, Hedera, Cosmos, Sui, NEAR, MultiversX, Starknet, Solana and EVM on-chain APIs and from price feeds — this is Dogecoin's UTXO
…(truncated, see openapi.json for full schema)
```


---
Marketplace page: https://www.oanor.com/api/dogecoin-api
OpenAPI spec: https://www.oanor.com/api/dogecoin-api/openapi.json
