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

**Response:**
```json
{
    "data": {
        "fast": 0.01,
        "slow": 0.01,
        "unit": "gwei",
        "average": 0.01,
        "gas_used_today": null
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:16.090Z",
        "request_id": "c8d4e0fc-6ebd-4f07-906b-59e0d4f9525e"
    },
    "status": "ok",
    "message": "Gas retrieved successfully",
    "success": true
}
```

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

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

**Response:**
```json
{
    "data": {
        "tvl_usd": null,
        "gas_prices": {
            "fast": 0.01,
            "slow": 0.01,
            "average": 0.01
        },
        "total_blocks": 33865122,
        "coin_price_usd": null,
        "gas_used_today": null,
        "market_cap_usd": 0,
        "total_addresses": "593333",
        "total_transactions": "54139782",
        "transactions_today": "0",
        "network_utilization_percent": 0.16731586666666667
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:16.347Z",
        "request_id": "96921881-ed4b-4632-a242-56252f6c361d"
    },
    "status": "ok",
    "message": "Stats retrieved successfully",
    "success": true
}
```

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

**Response:**
```json
{
    "data": {
        "block": {
            "hash": "0xe4ef99e464af9d88e814d765fd5c9e7625965dd0066b043053a1a4254a702875",
            "size": 870,
            "miner": "0x4200000000000000000000000000000000000011",
            "height": 33860000,
            "gas_used": 46889,
            "tx_count": 1,
            "gas_limit": 30000000,
            "timestamp": "2026-04-30T19:48:39.000000Z",
            "burnt_fees": "2344450",
            "difficulty": "0",
            "base_fee_per_gas": "50"
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:16.592Z",
        "request_id": "554b7245-cc5a-430d-bd8e-e5f369d8dda4"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}
```

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

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

**Response:**
```json
{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0x110c783d11dcfaf70089ce70bfbb7352d29c87c4d938d255329ef58dc4429446",
                "size": 870,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 33865121,
                "gas_used": 46889,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-04-30T22:39:21.000000Z",
                "burnt_fees": "2344450",
                "difficulty": "0",
                "base_fee_per_gas": "50"
            },
            {
                "hash": "0x7b42cb1376af5bd369323496d2d878bf6621dd0fdd60b6adfa2639a019cc702f",
                "size": 870,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 33865120,
                "gas_used": 46889,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-04-30T22:39:19.000000Z",
                "burnt_fees": "2344450",
                "difficulty": "0",
                "base_fee_per_gas": "50"
            },
            {
                "hash": "0xd1ce68ffe3299e2d554f51b79a4e93f304377f4bc38b2b807b282c320ef7e17d",
                "size": 870,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 33865119,
                "gas_used": 46889,
                "tx_count": 1,
                "gas_limit": 30000000,
            
…(truncated, see openapi.json for full schema)
```

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

**Response:**
```json
{
    "data": {
        "address": {
            "ens": null,
            "hash": "0xe53a81CCB79a161345E5b6BD6C4E9cE352ed2876",
            "name": null,
            "token": null,
            "creator": null,
            "balance_wei": "1018354324401409838",
            "is_contract": false,
            "is_verified": false,
            "balance_rss3": 1.0183543244014097
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:17.405Z",
        "request_id": "800e0593-8b4a-4921-88e1-6427d6b4622f"
    },
    "status": "ok",
    "message": "Address retrieved successfully",
    "success": true
}
```

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

**Response:**
```json
{
    "data": {
        "transaction": {
            "to": "0xE06Af68F0c9e819513a6CD083EF6848E76C28CD8",
            "from": "0xe53a81CCB79a161345E5b6BD6C4E9cE352ed2876",
            "hash": "0xcd13f37d77eefb04f9b5a773cadb84245c43e1861a68f9e9da96035191bba8ed",
            "type": 2,
            "block": 33101370,
            "nonce": 130,
            "method": "transfer",
            "status": "ok",
            "fee_wei": "59712614933850",
            "fee_rss3": 5.971261493385e-5,
            "gas_used": 61317,
            "gas_price": "1000050",
            "timestamp": "2026-04-13T06:20:59.000000Z",
            "value_wei": "0",
            "value_rss3": 0,
            "confirmations": 763752
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:17.684Z",
        "request_id": "cd1996b3-b158-428f-8e8a-9e6c927b3a4c"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}
```

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

**Response:**
```json
{
    "data": {
        "token": {
            "icon": "https://raw.githubusercontent.com/RSS3-Network/blockscout-assets/master/blockchains/rss3/assets/0xE06Af68F0c9e819513a6CD083EF6848E76C28CD8/logo.svg",
            "name": "POWER",
            "type": "ERC-20",
            "symbol": "POWER",
            "address": "0xE06Af68F0c9e819513a6CD083EF6848E76C28CD8",
            "holders": 375327,
            "decimals": 18,
            "total_supply": "10000000000000000000000000000",
            "exchange_rate_usd": null,
            "circulating_market_cap": null
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:17.897Z",
        "request_id": "b5dcf001-8ea3-4cc6-8a2e-989d317a44f9"
    },
    "status": "ok",
    "message": "Token retrieved successfully",
    "success": true
}
```

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

**Response:**
```json
{
    "data": {
        "count": 6,
        "query": "rss3",
        "results": [
            {
                "name": "RSS3",
                "type": "token",
                "symbol": "RSS3",
                "address": "0x4200000000000000000000000000000000000042"
            },
            {
                "name": "RSS3Doge",
                "type": "token",
                "symbol": "RSS3Doge",
                "address": "0x2Dbf2E097Ed0CFAaD780A1BDAa0165375b389D80"
            },
            {
                "name": "Wrapped RSS3",
                "type": "token",
                "symbol": "WRSS3",
                "address": "0xE27D019909738D98Ab7F850C05eE07806c30c71D"
            },
            {
                "name": "RSS3Token",
                "type": "contract",
                "address": "0x57c743232669AAcE5Bc676A5a7053d06CC0197b0"
            },
            {
                "name": "RSS3Token",
                "type": "contract",
                "address": "0x61CC09Edb7c82Ba4d0fBEB81123087358aD62D75"
            },
            {
                "name": "RSS3Token",
                "type": "contract",
                "address": "0xc0D3C0d3c0D3C0d3c0D3c0D3C0d3C0D3c0D30042"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:18.130Z",
        "request_id": "0221b669-d16c-46f1-80ea-0869f50f672f"
    },
    "status": "ok",
    "message": "Search results retrieved successfully",
    "success": true
}
```

### Meta

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

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

**Response:**
```json
{
    "data": {
        "service": "rss3-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 & contract info (address=).",
            "GET /v1/transaction": "Transaction detail (hash=)."
        },
        "description": "Live RSS3 (RSS3) Value Sublayer on-chain data via Blockscout: network stats, a gas oracle (gwei), recent blocks and block detail, address balances, transaction detail, ERC-20 token detail and a universal search across addresses, tokens, blocks and transactions. Real on-chain data, no key."
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:18.235Z",
        "request_id": "d0bbb0b3-0869-42e8-bc60-c56af21532dc"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


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