Price (USD)

$0

Market Cap (USD)

$0

Coin Supply (BONC)

0

Network Hashrate

0 KH/s

Next Halving

0 Days 0 Hours 0 Minutes


Bonkcoin API Documentation

Welcome to the Bonkcoin API documentation. Below are the available endpoints and examples of how to use them.

Available Endpoints


GET /api/v1/balance/{address}

Retrieve the balance and transaction totals for a specific address.

Example:

https://bonkcoinexplorer.com/api/v1/balance/BONK12345ABCDE67890FGHIJKLM1234NOPQ

Response:

3013262.41250152

GET /api/v1/address/{address}

Retrieve all transactions for a given address.

Example:

https://bonkcoinexplorer.com/api/v1/address/BONK12345ABCDE67890FGHIJKLM1234NOPQ

Response:

[
  {
    "txid": "8b1e8ef824b20f90ea816f4d0fsdw39ee1a3df88d36321b1c8e8f400e99f25dfc",
    "amount": "9826026.2001792",
    "direction": "received",
    "timestamp": "20-12-2024 05:52:45"
  },
  {
    "txid": "8b1e8ef824b20f90ea816f4d0fsdw39ee1a3df88d36321b1c8e8f400e99f25dfc",
    "amount": "2025526.31342009",
    "direction": "sent",
    "timestamp": "20-12-2024 05:20:10"
  }
]

GET /api/v1/txid/{txid}

Retrieve address and amount for a given transaction.

Example:

https://bonkcoinexplorer.com/api/v1/txid/c8684f73b09e01dae03d122500b2dc17977725c880ca3ef23cd41e2e52

Response:

[
  {
    "txid": "c8684f73b09e01dae03d122500b2dc17977725c880ca3ef23cd41e2e52",
    "inputs": [
        {
            "address": "BONK12345ABCDE67890FGHIJKLM123INPUT",
            "amount": 24497466.14272493
        }
    ],
    "outputs": [
        {
            "address": "BONK12345ABCDE67890FGHIJKLM123OUTPUT",
            "amount": 21202714.06776493
        },
        {
            "address": "BONK12345ABCDE67890FGHIJKLM123OUTPUT",
            "amount": 3294752.0727
        }
    ],
    "fee": 0.00226,
    "timestamp": "02-01-2025 20:22:19"
  }
]

GET /api/v1/blockcount

Retrieve the current block count in the blockchain.

Example:

https://bonkcoinexplorer.com/api/v1/blockcount

Response:

307967

GET /api/v1/lastprice

Retrieve the total money supply in the network.

Example:

https://bonkcoinexplorer.com/api/v1/lastprice

Response:

0.00026452

GET /api/v1/marketcap

Retrieve the total money supply in the network.

Example:

https://bonkcoinexplorer.com/api/v1/marketcap

Response:

23322200.0

GET /api/v1/coinsupply

Retrieve the total money supply in the network.

Example:

https://bonkcoinexplorer.com/api/v1/coinsupply

Response:

87997562500.0

GET /api/v1/blocktime

Retrieve the average block time in the network.

Example:

https://bonkcoinexplorer.com/api/v1/blocktime

Response:

4.34062e-14

GET /api/v1/hashrate

Retrieve the current network hashrate.

Example:

https://bonkcoinexplorer.com/api/v1/hashrate

Response:

1342000728748918