# Flow EVM Chain API
> Live on-chain data for Flow EVM mainnet (the EVM-equivalent environment on the Flow blockchain, native FLOW) 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, NFT and gaming tooling, portfolio trackers and on-chain monitoring on Flow EVM.

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

## Pricing
- **Free** (Free) — 5,100 calls/Mo, 2 req/s
- **Basic** ($9/Mo) — 121,000 calls/Mo, 8 req/s
- **Pro** ($29/Mo) — 660,000 calls/Mo, 20 req/s
- **Mega** ($79/Mo) — 3,400,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/flow-api/v1/gas"
```

**Response:**
```json
{
    "data": {
        "fast": 16.9,
        "slow": 15.84,
        "unit": "gwei",
        "average": 16.9,
        "gas_used_today": "4453099984"
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:38.825Z",
        "request_id": "2246299e-c18d-4473-9a91-ea7a9cef9193"
    },
    "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/flow-api/v1/stats"
```

**Response:**
```json
{
    "data": {
        "tvl_usd": null,
        "gas_prices": {
            "fast": 16.9,
            "slow": 15.84,
            "average": 16.9
        },
        "total_blocks": 68155302,
        "coin_price_usd": 0.02738264,
        "gas_used_today": "4453099984",
        "market_cap_usd": 45636075.54243525,
        "total_addresses": "866470",
        "total_transactions": "62736370",
        "transactions_today": "67448",
        "network_utilization_percent": 0.01134945
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:38.948Z",
        "request_id": "07fc467a-e1ce-4e47-8f16-22b7efca587d"
    },
    "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: `68130000`
- `hash` (query, optional, string) — Block hash (0x + 64 hex)

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

**Response:**
```json
{
    "data": {
        "block": {
            "hash": "0x804afce4440388a466c00210cbd5389f842d4645f42f146a4eccd3bc733acbc1",
            "size": 197,
            "miner": "0x0000000000000000000000030000000000000000",
            "height": 68130000,
            "gas_used": 0,
            "tx_count": 0,
            "gas_limit": 120000000,
            "timestamp": "2026-06-08T11:29:17.000000Z",
            "burnt_fees": "0",
            "difficulty": "0",
            "base_fee_per_gas": "1"
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:39.094Z",
        "request_id": "88cf2109-ab07-47cc-8098-54abffb57bcf"
    },
    "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/flow-api/v1/blocks"
```

**Response:**
```json
{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0x0d1bf8c736d2ef399d9cf3122e801fc140bb5616d4e26cc45e461a350c088959",
                "size": 197,
                "miner": "0x0000000000000000000000030000000000000000",
                "height": 68161215,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 120000000,
                "timestamp": "2026-06-08T18:25:29.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "1"
            },
            {
                "hash": "0xce6ee05d1481fd91ad26235d4c03b3a955266e09497fa7ab9a5e799fa9426593",
                "size": 197,
                "miner": "0x0000000000000000000000030000000000000000",
                "height": 68161214,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 120000000,
                "timestamp": "2026-06-08T18:25:29.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "1"
            },
            {
                "hash": "0xa45fb87fe9d652d6d380d728fb6ffc05d1d0071a5e5c1dc3a89ac1775f33c874",
                "size": 197,
                "miner": "0x0000000000000000000000030000000000000000",
                "height": 68161213,
                "gas_used": 0,
                "tx_count": 0,
                "gas_limit": 120000000,
                "timestamp": "2026-
…(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: `0x3Fa1Cc4501EF596eae1670BDA5c0aFfDB374B9b3`

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

**Response:**
```json
{
    "data": {
        "address": {
            "ens": null,
            "hash": "0x3Fa1Cc4501EF596eae1670BDA5c0aFfDB374B9b3",
            "name": null,
            "token": null,
            "creator": null,
            "balance_wei": "238239523366613186922",
            "is_contract": false,
            "is_verified": false,
            "balance_flow": 238.23952336661318
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:39.418Z",
        "request_id": "f2dfca81-2017-43c0-a218-188a7a44dbb2"
    },
    "status": "ok",
    "message": "Address retrieved successfully",
    "success": true
}
```

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

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

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

**Response:**
```json
{
    "data": {
        "transaction": {
            "to": "0x991B9087F2555395115288d1cabeF27e012dC011",
            "from": "0x3Fa1Cc4501EF596eae1670BDA5c0aFfDB374B9b3",
            "hash": "0xbfaf8aeaa5df7e56d522ef5295ff33491a0f067cb9f085fa3bea2345eb6f7930",
            "type": 2,
            "block": 68136057,
            "nonce": 47140,
            "method": "0xbd591a82",
            "status": "ok",
            "fee_wei": "609256000000",
            "fee_flow": 6.09256e-7,
            "gas_used": 609256,
            "gas_price": "1000000",
            "timestamp": "2026-06-08T12:50:02.000000Z",
            "value_wei": "0",
            "value_flow": 0,
            "confirmations": 25159
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:42.142Z",
        "request_id": "9fb169e7-dc68-4731-9676-b14b63c38807"
    },
    "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: `0x99aF3EeA856556646C98c8B9b2548Fe815240750`

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

**Response:**
```json
{
    "data": {
        "token": {
            "icon": "https://raw.githubusercontent.com/onflow/assets/refs/heads/main/tokens/registry/0x99aF3EeA856556646C98c8B9b2548Fe815240750/logo.png",
            "name": "PYUSD0",
            "type": "ERC-20",
            "symbol": "PYUSD0",
            "address": "0x99aF3EeA856556646C98c8B9b2548Fe815240750",
            "holders": 60331,
            "decimals": 6,
            "total_supply": "34657278841329",
            "exchange_rate_usd": null,
            "circulating_market_cap": null
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:42.293Z",
        "request_id": "49a9ce36-af03-40be-a4ab-87b6abad147e"
    },
    "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: `flow`

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

**Response:**
```json
{
    "data": {
        "count": 50,
        "query": "flow",
        "results": [
            {
                "name": "USD Flow",
                "type": "token",
                "symbol": "USDF",
                "address": "0x2aaBea2058b5aC2D339b163C6Ab6f2b6d53aabED"
            },
            {
                "name": "Wrapped Flow",
                "type": "token",
                "symbol": "WFLOW",
                "address": "0xd3bF53DAC106A0290B0483EcBC89d40FcC961f3e"
            },
            {
                "name": "Increment Staked FLOW",
                "type": "token",
                "symbol": "stFlow",
                "address": "0x5598c0652B899EB40f169Dd5949BdBE0BF36ffDe"
            },
            {
                "name": "Flow Sea",
                "type": "token",
                "symbol": "FS",
                "address": "0x57C6824456eC4Cc14e95998aaBE10d2Db6253bA7"
            },
            {
                "name": "FlowToken2049",
                "type": "token",
                "symbol": "Flow",
                "address": "0x1b6C49eC65758D9655678ad0EC2d4162a4fE8b5D"
            },
            {
                "name": "Maxy Flow",
                "type": "token",
                "symbol": "MF",
                "address": "0x9478eA50cfF3b794BecA69be24E8615FCbF842a9"
            },
            {
                "name": "Pegasno Flow",
                "type": "token",
                "symbol": "PF",
                "address": "0x3a4cfF7730e0b0eF6d1E98
…(truncated, see openapi.json for full schema)
```

### Meta

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

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

**Response:**
```json
{
    "data": {
        "service": "flow-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 Flow EVM (FLOW) mainnet 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:42.985Z",
        "request_id": "ce6cd3cb-5132-4165-9f0b-d368525dd503"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


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