Hive Application Framework
Block Explorer

Blockchain API for Hive

Query transactions, accounts, witnesses and blocks through a clean REST API. No node required.

Latest Block: Loading...

API Reference

16 endpoints across 5 groups.

Witnesses

5 endpoints
  • GET /witnesses

    Retrieve all witnesses with pagination and sorting

  • GET /witnesses/{account-name}

    Detailed info for a specific witness

  • GET /witnesses/{account-name}/voters

    Accounts voting for a witness

  • GET /witnesses/{account-name}/voters/count

    Voter count for a witness

  • GET /witnesses/{account-name}/votes/history

    Vote history for a witness

Accounts

5 endpoints
  • GET /accounts/{account-name}

    Account balances and parameters

  • GET /accounts/{account-name}/authority

    Cryptographic key authorities

  • GET /accounts/{account-name}/proxy-power

    Delegators and vested power

  • GET /accounts/{account-name}/comment-permlinks

    Post/comment identifiers

  • GET /accounts/{account-name}/operations/comments/{permlink}

    Operations for a post/comment

Block Search

1 endpoint
  • GET /block-search

    Find blocks by operation type, account, time range

Transactions

1 endpoint
  • GET /transaction-statistics

    Aggregated transaction counts by day/month/year

Utility

4 endpoints
  • GET /version

    Application version

  • GET /last-synced-block

    Most recent synced block number

  • GET /input-type/{input-value}

    Determine if input is block, hash, or account

  • GET /operation-type-counts

    Histogram of operation types

See it in action

No authentication required. Just HTTP GET.

  • Track account balances across token types
  • Browse block operations in real-time
  • Monitor witness rankings and votes
  • Search transaction history by operation type
curl "https://api.hive.blog/hafbe-api/accounts/blocktrades"

  "id": 440,
  "name": "blocktrades",
  "can_vote": true,
  "reputation": 69,
  "balance": 29594875,
  "vesting_shares": "8172549681941451",
  "witnesses_voted_for": 9,
  "is_witness": true

16 endpoints available — See full API docs

What's Inside

Three components, each with its own schema and sync process.

hafbe.toml
[balance-tracker]
syncs   = ["HIVE", "HBD", "VESTS"]
tracks  = ["savings", "delegations"]
history = true

[reputation-tracker]
syncs   = ["reputation", "authority"]
monitor = ["key-changes"]

[hafah]
type    = "Account History API"
replay  = false
format  = ["JSON-RPC", "REST"]
filter  = "operations"
  • SQL-first architecture
  • Smart Caching < 100ms
  • Fork Resistant
  • OpenAPI 3.1

How it works

  1. 1

    Hive Network

    3-second block time, DPoS consensus, 20 witnesses

  2. 2

    HAF Sync

    10k blocks/batch, automatic fork detection + rollback

  3. 3

    PostgreSQL

    Custom indexes, full SQL power

  4. 4

    PostgREST

    PL/pgSQL → REST endpoint, zero config

  5. 5

    Your App

    No SDK, no auth, HTTP GET → JSON