← APIs / Onchain Query API
Verified

Onchain Query API

Coinbase Bazaarby Coinbase Bazaar · marketplace

Pay-per-call x402 service at chain.cyberwarex.com, listed in the Coinbase Bazaar. Latest block on any major EVM chain: block number, timestamp, age in seconds, base fee and gas used/limit. The cheapest possible liveness and chain-tip check for an agent: confirm a chain is progressing, timestamp an observation, or pick a block for a query.

financefederated
Price per request
$0.0013
Base URL
https://gateway.apiosk.com/cbz-chain-cyberwarex-com
Technical Specs
Auth MethodNone (x402 payment proof only)
Response FormatJSON
Endpoints3
Endpoints
MethodPathDescriptionCost
GET /block Latest block on any major EVM chain: block number, timestamp, age in seconds, base fee and gas used/limit. The cheapest possible liveness and chain-tip check for an agent: confirm a chain is progressing, timestamp an observation, or pick a block for a query.
$0.0011 default
View details
GET /derivatives Crypto perpetual-futures snapshot for a symbol in ONE call (Binance USD-M, keyless): current funding rate and the next funding time, mark and index price, open interest (contracts and USD), 24h price change/high/low/volume, and the top-trader long/short account ratio. For funding arbitrage, leverage/positioning reads, and a derivatives view an onchain-only feed cannot give. Cached 30s.
$0.0057 default
View details
GET /token ERC-20 token profile on any major EVM chain: on-chain metadata (name, symbol, decimals, total supply) read straight from the contract, joined with live DEX market data (USD price, liquidity, 24h volume, 24h change, and the top trading pair with its DEX). Use it to price a token, check liquidity depth before a swap, or resolve an unknown contract address into a real token.
$0.0046 default
View details
Endpoint documentation
GET/block
$0.0011 default
Description

Latest block on any major EVM chain: block number, timestamp, age in seconds, base fee and gas used/limit. The cheapest possible liveness and chain-tip check for an agent: confirm a chain is progressing, timestamp an observation, or pick a block for a query.

Pricing
$0.0011 default
Parameters
{
  "additionalProperties": false,
  "properties": {
    "chain": {
      "default": "base",
      "description": "EVM chain to query.",
      "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
Example response
{
  "age_seconds": 3,
  "base_fee_gwei": 0.0061,
  "chain": "base",
  "chain_id": 8453,
  "gas_limit": 150000000,
  "gas_used": 18234012,
  "hash": "0x9a1c…",
  "number": 51142663,
  "timestamp": 1789081234,
  "tx_count": 212
}
GET/derivatives
$0.0057 default
Description

Crypto perpetual-futures snapshot for a symbol in ONE call (Binance USD-M, keyless): current funding rate and the next funding time, mark and index price, open interest (contracts and USD), 24h price change/high/low/volume, and the top-trader long/short account ratio. For funding arbitrage, leverage/positioning reads, and a derivatives view an onchain-only feed cannot give. Cached 30s.

Pricing
$0.0057 default
Parameters
{
  "additionalProperties": false,
  "properties": {
    "symbol": {
      "description": "Asset ticker (BTC, ETH, SOL...) or a full perp symbol like BTCUSDT.",
      "type": "string"
    }
  },
  "required": [
    "symbol"
  ],
  "type": "object"
}
Example response
{
  "funding_rate": 0.00006,
  "funding_rate_annualized_pct": 6.57,
  "high_24h": 79000,
  "index_price": 78700.1,
  "long_short_ratio": 1.8,
  "low_24h": 77000,
  "mark_price": 78726.5,
  "next_funding_time": 1789142400000,
  "open_interest": 104466.34,
  "open_interest_usd": 8220000000,
  "perp": "BTCUSDT",
  "price_change_24h_pct": 1.75,
  "source": "binance-futures",
  "symbol": "BTC",
  "volume_24h": 180434.2
}
GET/token
$0.0046 default
Description

ERC-20 token profile on any major EVM chain: on-chain metadata (name, symbol, decimals, total supply) read straight from the contract, joined with live DEX market data (USD price, liquidity, 24h volume, 24h change, and the top trading pair with its DEX). Use it to price a token, check liquidity depth before a swap, or resolve an unknown contract address into a real token.

Pricing
$0.0046 default
Parameters
{
  "additionalProperties": false,
  "properties": {
    "address": {
      "description": "ERC-20 token contract address.",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "type": "string"
    },
    "chain": {
      "default": "base",
      "description": "EVM chain to query.",
      "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
      ],
      "type": "string"
    }
  },
  "required": [
    "address"
  ],
  "type": "object"
}
Example response
{
  "address": "0x4200000000000000000000000000000000000006",
  "chain": "base",
  "decimals": 18,
  "market": {
    "change_24h_pct": -1.87,
    "liquidity_usd": 41283910.5,
    "source": "dexscreener",
    "top_pair": {
      "base": "WETH",
      "chain": "base",
      "dex": "aerodrome",
      "quote": "USDC"
    },
    "usd": 3194.51,
    "volume_24h_usd": 88214003.1
  },
  "name": "Wrapped Ether",
  "symbol": "WETH",
  "total_supply": 121843.512,
  "total_supply_raw": "121843512000000000000000"
}