# RSS3 Chain API
> Live on-chain data for the RSS3 Value Sublayer (VSL) mainnet (the EVM chain of the RSS3 Open Information Layer, native RSS3) via Blockscout — no key. Read network stats (block height, total transactions, gas), a gas oracle in gwei, the most recent blocks and full block detail by height or hash, any address balance and contract info, full transaction detail, ERC-20 token detail by contract, and a universal search across addresses, tokens, blocks and transactions. Real chain data with the rotating proxy as automatic fallback — 9 endpoints. Ideal for wallets, explorers, data/social-graph tooling, portfolio trackers and on-chain monitoring on RSS3.

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

## Pricing
- **Free** (Free) — 4,650 calls/Mo, 2 req/s
- **Basic** ($8/Mo) — 111,500 calls/Mo, 8 req/s
- **Pro** ($27/Mo) — 606,000 calls/Mo, 20 req/s
- **Mega** ($72/Mo) — 2,960,000 calls/Mo, 50 req/s

## Endpoints

### Network

#### `GET /v1/gas` — Gas oracle (gwei)

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

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

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

### Blocks

#### `GET /v1/block` — Block detail by height or hash

**Parameters:**
- `height` (query, optional, string) — Block height Example: `33860000`
- `hash` (query, optional, string) — Block hash (0x + 64 hex)

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

#### `GET /v1/blocks` — Most recent blocks

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

### Accounts

#### `GET /v1/address` — Address balance & contract info

**Parameters:**
- `address` (query, required, string) — Address (0x + 40 hex) Example: `0xe53a81CCB79a161345E5b6BD6C4E9cE352ed2876`

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

#### `GET /v1/transaction` — Transaction detail

**Parameters:**
- `hash` (query, required, string) — Transaction hash (0x + 64 hex) Example: `0xcd13f37d77eefb04f9b5a773cadb84245c43e1861a68f9e9da96035191bba8ed`

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

### Tokens

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

**Parameters:**
- `address` (query, required, string) — Token contract (0x + 40 hex) Example: `0xE06Af68F0c9e819513a6CD083EF6848E76C28CD8`

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

### Search

#### `GET /v1/search` — Universal search

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

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

### Meta

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

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


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