Surf 标志

Surf

组织热门
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.

Add to TypingMind

概览

发布者BlockRunAI
代码仓库ClawRouter
技能名称surf
星标数
6.6K
复刻数
650
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 BlockRunAI 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Surf AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/BlockRunAI/ClawRouter/tree/main/skills/surf
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Surf,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Surf。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Surf 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

常见问题

Surf AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Surf?

因为您只需安装一次,就能搭配任何模型使用。Surf 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Surf?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/BlockRunAI/ClawRouter/tree/main/skills/surf。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Surf?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Surf 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Surf 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Surf AI 技能免费吗?

是的。BlockRunAI 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇