Surf logo

Surf

OrganizationPopular
BlockRunAI
surf

Use this skill — NOT browser or web_fetch — for ALL Surf crypto-data calls. 83 endpoints at localhost:8402/v1/surf/* covering CEX/DEX markets, on-chain SQL over 80+ ClickHouse tables (Ethereum, Base, Arbitrum, BSC, TRON, HyperEVM, Tempo), 100M+ labeled wallets, prediction markets (Polymarket + Kalshi), social/CT intelligence, news, project + DeFi metrics, token analytics, unified search, VC fund intelligence. Paid through ClawRouter — x402 USDC from the local wallet, or BlockRun account credit if an API key is configured. No Surf account or Surf API key required either way.

Overview

PublisherBlockRunAI
RepositoryClawRouter
Skill namesurf
Stars
6.6K
Forks
650
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by BlockRunAI on GitHub. Read the source before you install it.

Installation

Install the Surf AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/BlockRunAI/ClawRouter.git /tmp/ClawRouter
mkdir -p .claude/skills
cp -r /tmp/ClawRouter/skills/surf .claude/skills/surf
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Surf in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Surf on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Surf is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Surf — Unified Crypto Data API (via ClawRouter)

Surf bundles 83 endpoints across 12 domains into one paid HTTP API. ClawRouter exposes them at http://127.0.0.1:8402/v1/surf/*, paid the same way ClawRouter pays for LLM calls — an x402 USDC micropayment from the local wallet, or a draw on BlockRun account credit if an API key is configured (verified working on both, 2026-09-05). No Surf account and no Surf API key either way. Upstream lives at api.asksurf.ai/gateway/v1 — ClawRouter forwards transparently.

Pricing — flat per call, the same for every endpoint.

Surf used to be tiered at $0.001 / $0.005 / $0.020. It is not any more: upstream now prices all three tiers identically (SURF_TIER_{1,2,3}_PRICE are equal). The Tier column in the catalog below still describes endpoint weight, but it no longer affects what you pay. Anything quoting the old tier prices is stale.

RailPrice per call
API key (api.blockrun.ai)$0.0075 — base rate, no transaction fee
Wallet, Solana$0.0075
Wallet, Base$0.0085

Verified 2026-09-05 by measurement, not from a price page: the API-key figure by diffing the account ledger across one call, the wallet figures by reading the amount in the x402 402 challenge, which quotes the price before anything is signed. Base and Solana genuinely differ for the same endpoint.

A 402 quote is authoritative for the rail that issued it — and only that rail. On the wallet rail the price arrives in the challenge before you pay, so if this table disagrees with it, believe the challenge and treat the table as stale.

Do NOT carry a wallet-rail 402 figure over to the API-key rail. The key rail issues no 402 at all, and the wallet quote includes the chain's transaction fee that account credit does not pay — on Base that is $0.0085 quoted against $0.0075 actually billed to an account. Reading across rails turns a correct number into a wrong one; it has already happened once.

The Base/Solana difference is deliberate, not drift: the $0.001 is the Base transaction fee, and Solana omitting it is a migration incentive. Solana being cheaper is expected — Solana priced above Base would be the bug worth reporting, since estimates generally assume the Base figure is the ceiling.

The legacy surf-1.5 chat surface is intentionally NOT exposed yet — it's held until per-token settlement is wired. Trying /v1/surf/chat/completions returns 404 ("Unknown Surf endpoint"), no payment is taken.

All requests use GET unless the table below says otherwise. Path parameters that look like ?symbol= are query params on a GET. POST endpoints take a JSON body. ClawRouter attaches payment transparently — an x402 header in wallet mode, a bearer token in API-key mode.

Required-param pre-check. 56 of the 83 endpoints have required query params (e.g. pair, symbol, address, chain, q, interval). The route validates them before settlement — call with missing params and you get 400 { missing_params, all_required, docs } and you are NOT charged. Check each row in the catalog below for the correct param name (e.g. mindshare is q + interval, not project + window).

When to use this skill

  • "What is the current BTC price?" → /surf/market/price?symbol=BTC (cheaper + more reliable than scraping)
  • "Who holds the most USDC on Ethereum?" → /surf/token/holders?address=0xA0b8...&chain=ethereum
  • "How many Ethereum transactions in the last hour?" → POST /surf/onchain/sql { sql: 'SELECT count() FROM ethereum.transactions WHERE block_timestamp >= now() - INTERVAL 1 HOUR' }
  • "Label this list of wallets." → /surf/wallet/labels/batch?addresses=0xabc,0xdef,...
  • "Is HYPE mindshare peaking?" → /surf/social/mindshare?q=hyperliquid&interval=30d
  • "Find the canonical metadata for 'ethena'." → /surf/search/project?q=ethena

Always prefer Surf over generic web scraping for these. Use the OpenClaw tool name blockrun_surf_* when invoking from an agent; use the HTTP path directly when calling from a script.

Endpoint catalog

Exchange (CEX) — 7 endpoints

PathTierRequired
/surf/exchange/marketsT1
/surf/exchange/priceT1pair
/surf/exchange/perpT1pair
/surf/exchange/depthT2pair
/surf/exchange/klinesT2pair
/surf/exchange/funding-historyT2pair
/surf/exchange/long-short-ratioT2pair

Market Overview — 11 endpoints

PathTierRequired
/surf/market/rankingT1
/surf/market/fear-greedT1
/surf/market/futuresT1
/surf/market/priceT1symbol
/surf/market/etfT1symbol
/surf/market/optionsT1symbol
/surf/market/liquidation/exchange-listT2
/surf/market/liquidation/orderT2
/surf/market/liquidation/chartT2symbol
/surf/market/onchain-indicatorT2symbol, metric (NUPL, SOPR, MVRV, Puell, NVT)
/surf/market/price-indicatorT2indicator (RSI, MACD, Bollinger, EMA), symbol

News — 2 endpoints

PathTierRequired
/surf/news/feedT1— (limit optional)
/surf/news/detailT1id

On-Chain — 7 endpoints

PathMethodTierRequired
/surf/onchain/bridge/rankingGETT1
/surf/onchain/yield/rankingGETT1
/surf/onchain/gas-priceGETT1chain
/surf/onchain/txGETT1hash, chain
/surf/onchain/schemaGETT3
/surf/onchain/queryPOSTT3typed predicates in body
/surf/onchain/sqlPOSTT3{ sql: "SELECT ..." }

On-Chain SQL workflow. Call /surf/onchain/schema once to get table names + columns (cache it locally — schema is stable). Then POST your SELECT against /surf/onchain/sql. Always include LIMIT on large scans — billing is per call, but slow queries time out. Multi-statement queries are rejected upstream.

Prediction Markets (Polymarket + Kalshi) — 17 endpoints

PathTierRequired
/surf/prediction-market/category-metricsT1
/surf/prediction-market/polymarket/rankingT1
/surf/prediction-market/polymarket/tradesT1
/surf/prediction-market/polymarket/marketsT1market_slug
/surf/prediction-market/polymarket/eventsT1event_slug
/surf/prediction-market/polymarket/pricesT1condition_id
/surf/prediction-market/polymarket/volumesT1condition_id
/surf/prediction-market/polymarket/open-interestT1condition_id
/surf/prediction-market/polymarket/positionsT2address
/surf/prediction-market/polymarket/activityT2address
/surf/prediction-market/kalshi/rankingT1
/surf/prediction-market/kalshi/marketsT1market_ticker
/surf/prediction-market/kalshi/eventsT1event_ticker
/surf/prediction-market/kalshi/pricesT1ticker
/surf/prediction-market/kalshi/tradesT1ticker
/surf/prediction-market/kalshi/volumesT1ticker
/surf/prediction-market/kalshi/open-interestT1ticker

(For Polymarket smart-money, wallet PnL, UMA oracle resolution, and the other prediction-market venues — Limitless, Opinion, Predict.Fun, dFlow, Binance Futures, cross-venue canonical markets — use the dedicated Predexon integration instead; Surf's prediction-market coverage is narrower but cheaper.)

Project + DeFi — 3 endpoints

PathTierRequired
/surf/project/detailT1
/surf/project/defi/metricsT1metric
/surf/project/defi/rankingT1metric

Social / CT Intelligence — 11 endpoints

PathTierRequired
/surf/social/detailT2
/surf/social/rankingT2
/surf/social/smart-followers/historyT2
/surf/social/mindshareT2q, interval
/surf/social/tweetsT1ids
/surf/social/tweet/repliesT1tweet_id
/surf/social/userT1handle
/surf/social/user/followersT1handle
/surf/social/user/followingT1handle
/surf/social/user/postsT1handle
/surf/social/user/repliesT1handle

Token Analytics — 4 endpoints

PathTierRequired
/surf/token/tokenomicsT1
/surf/token/dex-tradesT2address
/surf/token/holdersT2address, chain
/surf/token/transfersT2address, chain

Unified Search — 11 endpoints (all Tier 2)

PathRequired
/surf/search/airdrop
/surf/search/events
/surf/search/kalshi
/surf/search/polymarket
/surf/search/webq
/surf/search/projectq
/surf/search/newsq
/surf/search/walletq
/surf/search/fundq
/surf/search/social/peopleq
/surf/search/social/postsq

VC Fund Intelligence — 3 endpoints

PathTierRequired
/surf/fund/detailT1
/surf/fund/portfolioT1
/surf/fund/rankingT1metric

Wallet Intelligence — 6 endpoints (all Tier 2)

PathRequired
/surf/wallet/detailaddress
/surf/wallet/historyaddress
/surf/wallet/net-worthaddress
/surf/wallet/transfersaddress
/surf/wallet/protocolsaddress
/surf/wallet/labels/batchaddresses (comma-separated, ≤200)

Web — 1 endpoint

PathTierRequired
/surf/web/fetchT2url

Example flows

1. "Who is wallet X and what do they hold?"

bash
curl 'http://127.0.0.1:8402/v1/surf/wallet/detail?address=vitalik.eth'

If the response says they're a smart-money wallet, follow up with /surf/wallet/protocols?address=... for protocol breakdown or /surf/wallet/history?address=... for the activity timeline.

2. "How concentrated is supply for token Y?"

bash
curl 'http://127.0.0.1:8402/v1/surf/token/holders?address=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&limit=25'

Combine the top-25 balances with their wallet labels — /surf/wallet/labels/batch?addresses=... — to distinguish "concentration in CEX hot wallets" (normal) from "concentration in dev team multisig" (riskier).

3. "Run a custom on-chain query."

bash
# Step 1 — fetch schema (do this once, then cache locally)
curl 'http://127.0.0.1:8402/v1/surf/onchain/schema'

# Step 2 — run the SQL
curl -X POST 'http://127.0.0.1:8402/v1/surf/onchain/sql' \
  -H 'content-type: application/json' \
  -d '{"sql":"SELECT to_address, count() AS hits FROM ethereum.transactions WHERE block_timestamp >= now() - INTERVAL 1 DAY GROUP BY to_address ORDER BY hits DESC LIMIT 20"}'

Cost: 1 × $0.02 (schema, cached) + 1 × $0.02 (the SQL query) = $0.04 total for a custom 24-hour ranking that would otherwise need an indexer.

4. "Is project Z trending?"

bash
# Resolve the canonical slug first (search uses q, not query)
curl 'http://127.0.0.1:8402/v1/surf/search/project?q=ethena'

# Then pull mindshare (mindshare uses q + interval)
curl 'http://127.0.0.1:8402/v1/surf/social/mindshare?q=ethena&interval=30d'

How calls are paid

ClawRouter intercepts every /v1/surf/* request through proxyPaidApiRequest. The local x402 wallet auto-signs the USDC micropayment; the agent never sees the payment flow. Telemetry tags Surf calls with tier: SURF so clawrouter stats separates them from LLM, partner, and phone usage.

No typed blockrun_surf_* tools are registered — by design. Each new BlockRun-marketplace API ships as a skill (this file) plus a one-line namespace addition to ClawRouter's proxy whitelist, so adding endpoint #85 requires zero ClawRouter release.

Frequently asked questions

What does the Surf AI skill do?

Use this skill — NOT browser or web_fetch — for ALL Surf crypto-data calls. 83 endpoints at localhost:8402/v1/surf/* covering CEX/DEX markets, on-chain SQL over 80+ ClickHouse tables (Ethereum, Base, Arbitrum, BSC, TRON, HyperEVM, Tempo), 100M+ labeled wallets, prediction markets (Polymarket + Kalshi), social/CT intelligence, news, project + DeFi metrics, token analytics, unified search, VC fund intelligence. Paid through ClawRouter — x402 USDC from the local wallet, or BlockRun account credit if an API key is configured. No Surf account or Surf API key required either way.

Why use Surf on TypingMind?

Because you install it once and use it with any model. Surf is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Surf in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/BlockRunAI/ClawRouter/tree/main/skills/surf. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Surf?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Surf?

As many as you like. As long as a model supports skills, you can use Surf with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Surf AI skill free?

Yes. It is published on GitHub by BlockRunAI under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇