# Monad API
> Live EVM on-chain data for Monad (chain id 143) — the high-performance, parallel-execution Layer-1 designed for thousands of transactions per second, whose native token is MON — served directly from public EVM JSON-RPC nodes with multi-node failover. The status endpoint returns the chain and network id, the latest block height and the node client version. The block endpoint returns a block by number (or the latest) with its hash, parent hash, timestamp, transaction count, gas used and gas limit, miner and size. The gas endpoint returns the current gas price in both wei and gwei. The balance endpoint returns the MON balance and outgoing transaction count for any address, converted from base wei (18 decimals) into whole MON with exact big-integer scaling. Every figure is read live from the chain over JSON-RPC — nothing bundled or modelled — behind a short server-side cache with keep-warm so the feed stays fast and fresh. Ideal for explorers, wallet and dashboard tooling, gas trackers, address monitors and analytics apps across the Monad ecosystem. Live keyless upstream. 5 endpoints.

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

## Pricing
- **Free** (Free) — 400 calls/Mo, 2 req/s
- **Starter** ($14/Mo) — 17,200 calls/Mo, 8 req/s
- **Pro** ($37/Mo) — 88,000 calls/Mo, 16 req/s
- **Mega** ($88/Mo) — 350,000 calls/Mo, 40 req/s

## Endpoints

### Monad

#### `GET /v1/balance` — Address balance & tx count

**Parameters:**
- `address` (query, optional, string) — EVM address (0x + 40 hex) Example: `0x000000000000000000000000000000000000dEaD`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/monad-api/v1/balance?address=0x000000000000000000000000000000000000dEaD"
```

**Response:**
```json
{
    "data": {
        "chain": "Monad",
        "symbol": "MON",
        "address": "0x000000000000000000000000000000000000dEaD",
        "balance": 4980.484656,
        "tx_count": 0,
        "balance_wei": "4980484656011323274358"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:07.318Z",
        "request_id": "e7eba5d9-4716-4841-9376-196408d4eb9e"
    },
    "status": "ok",
    "message": "Monad balance retrieved",
    "success": true
}
```

#### `GET /v1/block` — Block by number (or latest)

**Parameters:**
- `number` (query, optional, string) — Block number; omit for latest Example: `5000000`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/monad-api/v1/block?number=5000000"
```

**Response:**
```json
{
    "data": {
        "hash": "0xd0f94c697d3164ccb82bebe277fb593f6b2b2847759cadc59b7ea225051e5a76",
        "chain": "Monad",
        "miner": "0x0000000000000000000000000000000000000000",
        "number": 5000000,
        "gas_used": 0,
        "tx_count": 0,
        "gas_limit": 150000000,
        "timestamp": 1749744684,
        "size_bytes": 618,
        "parent_hash": "0x2b2bc28647623ef25b9ee1dbcf34ae2fda87f8762fe3e38c0fc143787a7a5857",
        "timestamp_iso": "2025-06-12T16:11:24.000Z"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:07.501Z",
        "request_id": "ae12175e-85ae-4394-a381-4b97e7ceb30d"
    },
    "status": "ok",
    "message": "Monad block retrieved",
    "success": true
}
```

#### `GET /v1/gas` — Current gas price

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

**Response:**
```json
{
    "data": {
        "chain": "Monad",
        "source": "eth_gasPrice",
        "symbol": "MON",
        "gas_price_wei": 102000000000,
        "gas_price_gwei": 102
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:07.585Z",
        "request_id": "3347c995-36b6-4e78-991e-d9df3ab838ba"
    },
    "status": "ok",
    "message": "Monad gas retrieved",
    "success": true
}
```

#### `GET /v1/status` — Chain status

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

**Response:**
```json
{
    "data": {
        "chain": "Monad",
        "source": "Monad EVM RPC",
        "symbol": "MON",
        "chain_id": 143,
        "network_id": 143,
        "latest_block": 81517031,
        "client_version": "Monad/0.14.5"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:07.699Z",
        "request_id": "dac3df05-9ad0-4074-9f64-8f24015a8b0d"
    },
    "status": "ok",
    "message": "Monad status retrieved",
    "success": true
}
```

### Meta

#### `GET /v1/meta` — Spec

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

**Response:**
```json
{
    "data": {
        "api": "Monad API",
        "chain": "Monad",
        "source": "Monad EVM JSON-RPC nodes",
        "symbol": "MON",
        "chain_id": 143,
        "endpoints": [
            "/v1/status",
            "/v1/block",
            "/v1/gas",
            "/v1/balance",
            "/v1/meta"
        ],
        "description": "Live EVM on-chain data for Monad — the high-performance parallel-execution Layer-1, native token MON.",
        "documentation": "https://monad-api.oanor.dev"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:07.761Z",
        "request_id": "1d31b161-b885-44d3-8e2d-98597561be5c"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


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