Skip to content
GET /v1/epoch

Current epoching epoch

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/babylon-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/babylon-api/v1/epoch" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/babylon-api/v1/epoch", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/babylon-api/v1/epoch");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/babylon-api/v1/epoch",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "chain": "bbn-1",
        "current_epoch": 10321,
        "epoch_boundary": 3715560
    },
    "meta": {
        "timestamp": "2026-06-15T02:10:11.407Z",
        "request_id": "884d6393-7944-4655-bbd7-0884bc482055"
    },
    "status": "ok",
    "message": "Epoch retrieved successfully",
    "success": true
}