# Immutable zkEVM API
> Live Immutable zkEVM on-chain data via Blockscout. Immutable zkEVM is a gaming-focused Ethereum L2; gas and balances are in IMX. Network stats, gas prices, latest blocks, a block by height or hash, address detail with IMX balance, a transaction by hash, ERC-20 token metadata and a universal search across addresses, tokens, blocks and transactions. Real data, no key.

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

## Pricing
- **Free** (Free) — 1,100 calls/Mo, 1 req/s
- **Basic** ($16/Mo) — 70,000 calls/Mo, 10 req/s
- **Pro** ($48/Mo) — 450,000 calls/Mo, 20 req/s
- **Mega** ($155/Mo) — 2,200,000 calls/Mo, 50 req/s

## Endpoints

### Network

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

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

**Response:**
```json
{
    "data": {
        "fast": 11.42,
        "slow": 11.1,
        "unit": "gwei",
        "average": 11.27,
        "gas_used_today": "9861858083"
    },
    "meta": {
        "timestamp": "2026-06-08T01:18:03.452Z",
        "request_id": "5431d7e4-d12d-42b2-93bf-a254e7d278b9"
    },
    "status": "ok",
    "message": "Gas retrieved successfully",
    "success": true
}
```

#### `GET /v1/stats` — Network statistics

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

**Response:**
```json
{
    "data": {
        "tvl_usd": null,
        "gas_prices": {
            "fast": 11.42,
            "slow": 11.11,
            "average": 11.27
        },
        "total_blocks": 39299519,
        "coin_price_usd": 0.137793,
        "gas_used_today": "9861858083",
        "market_cap_usd": 116082965.78177448,
        "total_addresses": "26040090",
        "total_transactions": "237987829",
        "transactions_today": "73251",
        "network_utilization_percent": 0.6970223333333333
    },
    "meta": {
        "timestamp": "2026-06-08T01:18:04.414Z",
        "request_id": "dcc2ef86-60f2-424a-8e79-81b334e9a3b8"
    },
    "status": "ok",
    "message": "Stats retrieved successfully",
    "success": true
}
```

### Blocks

#### `GET /v1/block` — A block by height or hash

**Parameters:**
- `height` (query, optional, string) — Block height Example: `39299272`
- `hash` (query, optional, string) — Block hash

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

**Response:**
```json
{
    "data": {
        "block": {
            "hash": "0x9710061e234f87e18af517e4a4bbe75a6c17f18772b6cd2ee4d0fb847eb42287",
            "size": 4916,
            "miner": "0x0000000000000000000000000000000000000000",
            "height": 39299272,
            "gas_used": 508798,
            "tx_count": 6,
            "gas_limit": 30000000,
            "timestamp": "2026-06-08T01:09:34.000000Z",
            "burnt_fees": "24931102",
            "difficulty": "2",
            "base_fee_per_gas": "49"
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:18:04.520Z",
        "request_id": "9a74cb74-9532-4143-9ca8-390dc0408091"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}
```

#### `GET /v1/blocks` — Latest blocks

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

**Response:**
```json
{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0xfa3983d0284310f4f3153000d3093d68390e47a7537f7b1973f43d930355d6a1",
                "size": 681,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 39299526,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T01:18:02.000000Z",
                "burnt_fees": "0",
                "difficulty": "2",
                "base_fee_per_gas": "49"
            },
            {
                "hash": "0x29e5e07240bfa1b2268f039f3b48140bf9c65a6eecea1cb706ea33a6630ac1b4",
                "size": 1789,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 39299525,
                "gas_used": 124308,
                "tx_count": 2,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T01:18:00.000000Z",
                "burnt_fees": "6091092",
                "difficulty": "2",
                "base_fee_per_gas": "49"
            },
            {
                "hash": "0x9b71051951349cb524b385f54c7e4f6f715ae9a144888af7d0166dc0e3c139af",
                "size": 1800,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 39299524,
                "gas_used": 160578,
                "tx_count": 2,
                "gas_limit": 30000000,
                "t
…(truncated, see openapi.json for full schema)
```

### Accounts

#### `GET /v1/address` — Address detail with IMX balance

**Parameters:**
- `address` (query, required, string) — Address hash Example: `0x6de8aCC0D406837030CE4dd28e7c08C5a96a30d2`

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

**Response:**
```json
{
    "data": {
        "address": {
            "ens": null,
            "hash": "0x6de8aCC0D406837030CE4dd28e7c08C5a96a30d2",
            "name": "USDC",
            "token": {
                "name": "USDC",
                "type": "ERC-20",
                "symbol": "USDC"
            },
            "creator": "0xBa5E35E26Ae59c7aea6F029B68c6460De2d13eB6",
            "balance_imx": 0,
            "balance_wei": "0",
            "is_contract": true,
            "is_verified": true
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:18:05.031Z",
        "request_id": "247c08f4-98df-4c03-953f-309c4fb236c0"
    },
    "status": "ok",
    "message": "Address retrieved successfully",
    "success": true
}
```

### Transactions

#### `GET /v1/transaction` — A transaction by hash

**Parameters:**
- `hash` (query, required, string) — Transaction hash Example: `0x7a067d4c44189529472af50b1f3e60a96dfe7d0210bd2ee92ae838e63541a64a`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/immutable-api/v1/transaction?hash=0x7a067d4c44189529472af50b1f3e60a96dfe7d0210bd2ee92ae838e63541a64a"
```

**Response:**
```json
{
    "data": {
        "transaction": {
            "to": "0x0CF79ecDe0c183B0cf3Fe66B624E29B127bfc867",
            "from": "0x8f3AB2a3B5eC395f5809151216a51d9d9D343b70",
            "hash": "0x7a067d4c44189529472af50b1f3e60a96dfe7d0210bd2ee92ae838e63541a64a",
            "type": 2,
            "block": 39299272,
            "nonce": 50781,
            "method": "safeTransferFrom",
            "status": "ok",
            "fee_imx": 0.000824424003366398,
            "fee_wei": "824424003366398",
            "gas_used": 68702,
            "gas_price": "12000000049",
            "timestamp": "2026-06-08T01:09:34.000000Z",
            "value_imx": 0,
            "value_wei": "0",
            "confirmations": 256
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:18:05.288Z",
        "request_id": "d59a32b5-3f5a-4a48-8058-23cc84a981fa"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}
```

### Tokens

#### `GET /v1/token` — ERC-20 token metadata

**Parameters:**
- `address` (query, required, string) — Token contract address Example: `0x6de8aCC0D406837030CE4dd28e7c08C5a96a30d2`

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

**Response:**
```json
{
    "data": {
        "token": {
            "icon": "https://assets.coingecko.com/coins/images/35844/small/usdc.png?1709890596",
            "name": "USDC",
            "type": "ERC-20",
            "symbol": "USDC",
            "holders": null,
            "decimals": 6,
            "total_supply": "2822917283460",
            "exchange_rate_usd": 0.99806,
            "circulating_market_cap": "2827443.073395991"
        }
    },
    "meta": {
        "timestamp": "2026-06-08T01:18:05.415Z",
        "request_id": "db3bbcdf-8c4d-479e-96b7-88372571e7da"
    },
    "status": "ok",
    "message": "Token retrieved successfully",
    "success": true
}
```

### Search

#### `GET /v1/search` — Universal on-chain search

**Parameters:**
- `q` (query, required, string) — Address, token, block or tx Example: `USDC`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/immutable-api/v1/search?q=USDC"
```

**Response:**
```json
{
    "data": {
        "count": 14,
        "query": "USDC",
        "results": [
            {
                "name": "USDC",
                "type": "token",
                "symbol": "USDC",
                "address": "0x6de8aCC0D406837030CE4dd28e7c08C5a96a30d2"
            },
            {
                "name": "USDC 1250$ AIRDROP",
                "type": "token",
                "symbol": "AIRDROP",
                "address": "0x82cb10142bef92DD40d1FC0b4f0d48E325356580"
            },
            {
                "name": "xWIMX-USDC05",
                "type": "token",
                "symbol": "xWIMX-USDC05",
                "address": "0x6e9d701fB6478Ed5972a37886C2BA6C82a4cBb4C"
            },
            {
                "name": "xWIMX-USDC3",
                "type": "token",
                "symbol": "xWIMX-USDC3",
                "address": "0x216D3DF2DF6DeC7c95D3b51F018eE4b11E416eBb"
            },
            {
                "name": "GEX USDC-GODS LP",
                "type": "token",
                "symbol": "GEX-USDC-GODS",
                "address": "0xdafeb8d63BE1dDBf7040536adb79DDBFfbCA35D0"
            },
            {
                "name": "GEX WIMX-USDC LP",
                "type": "token",
                "symbol": "GEX-WIMX-USDC",
                "address": "0xC2d9F1FD5a0BA6b28bC7Ee7D2790eB6830B2c5c3"
            },
            {
                "name": "WIMX-USDC LP",
                "type": "token",
                "symbol": "WIMX-USDC",
  
…(truncated, see openapi.json for full schema)
```

### Meta

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

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

**Response:**
```json
{
    "data": {
        "service": "immutable-api",
        "endpoints": {
            "GET /v1/gas": "Gas oracle (slow/average/fast in gwei).",
            "GET /v1/meta": "This document.",
            "GET /v1/block": "Block detail by height= or hash=.",
            "GET /v1/stats": "Network stats (blocks, txns, coin price, market cap, gas).",
            "GET /v1/token": "ERC-20 token detail by contract (address=).",
            "GET /v1/blocks": "The most recent blocks.",
            "GET /v1/search": "Search addresses, tokens, blocks & txns (q=).",
            "GET /v1/address": "Address balance, ENS & contract info (address=).",
            "GET /v1/transaction": "Transaction detail (hash=)."
        },
        "description": "Live Immutable zkEVM on-chain data via Blockscout: network stats, a gas oracle (gwei), recent blocks and block detail, address balances with ENS, transaction detail, ERC-20 token detail and a universal search across addresses, tokens, blocks and transactions. Immutable zkEVM is a gaming-focused Ethereum L2; gas and balances are in IMX. Real on-chain data, no key."
    },
    "meta": {
        "timestamp": "2026-06-08T01:18:05.844Z",
        "request_id": "168ae5fd-8324-45ef-99f8-3b1f6c80eea8"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


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