# HyperEVM API
> Live HyperEVM on-chain data via Blockscout. HyperEVM is the EVM layer of Hyperliquid; gas and balances are in HYPE. Network stats, gas prices, latest blocks, a block by height or hash, address detail with HYPE 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/hyperevm-api/..."
```

## Pricing
- **Free** (Free) — 2,100 calls/Mo, 1 req/s
- **Basic** ($17/Mo) — 92,500 calls/Mo, 10 req/s
- **Pro** ($53/Mo) — 610,000 calls/Mo, 20 req/s
- **Mega** ($168/Mo) — 3,050,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/hyperevm-api/v1/gas"
```

**Response:**
```json
{
    "data": {
        "fast": 2.78,
        "slow": 0.24,
        "unit": "gwei",
        "average": 0.52,
        "gas_used_today": "72924975148"
    },
    "meta": {
        "timestamp": "2026-06-08T09:50:06.812Z",
        "request_id": "274bb836-c139-46d8-80f4-37ed3e4e01d6"
    },
    "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/hyperevm-api/v1/stats"
```

**Response:**
```json
{
    "data": {
        "tvl_usd": null,
        "gas_prices": {
            "fast": 2.78,
            "slow": 0.24,
            "average": 0.52
        },
        "total_blocks": 24662462,
        "coin_price_usd": null,
        "gas_used_today": "72924975148",
        "market_cap_usd": 0,
        "total_addresses": "2607339",
        "total_transactions": "97289120",
        "transactions_today": "380434",
        "network_utilization_percent": 19.960854802259888
    },
    "meta": {
        "timestamp": "2026-06-08T09:50:06.983Z",
        "request_id": "1cacf4fc-038e-4725-8130-521579db4736"
    },
    "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: `37247338`
- `hash` (query, optional, string) — Block hash

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

**Response:**
```json
{
    "data": {
        "block": {
            "hash": "0xb324093ea08d9672026a21e0f57e14477c226feeb8e6b2cc19c4ffc62f41b477",
            "size": 1614,
            "miner": "0x0000000000000000000000000000000000000000",
            "height": 37247338,
            "reward": "7959572148409154",
            "gas_used": 1907656,
            "tx_count": 4,
            "gas_limit": 3000000,
            "timestamp": "2026-06-08T04:13:57.000000Z",
            "burnt_fees": "233030933856872",
            "difficulty": "0",
            "base_fee_per_gas": "122155637"
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:50:07.155Z",
        "request_id": "7643a8c1-e8b6-40d4-a494-29066430b7c3"
    },
    "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/hyperevm-api/v1/blocks"
```

**Response:**
```json
{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0x9d4cdf246d27bb447b9e65450c1b2e80f046517cc611fb2047023d6c6e33e868",
                "size": 1609,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 37267843,
                "reward": "26176601870524",
                "gas_used": 1430301,
                "tx_count": 4,
                "gas_limit": 3000000,
                "timestamp": "2026-06-08T09:50:05.000000Z",
                "burnt_fees": "195043154628411",
                "difficulty": "0",
                "base_fee_per_gas": "136365111"
            },
            {
                "hash": "0x57d0982849ac494b13bc274738aa844d40f2e64da2a7ea5ee96da3bc604542f4",
                "size": 1610,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 37267842,
                "reward": "37951642420000",
                "gas_used": 277959,
                "tx_count": 3,
                "gas_limit": 3000000,
                "timestamp": "2026-06-08T09:50:04.000000Z",
                "burnt_fees": "42201581583678",
                "difficulty": "0",
                "base_fee_per_gas": "151826642"
            },
            {
                "hash": "0x9b4ed18bdec648680e56a0377bb13601665e14fa6dce43f0fa88f72de3185df2",
                "size": 1610,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 372678
…(truncated, see openapi.json for full schema)
```

### Accounts

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

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

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

**Response:**
```json
{
    "data": {
        "address": {
            "ens": null,
            "hash": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb",
            "name": "TransparentUpgradeableProxy",
            "token": {
                "name": "USD₮0",
                "type": "ERC-20",
                "symbol": "USD₮0"
            },
            "creator": "0x1a6362AD64ccFF5902D46D875B36e8798267d154",
            "balance_wei": "0",
            "is_contract": true,
            "is_verified": true,
            "balance_hype": 0
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:50:07.708Z",
        "request_id": "696d2f92-a59d-4e89-b397-9781a6d5b075"
    },
    "status": "ok",
    "message": "Address retrieved successfully",
    "success": true
}
```

### Transactions

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

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

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

**Response:**
```json
{
    "data": {
        "transaction": {
            "to": "0xb0078F7a0E534eF70B064a9433F96000082Ae854",
            "from": "0x5B4267572FED452E1f5dd8cAB59Ec36644e6bd32",
            "hash": "0x79e1b7259ad31e48c8714f9b5afbd65d0d38597d1b75620e85860d185e513a7d",
            "type": 2,
            "block": 37247338,
            "nonce": 934,
            "method": null,
            "status": "ok",
            "fee_wei": "8163810418081248",
            "fee_hype": 0.008163810418081247,
            "gas_used": 1809648,
            "gas_price": "4511269826",
            "timestamp": "2026-06-08T04:13:57.000000Z",
            "value_wei": "0",
            "value_hype": 0,
            "confirmations": 20506
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:50:07.858Z",
        "request_id": "c5ab71e9-3ddd-42e4-8c5b-14963181a927"
    },
    "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: `0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb`

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

**Response:**
```json
{
    "data": {
        "token": {
            "icon": null,
            "name": "USD₮0",
            "type": "ERC-20",
            "symbol": "USD₮0",
            "holders": null,
            "decimals": 6,
            "total_supply": "210824130040021",
            "exchange_rate_usd": null,
            "circulating_market_cap": null
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:50:08.026Z",
        "request_id": "ee868741-6d65-473e-9984-6d36aa450900"
    },
    "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: `USD`

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

**Response:**
```json
{
    "data": {
        "count": 50,
        "query": "USD",
        "results": [
            {
                "name": "USD₮0",
                "type": "token",
                "symbol": "USD₮0",
                "address": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb"
            },
            {
                "name": "USDC",
                "type": "token",
                "symbol": "USDC",
                "address": "0xb88339CB7199b77E23DB6E890353E22632Ba630f"
            },
            {
                "name": "Mock USDC",
                "type": "token",
                "symbol": "mUSDC",
                "address": "0x88CD1FE7E295b9aA1de2025165a80A00314eDE67"
            },
            {
                "name": "Hyperbeat USDT",
                "type": "token",
                "symbol": "hbUSDT",
                "address": "0x5e105266db42f78FA814322Bce7f388B4C2e61eb"
            },
            {
                "name": "HyperLend HyperEVM USDT0",
                "type": "token",
                "symbol": "hHyperEvmUSDT0",
                "address": "0x10982ad645D5A112606534d8567418Cf64c14cB5"
            },
            {
                "name": "Hyper USD",
                "type": "token",
                "symbol": "USDHL",
                "address": "0xb50A96253aBDF803D85efcDce07Ad8becBc52BD5"
            },
            {
                "name": "USDeOFT",
                "type": "token",
                "symbol": "USDe",
                "address": "0x5d3a1Ff2b6BA
…(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/hyperevm-api/v1/meta"
```

**Response:**
```json
{
    "data": {
        "service": "hyperevm-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 HyperEVM 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. HyperEVM is the EVM layer of Hyperliquid; gas and balances are in HYPE. Real on-chain data, no key."
    },
    "meta": {
        "timestamp": "2026-06-08T09:50:09.038Z",
        "request_id": "a89dcfd6-8aa8-47a5-93ee-4b4d11c6667d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


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