Logotipo de Surf

Surf

OrganizaciónPopular
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

Descripción general

EditorBlockRunAI
RepositorioClawRouter
Nombre de la habilidadsurf
Estrellas
6.6K
Forks
650
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por BlockRunAI en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Surf en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/BlockRunAI/ClawRouter/tree/main/skills/surf
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Surf en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Surf automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Surf no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Surf en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Surf está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Surf en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/BlockRunAI/ClawRouter/tree/main/skills/surf. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Surf?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Surf?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Surf con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Surf?

Sí. BlockRunAI la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇