Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when the user wants crypto data — token prices, on-chain SQL, prediction-market positions, CEX order books, wallet labels/net-worth, social mindshare, news, or unified search. 83 endpoints across exchange, on-chain, wallet, social, prediction, news and search — one API, flat $0.0095/call in USDC via x402. Settles directly to Surf's Base treasury; no Surf account needed.
.claude/skills/blockrunai-surf/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 153% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 203% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 127% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 424% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 212% | 0% |
Surf (asksurf.ai) aggregates 83 crypto data endpoints across CEX market data, on-chain SQL (13 chains, 80+ ClickHouse tables), 100M+ labeled wallets, prediction markets (Polymarket + Kalshi side-by-side), social/CT intelligence, news and unified search.
BlockRun is Surf's x402 payment rail — every call settles directly to Surf's Base treasury. You hold the wallet, BlockRun holds the Surf key, Surf holds the data. No Surf account, no API key, no monthly minimum.
One tool, three params. The MCP tool auto-routes method (POST when body is set, GET otherwise) and auto-validates required params before settling:
tsblockrun_surf({ path: "market/price", params: { symbol: "BTC" } }) blockrun_surf({ path: "onchain/sql", body: { sql: "SELECT token_address, count() FROM ethereum.dex_trades WHERE block_time > now() - INTERVAL 1 DAY GROUP BY 1 ORDER BY 2 DESC LIMIT 10" }}) blockrun_surf({ path: "wallet/labels/batch", params: { addresses: "0xabc,0xdef" } })
$0.0085 per call. Every endpoint, no tiers, including raw on-chain SQL.
Verified against the gateway's own payment-required header, which is free to request — send any call with no payment header and it quotes the exact charge. All of market/price, wallet/labels/batch, social/mindshare, news/feed, exchange/klines, search/web and onchain/sql return the same $0.0085 (SURF_TIER_1/2/3_PRICE are all identical upstream).
Ignore any "premium tier" pricing you may have seen — SQL used to cost more and no longer does.
Wrong / missing required params return HTTP 400 without charging — pre-validation runs before settlement.
Surf carries 17 prediction-market/* endpoints (Polymarket + Kalshi). Use blockrun_markets (Predexon) instead — same data, same price, and far deeper.
Predexon used to be 7.5× cheaper; since 2026-07-15 both bill the same flat rate, so the choice is now purely about coverage — and Predexon still wins on coverage by a wide margin.
| | Predexon (blockrun_markets) | Surf | |---|---|---| | Polymarket / Kalshi markets | $0.0085 | $0.0085 (same) | | Wallet clustering, smart money, leaderboards | ✅ | ❌ none | | Limitless, Opinion, Predict.Fun, sports, UMA | ✅ | ❌ Polymarket + Kalshi only |
The only Surf prediction-market endpoint with no Predexon equivalent is prediction-market/category-metrics. Everything else is a strictly worse buy. See skills/prediction-markets/SKILL.md.
Reach for Surf when Predexon cannot answer it: on-chain SQL, 100M+ wallet labels across 13 chains, 16 CEXs, social/CT intelligence, news, tokenomics/unlocks, liquidations, ETF flows, VC portfolios. Predexon has none of those.
| User wants… | Method | Path | Required | |---|---|---|---| | BTC/ETH price | GET | market/price | symbol | | ETF flow history | GET | market/etf | symbol | | Fear & Greed index | GET | market/fear-greed | – | | Top 100 tokens by market cap | GET | market/ranking | – | | Options skew / IV / volume | GET | market/options | symbol | | CEX ticker for a pair | GET | exchange/price | pair | | Perp snapshot (funding + OI) | GET | exchange/perp | pair | | Order book depth | GET | exchange/depth | pair | | OHLCV candles | GET | exchange/klines | pair | | Funding rate history | GET | exchange/funding-history | pair | | Long/short ratio | GET | exchange/long-short-ratio | pair | | Bridge protocols by volume | GET | onchain/bridge/ranking | – | | Yield pool ranking | GET | onchain/yield/ranking | – | | Current gas price (per chain) | GET | onchain/gas-price | chain | | Transaction details | GET | onchain/tx | hash, chain | | Raw on-chain SQL | POST | onchain/sql | body: sql | | Structured on-chain query | POST | onchain/query | body: typed predicates | | Inspect ClickHouse schema | GET | onchain/schema | – | | Polymarket markets ranking | GET | prediction-market/polymarket/ranking | – | | Polymarket price history | GET | prediction-market/polymarket/prices | condition_id | | Polymarket positions for wallet | GET | prediction-market/polymarket/positions | address | | Kalshi markets ranking | GET | prediction-market/kalshi/ranking | – | | Kalshi market detail | GET | prediction-market/kalshi/markets | market_ticker | | Search Polymarket / Kalshi | GET | search/polymarket / search/kalshi | – | | Wallet profile (cross-chain) | GET | wallet/detail | address | | Wallet net-worth time series | GET | wallet/net-worth | address | | Wallet DeFi positions | GET | wallet/protocols | address | | Batch wallet labels (CEX/Whale/MEV…) | GET | wallet/labels/batch | addresses | | Token tokenomics + unlocks | GET | token/tokenomics | – | | Token holders top N | GET | token/holders | address, chain | | Token transfers | GET | token/transfers | address, chain | | Token DEX trades | GET | token/dex-trades | address | | Social mindshare time series | GET | social/mindshare | q, interval | | Smart-follower history | GET | social/smart-followers/history | – | | Twitter user profile | GET | social/user | handle | | Twitter user posts | GET | social/user/posts | handle | | Tweet replies | GET | social/tweet/replies | tweet_id | | Web search (crypto-scoped) | GET | search/web | q | | News article search | GET | search/news | q | | KOL / CT people search | GET | search/social/people | q | | Tweet full-text search | GET | search/social/posts | q | | Project / token search | GET | search/project | q | | Wallet search (by ENS, label) | GET | search/wallet | q | | VC fund portfolio | GET | fund/portfolio | – | | VC fund ranking | GET | fund/ranking | metric | | DeFi protocol ranking | GET | project/defi/ranking | metric | | Project full profile | GET | project/detail | – | | Clean a webpage to markdown | GET | web/fetch | url | | News feed | GET | news/feed | – | | Single news article | GET | news/detail | id |
tsblockrun_surf({ path: "market/price", params: { symbol: "BTC" } })
Cost: $0.0085. Returns price history; latest point = current price.
tsblockrun_surf({ path: "onchain/sql", body: { sql: ` SELECT token_address, sum(amount_usd) AS volume_usd FROM ethereum.dex_trades WHERE block_time > now() - INTERVAL 1 DAY GROUP BY token_address ORDER BY volume_usd DESC LIMIT 10 ` } })
Cost: $0.0085. Raw ClickHouse — same query language Surf's own UI uses, at the same flat rate as any other Surf read.
ts// Step 1 — labels (CEX / Whale / Bridge / MEV / Bot / Fund) blockrun_surf({ path: "wallet/labels/batch", params: { addresses: "0xabc...,0xdef..." } }) // Step 2 — cross-chain holdings + DeFi positions blockrun_surf({ path: "wallet/detail", params: { address: "0xabc..." } }) blockrun_surf({ path: "wallet/protocols", params: { address: "0xabc..." } }) // Step 3 — net-worth time series blockrun_surf({ path: "wallet/net-worth", params: { address: "0xabc..." } })
Cost: 4 × $0.0085 = $0.034. Replaces a Nansen subscription for one-off lookups.
ts// Compare Polymarket + Kalshi side by side blockrun_surf({ path: "search/polymarket", params: { q: "2028 US president" } }) blockrun_surf({ path: "search/kalshi", params: { q: "2028 US president" } }) // Then pull the order book on the leading market blockrun_surf({ path: "prediction-market/polymarket/prices", params: { condition_id: "0x..." } })
tsblockrun_surf({ path: "social/mindshare", params: { q: "solana", interval: "1d" } }) blockrun_surf({ path: "social/mindshare", params: { q: "monad", interval: "1d" } }) blockrun_surf({ path: "social/ranking" })
tsblockrun_surf({ path: "market/etf", params: { symbol: "BTC" } }) blockrun_surf({ path: "market/fear-greed" }) blockrun_surf({ path: "exchange/funding-history", params: { pair: "BTC-USDT" } }) blockrun_surf({ path: "exchange/long-short-ratio", params: { pair: "BTC-USDT" } })
Cost: 4 × $0.0085 = $0.034.
bodyPass body (POST) only for these three endpoints:
onchain/query — structured, typed predicates against ClickHouseonchain/sql — raw SQL string in { sql: "..." }Everything else is GET with params.
pythonfrom blockrun_llm import setup_agent_wallet client = setup_agent_wallet() # GET — same as blockrun_surf({ path, params }) price = client._get_with_payment_raw("/v1/surf/market/price", {"symbol": "BTC"}) # POST — same as blockrun_surf({ path, body }) result = client._request_with_payment_raw("/v1/surf/onchain/sql", { "sql": "SELECT count() FROM ethereum.transactions WHERE block_time > now() - INTERVAL 1 HOUR" })
exchange/markets · exchange/price · exchange/perp · exchange/depth · exchange/klines · exchange/funding-history · exchange/long-short-ratio
fund/detail · fund/portfolio · fund/ranking
market/ranking · market/fear-greed · market/futures · market/price · market/etf · market/options · market/liquidation/exchange-list · market/liquidation/order · market/liquidation/chart · market/onchain-indicator · market/price-indicator
news/feed · news/detail
onchain/bridge/ranking · onchain/yield/ranking · onchain/gas-price · onchain/tx · onchain/schema · onchain/query (POST) · onchain/sql (POST)
Polymarket: prediction-market/polymarket/ranking · .../trades · .../markets · .../events · .../prices · .../volumes · .../open-interest · .../positions · .../activity · prediction-market/category-metrics Kalshi: prediction-market/kalshi/ranking · .../markets · .../events · .../prices · .../trades · .../volumes · .../open-interest
project/detail · project/defi/metrics · project/defi/ranking
search/airdrop · search/events · search/kalshi · search/polymarket · search/web · search/project · search/news · search/wallet · search/fund · search/social/people · search/social/posts
social/detail · social/ranking · social/smart-followers/history · social/mindshare · social/tweets · social/tweet/replies · social/user · social/user/followers · social/user/following · social/user/posts · social/user/replies
token/tokenomics · token/dex-trades · token/holders · token/transfers
wallet/detail · wallet/history · wallet/net-worth · wallet/transfers · wallet/protocols · wallet/labels/batch
web/fetch
blockrun_surf routes through whichever chain the BlockRun wallet is on (Base or Solana). Surf settlement always lands in Surf's Base treasury.onchain/sql is powerful but unrestricted: there's no row limit on the server side. Add LIMIT to your query or you'll pay for a megabyte of JSON.X-Payment-Receipt header lands on the response with the settlement tx hash — keep it for accounting.src/lib/surf.ts in the BlockRun web repo| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | fail→pass | 11,012 | 6,313 | -43% | 1 | 1 | 0% | 1,991 | 5,037 | +153% | 0 | 0 | — |
case-01 | fail→fail | 12,684 | 6,772 | -47% | 1 | 1 | 0% | 2,438 | 4,263 | +75% | 0 | 0 | — |
case-02 | fail→fail | 15,757 | 10,971 | -30% | 1 | 1 | 0% | 2,476 | 4,792 | +94% | 0 | 0 | — |
case-03 | fail→fail | 16,419 | 7,701 | -53% | 1 | 1 | 0% | 2,506 | 4,248 | +70% | 0 | 0 | — |
case-05 | fail→pass | 10,960 | 4,446 | -59% | 1 | 1 | 0% | 1,516 | 4,597 | +203% | 0 | 0 | — |
case-06 | fail→pass | 13,425 | 3,759 | -72% | 1 | 1 | 0% | 2,009 | 4,552 | +127% | 0 | 0 | — |
case-07 | fail→pass | 5,624 | 2,423 | -57% | 1 | 1 | 0% | 808 | 4,237 | +424% | 0 | 0 | — |
case-08 | fail→pass | 9,164 | 4,581 | -50% | 1 | 1 | 0% | 1,451 | 4,526 | +212% | 0 | 0 | — |
case-09 | fail→pass | 10,442 | 2,799 | -73% | 1 | 1 | 0% | 954 | 4,443 | +366% | 0 | 0 | — |
case-10 | fail→pass | 7,863 | 2,710 | -66% | 1 | 1 | 0% | 1,239 | 4,180 | +237% | 0 | 0 | — |
case-11 | fail→pass | 3,978 | 3,640 | -8% | 1 | 1 | 0% | 658 | 4,364 | +563% | 0 | 0 | — |
case-12 | fail→pass | 6,739 | 3,451 | -49% | 1 | 1 | 0% | 1,203 | 4,312 | +258% | 0 | 0 | — |
case-13 | pass→pass | 11,015 | 3,014 | -73% | 1 | 1 | 0% | 1,703 | 4,243 | +149% | 0 | 0 | — |
case-19 | fail→pass | 9,275 | 1,590 | -83% | 1 | 1 | 0% | 1,481 | 4,048 | +173% | 0 | 0 | — |
case-14 | fail→pass | 8,623 | 2,613 | -70% | 1 | 1 | 0% | 1,365 | 4,286 | +214% | 0 | 0 | — |
case-15 | fail→fail | 6,529 | 6,014 | -8% | 1 | 1 | 0% | 366 | 4,128 | +1028% | 0 | 0 | — |
case-16 | fail→pass | 5,280 | 2,431 | -54% | 1 | 1 | 0% | 864 | 4,263 | +393% | 0 | 0 | — |
case-17 | fail→fail | 15,149 | 5,041 | -67% | 1 | 1 | 0% | 2,867 | 4,023 | +40% | 0 | 0 | — |
case-18 | fail→pass | 15,472 | 6,794 | -56% | 1 | 1 | 0% | 2,369 | 4,865 | +105% | 0 | 0 | — |
case-20 | pass→pass | 11,756 | 6,417 | -45% | 1 | 1 | 0% | 2,349 | 5,026 | +114% | 0 | 0 | — |
case-21 | pass→pass | 15,267 | 9,312 | -39% | 1 | 1 | 0% | 3,027 | 5,655 | +87% | 0 | 0 | — |
case-22 | pass→pass | 10,736 | 8,204 | -24% | 1 | 1 | 0% | 1,910 | 5,073 | +166% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 17 counted toward the lift figure. The other 5 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +59 percentage points is the difference between those two pass rates over the 17 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.