# 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"
```

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

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

### 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"
```

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

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

### 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"
```

### 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"
```

### 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"
```

### 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"
```

### Meta

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

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


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