Block header lookup
api.wickedapi.com/v1/chain-block
Block header lookup: number, hash, timestamp, miner, tx count, gas used/limit and base fee. Latest by default, or any block number, safe or finalized.
GET
https://api.wickedapi.com/v1/chain-blockUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.wickedapi.com/v1/chain-block?block=latest&chain=base");
console.log(await res.json());Example input
{
"block": "latest",
"chain": "base"
}More from WickedAPI Trading Data API
- api.wickedapi.com/v1/basisSpot-vs-perp basis (premium %) with funding-implied annualized carry. Spot from Coinbase; perp marks from Binance + Bybit.0.001
- api.wickedapi.com/v1/chain-blockBlock header lookup: number, hash, timestamp, miner, tx count, gas used/limit and base fee. Latest by default, or any block number, safe or finalized.0.001
- api.wickedapi.com/v1/crypto-newsLatest crypto headlines aggregated from Cointelegraph, Decrypt and Bitcoin Magazine, newest first: title, source, URL, published time and a short summary. Filter by keyword or source.0.001
- api.wickedapi.com/v1/funding-oiAggregated perpetual-futures funding rate & open interest from Binance + Bybit, with 7-day average funding, 24h OI change, and a long/short bias signal.0.001
- api.wickedapi.com/v1/liquidationsRecent forced liquidations on OKX USDT perpetual swaps for a coin: each event with time, liquidated side, bankruptcy price, size and USD notional, plus long vs short liquidated totals and the largest event. Real exchange data, no estimates.0.002
- api.wickedapi.com/v1/long-short-ratioBinance long/short ratios: global account, top-trader account, top-trader position, and taker buy/sell. Companion to funding-oi.0.001
- api.wickedapi.com/v1/polymarketPolymarket prediction markets with live probabilities: question, per-outcome probability, 24h and total volume, liquidity, best bid/ask, one-day price change and end date. Top markets by volume, liquidity or soonest end, or free-text search.0.001
- api.wickedapi.com/v1/verdictOne-call trading verdict for an asset: LONG, SHORT or NEUTRAL bias with a 0-10 confidence, a one-line thesis, entry, invalidation and two targets, and the trend / momentum / structure / liquidity readings behind it. Mechanical scoring from live candles on two timeframes (EMA stack, MACD, RSI, ADX, swing structure, liquidity sweeps, volume point of control), never a guess. BTC, ETH, SOL, SUI, NVDA,0.02
