# Nibiru Chain API
> Real-time on-chain data for Nibiru (chain-id cataclysm-1), a Cosmos-SDK Layer-1 for DeFi with a native EVM, secured by delegated proof-of-stake with NIBI as its native coin. The status endpoint returns the chain id, latest block height and time, proposer and node application version so you can confirm the chain is live and producing blocks. The validators endpoint returns the full bonded validator set — each moniker, operator address, stake in NIBI, commission rate and jailed flag — sorted by stake, plus the total bonded and not-bonded NIBI. The supply endpoint returns the total NIBI supply (in NIBI and base unibi), the bonded amount and the bonded ratio. The governance endpoint returns the most recent on-chain governance proposals with title, status and voting window. The meta endpoint documents the chain, denom and decimals. Reads a live Nibiru Cosmos-SDK LCD node directly (with mirror fallback), so values are current to the latest block. Live, nothing stored. 5 endpoints. This serves chain-level staking, supply and governance data; for token prices or smart-contract reads use a dedicated market/contract API.

## 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/nibiru-api/..."
```

## Pricing
- **Free** (Free) — 290 calls/Mo, 2 req/s
- **Basic** ($14/Mo) — 24,500 calls/Mo, 5 req/s
- **Pro** ($35/Mo) — 128,000 calls/Mo, 20 req/s
- **Mega** ($79/Mo) — 575,000 calls/Mo, 60 req/s

## Endpoints

### Chain

#### `GET /v1/status` — Chain status: latest block, chain id, node version

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

**Response:**
```json
{
    "data": {
        "chain": "Nibiru",
        "healthy": true,
        "chain_id": "cataclysm-1",
        "native_symbol": "NIBI",
        "node_app_version": "v2.14.0-rc.1",
        "proposer_address": "ceWX7rF0x+OG/NwG/hsYgD03dVA=",
        "latest_block_time": "2026-06-15T20:40:20.129104125Z",
        "latest_block_height": 42241386
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:39.482Z",
        "request_id": "9f3c2cac-9e55-47dd-ae98-95b36e49de59"
    },
    "status": "ok",
    "message": "Chain status retrieved successfully",
    "success": true
}
```

### Staking

#### `GET /v1/supply` — Total NIBI supply and bonded ratio

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

**Response:**
```json
{
    "data": {
        "chain": "Nibiru",
        "denom": "unibi",
        "decimals": 6,
        "bonded_nibi": "186222844.518873",
        "native_symbol": "NIBI",
        "bonded_ratio_pct": 17.25,
        "total_supply_nibi": "1079471980.423468",
        "total_supply_unibi": "1079471980423468"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:39.567Z",
        "request_id": "413e7018-c44d-446e-a925-ea25130c7c85"
    },
    "status": "ok",
    "message": "Supply retrieved successfully",
    "success": true
}
```

#### `GET /v1/validators` — Bonded validator set with stake and commission

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

**Response:**
```json
{
    "data": {
        "chain": "Nibiru",
        "validators": [
            {
                "jailed": false,
                "status": "BOND_STATUS_BONDED",
                "moniker": "Nodes.Guru",
                "tokens_nibi": "34289493.119788",
                "tokens_unibi": "34289493119788",
                "commission_rate": 0.05,
                "operator_address": "nibivaloper1hvt68he6uvadnk73rjy6hg7a4u2myud5yhj3ae"
            },
            {
                "jailed": false,
                "status": "BOND_STATUS_BONDED",
                "moniker": "iStake",
                "tokens_nibi": "31819077.931273",
                "tokens_unibi": "31819077931273",
                "commission_rate": 0.05,
                "operator_address": "nibivaloper1ew2hw9fakn4m33lzxrhzqhxrwk9na496tpemey"
            },
            {
                "jailed": false,
                "status": "BOND_STATUS_BONDED",
                "moniker": "Nibiru",
                "tokens_nibi": "28214576.032808",
                "tokens_unibi": "28214576032808",
                "commission_rate": 0.05,
                "operator_address": "nibivaloper1xwh38k5kulrfglt34qqmnsrrjg788d4azq6e5u"
            },
            {
                "jailed": false,
                "status": "BOND_STATUS_BONDED",
                "moniker": "polkachu.com",
                "tokens_nibi": "24964148.412634",
                "tokens_unibi": "24964148412634",
                "commission_rate": 0.05,
                "op
…(truncated, see openapi.json for full schema)
```

### Governance

#### `GET /v1/governance` — Recent on-chain governance proposals

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

**Response:**
```json
{
    "data": {
        "chain": "Nibiru",
        "count": 10,
        "proposals": [
            {
                "id": "29",
                "title": "v2.14.0",
                "status": "PROPOSAL_STATUS_PASSED",
                "summary": "Upgrade to v2.14.0",
                "submit_time": "2026-06-10T11:45:41.556617182Z",
                "voting_end_time": "2026-06-12T11:45:41.556617182Z"
            },
            {
                "id": "28",
                "title": "v2.12.0",
                "status": "PROPOSAL_STATUS_PASSED",
                "summary": "Upgrade to v2.12.0",
                "submit_time": "2026-04-24T16:24:16.683436933Z",
                "voting_end_time": "2026-04-26T16:24:16.683436933Z"
            },
            {
                "id": "27",
                "title": "v2.11.0",
                "status": "PROPOSAL_STATUS_PASSED",
                "summary": "Upgrade to v2.11.0",
                "submit_time": "2026-02-11T13:27:24.083048006Z",
                "voting_end_time": "2026-02-13T13:27:24.083048006Z"
            },
            {
                "id": "26",
                "title": "v2.9.0",
                "status": "PROPOSAL_STATUS_PASSED",
                "summary": "Upgrade to v2.9.0",
                "submit_time": "2025-11-11T19:44:42.378892127Z",
                "voting_end_time": "2025-11-13T19:44:42.378892127Z"
            },
            {
                "id": "25",
                "title": "v2.9.0",
                "status": "PRO
…(truncated, see openapi.json for full schema)
```

### Meta

#### `GET /v1/meta` — Chain metadata

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

**Response:**
```json
{
    "data": {
        "type": "Cosmos-SDK Layer-1 (Tendermint/CometBFT, EVM-equipped)",
        "chain": "Nibiru",
        "denom": "unibi",
        "chain_id": "cataclysm-1",
        "decimals": 6,
        "ecosystem": "Nibiru — a Cosmos-SDK Layer-1 for DeFi with a native EVM, native coin NIBI, secured by delegated proof-of-stake.",
        "endpoints": [
            "/v1/status",
            "/v1/validators",
            "/v1/supply",
            "/v1/governance",
            "/v1/meta"
        ],
        "documentation": "https://nibiru-api.oanor.dev",
        "native_symbol": "NIBI"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:39.832Z",
        "request_id": "3349ebf9-ceb6-4a04-8e2f-0dec202a4b78"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


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