Skip to main content

GET /api/v1/anchors/

Retrieve a single anchor by ID. The detail response includes additional fields not present in the list response: first_event_hash and last_event_hash, which identify the hash chain boundaries for this anchor’s period.

Path Parameters

id
string
required
The anchor identifier (e.g., anc_abc123).

Response

{
  "data": {
    "id": "anc_abc123",
    "merkle_root": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
    "previous_anchor_hash": "4e07408562bedb8b60ce05c1decfe3ad16b72230967de01f640b7e4729b49fce",
    "first_event_hash": "a3f2c8d1e4b567890abcdef1234567890abcdef1234567890abcdef12345678",
    "last_event_hash": "7b9e1d3f5a2c67890abcdef1234567890abcdef1234567890abcdef12345678",
    "events_count": 1247,
    "period_start": "2026-03-27T00:00:00Z",
    "period_end": "2026-03-27T23:59:59Z",
    "chain": "base",
    "status": "confirmed",
    "tx_hash": "0x7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b",
    "block_number": 28451923,
    "explorer_url": "https://basescan.org/tx/0x7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b",
    "created_at": "2026-03-28T00:15:32Z"
  }
}

Response Fields

FieldTypeDescription
idstringUnique anchor identifier
merkle_rootstring64-character hex SHA-256 Merkle root of events in this period
previous_anchor_hashstring | nullSHA-256 hash of the previous anchor’s merkle_root + tx_hash. Null for the first anchor
first_event_hashstringHash of the first event in this anchor’s period
last_event_hashstringHash of the last event in this anchor’s period
events_countintegerNumber of events included in the Merkle tree
period_startstringISO 8601 start of the anchoring period
period_endstringISO 8601 end of the anchoring period
chainstringBlockchain network (base)
statusstringpending, submitted, or confirmed
tx_hashstring | nullBlockchain transaction hash
block_numberinteger | nullBlock number of the confirmed transaction
explorer_urlstring | nullDirect link to the transaction on Basescan
created_atstringISO 8601 timestamp of anchor creation

Examples

curl https://getimmutable.dev/api/v1/anchors/anc_abc123 \
  -H "Authorization: Bearer imk_your_api_key_here"
The first_event_hash and last_event_hash fields let you identify exactly which segment of the hash chain is covered by this anchor. Use these to cross-reference with the verify chain endpoint for a specific time range.