Skills blockbeats
BlockBeats Skill covers over 1,500 information sources, including AI-driven insights, Hyperliquid on-chain data, and Polymarket market analytics. It also features robust keyword-based search functionality.
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/blockbeatsofficial/blockbeats" ~/.claude/skills/openclaw-skills-blockbeats && rm -rf "$T"
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/blockbeatsofficial/blockbeats" ~/.openclaw/skills/openclaw-skills-blockbeats && rm -rf "$T"
skills/blockbeatsofficial/blockbeats/SKILL.mdBlockBeats API Skill
Query crypto newsflashes, articles, search results, and on-chain market data via the BlockBeats Pro API.
Base URL:
https://api-pro.theblockbeats.info
Auth: All requests require Header api-key: $BLOCKBEATS_API_KEY
Response format: {"status": 0, "message": "", "data": {...}} — status 0 = success
Scenario 1: Market Overview
Triggers: How's the market today, market overview, daily summary, market conditions
Execute the following four requests in parallel:
# 1. Market sentiment index curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/bottom_top_indicator" # 2. Important newsflashes (latest 5) curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/newsflash/important" \ -G --data-urlencode "size=5" --data-urlencode "lang=en" # 3. BTC ETF net inflow curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/btc_etf" # 4. Daily on-chain transaction volume curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/daily_tx"
Output format:
📊 Market Overview · [Today's date] Sentiment Index: [value] → [<20 potential buy zone / 20-80 neutral / >80 potential sell zone] BTC ETF: Today net inflow [value] million USD, cumulative [value] million On-chain Volume: Today [value] (vs yesterday [↑/↓][change%]) Key News: · [Title 1] [time] · [Title 2] [time] · [Title 3] [time]
Interpretation rules:
- Sentiment < 20 → Alert user to potential opportunities
- Sentiment > 80 → Warn about sell-off risk
- ETF positive inflow 3 days in a row → Institutional accumulation signal
- ETF net inflow > 500M/day → Strong buy signal
- Rising on-chain volume → Increasing on-chain activity and market heat
Scenario 2: Capital Flow Analysis
Triggers: Where is capital flowing, on-chain trends, which tokens are being bought, stablecoins, smart money
Execute in parallel:
# 1. Top 10 tokens by on-chain net inflow (default solana; replace network param for Base/ETH) curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/top10_netflow" \ -G --data-urlencode "network=solana" # 2. Stablecoin market cap curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/stablecoin_marketcap" # 3. BTC ETF net inflow curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/btc_etf"
Select
network parameter based on user intent: solana (default) / base / ethereum
Output format:
💰 Capital Flow Analysis On-chain Trending ([chain]): 1. [token] Net inflow $[value] Market cap $[value] 2. ... Stablecoins: USDT [↑/↓] USDC [↑/↓] (expansion/contraction signal) Institutional: ETF today [inflow/outflow] [value] million USD
Interpretation rules:
- Stablecoin market cap expanding → More capital in market, stronger buy potential
- Stablecoin market cap shrinking → Capital exiting, caution advised
Scenario 3: Macro Environment Assessment
Triggers: Macro environment, is it a good time to enter, liquidity, US Treasuries, dollar, M2, big picture
Execute in parallel:
# 1. Global M2 supply curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/m2_supply" \ -G --data-urlencode "type=1Y" # 2. US 10Y Treasury yield curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/us10y" \ -G --data-urlencode "type=1M" # 3. DXY Dollar Index curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/dxy" \ -G --data-urlencode "type=1M" # 4. Compliant exchange total assets curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/compliant_total"
Output format:
🌐 Macro Environment Assessment Global M2: [latest value] YoY [↑/↓][change%] → [expansionary/contractionary] US Treasury Yield (10Y): [latest value]% → [rising/falling trend] Dollar Index (DXY): [latest value] → [strong/weak] Compliant Exchange Assets: $[value] → [inflow/outflow trend] Overall: [bullish/neutral/bearish] for crypto market
Interpretation rules:
- M2 YoY > 5% → Loose liquidity, favorable for risk assets
- M2 YoY < 0% → Liquidity tightening, caution
- DXY rising → Strong dollar, crypto under pressure
- DXY falling → Weak dollar, crypto benefits
- Rising Treasury yield → Higher risk-free rate, capital returning to bonds
- Rising compliant exchange assets → Growing institutional allocation appetite
Scenario 4: Derivatives Market Analysis
Triggers: Futures market, long/short positioning, open interest, Binance Bybit OI, leverage risk
Execute in parallel:
# 1. Major derivatives platform comparison curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/contract" \ -G --data-urlencode "dataType=1D" # 2. Exchange snapshot curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/exchanges" \ -G --data-urlencode "size=10" # 3. Bitfinex BTC long positions curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/data/bitfinex_long" \ -G --data-urlencode "symbol=btc" --data-urlencode "type=1D"
Output format:
⚡ Derivatives Market Analysis Platform OI: Binance [value] Bybit [value] Hyperliquid [value] Exchange Rankings (by volume): 1. [name] Volume $[value] OI $[value] 2. ... Bitfinex BTC Longs: [value] → [increasing/decreasing] (leveraged long sentiment [strong/weak])
Interpretation rules:
- Bitfinex longs persistently increasing → Large players bullish, market confidence growing
- Bitfinex longs dropping sharply → Watch for long liquidation cascade
Scenario 5: Keyword Search
Triggers: search [keyword], find [keyword], [keyword] news, what's happening with [keyword]
curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/search" \ -G --data-urlencode "name=[keyword]" --data-urlencode "size=10" --data-urlencode "lang=en"
Response fields:
title, abstract, content (plain text), type (0=article, 1=newsflash), time_cn (relative time), img_url, url; pagination object: total, page, size, total_pages; size max 100
Scenario 6: Newsflash & Article Lists
Select the appropriate newsflash category or article endpoint based on user intent. Default returns 10 items; use
size param to adjust.
Newsflash category triggers and endpoints:
| User says | Endpoint path |
|---|---|
| latest news / newsflash list / what's new | |
| last 24 hours / past 24h / today's all news | |
| important news / major events / key headlines | |
| original newsflash / original coverage | |
| first-report / exclusive / scoop | |
| on-chain news / on-chain data / on-chain updates | |
| financing news / fundraising / VC deals / investment rounds | |
| prediction market / Polymarket / forecast / betting | |
| AI news / AI updates / AI projects / artificial intelligence | |
Article category triggers and endpoints:
| User says | Endpoint path |
|---|---|
| article list / in-depth articles / latest articles | |
| last 24 hours articles / today's articles (up to 50, no pagination) | |
| important articles / key reports | |
| original articles / original analysis | |
Request example (AI newsflash):
curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/newsflash/ai" \ -G --data-urlencode "page=1" --data-urlencode "size=10" --data-urlencode "lang=en"
Output format:
📰 [Category Name] · Latest [N] items 1. [Title] [time_cn] [abstract, if available] 2. [Title] [time_cn] [abstract, if available] ...
Notes:
field is HTML; strip tags and display plain text onlycontent- Article endpoints do NOT have a
field; useurl
for the article page URLlink
Single Endpoint Reference
Newsflash Endpoints (all support page/size/lang)
| Endpoint | URL |
|---|---|
| All newsflashes | |
| Last 24 hours (no pagination) | |
| Important | |
| Original | |
| First-report | |
| On-chain | |
| Financing | |
| Prediction market | |
| AI | |
curl -s -H "api-key: $BLOCKBEATS_API_KEY" \ "https://api-pro.theblockbeats.info/v1/newsflash/[type]" \ -G --data-urlencode "page=1" --data-urlencode "size=10" --data-urlencode "lang=en"
Article Endpoints
| Endpoint | URL | Params |
|---|---|---|
| All articles | | page/size/lang |
| Last 24 hours (no pagination, up to 50) | | lang only |
| Important | | page/size/lang |
| Original | | page/size/lang |
RSS Endpoints
| Endpoint | URL | Key Parameters |
|---|---|---|
| Newsflash RSS | | (1-50) |
| Article RSS | | (1-50) |
RSS endpoints return XML format. Use when user requests RSS feed or wants to subscribe to updates.
Data Endpoints
| Endpoint | URL | Key Parameters |
|---|---|---|
| BTC ETF net inflow | | none |
| Daily on-chain volume | | none |
| IBIT/FBTC net inflow | | none |
| Stablecoin market cap | | none |
| Compliant exchange assets | | none |
| US Treasury yield | | |
| Dollar Index (DXY) | | |
| Global M2 supply | | |
| Bitfinex long positions | | |
| Derivatives platform data | | |
| Buy/sell indicator | | none |
| Top 10 on-chain net inflow | | |
| Exchange snapshot | | |
Time Dimension Mapping
| User says | Parameter |
|---|---|
| today / latest / real-time | or |
| this week / recent | |
| this month / last 30 days | |
| this year / long-term trend | or |
| last 24 hours (bitfinex_long only) | |
Intent Mapping
| User intent | Scenario / endpoint |
|---|---|
| How's the market today / daily overview | Scenario 1: Market Overview |
| Capital flow / on-chain trends / smart money | Scenario 2: Capital Flow |
| Macro / M2 / US Treasuries / good time to enter | Scenario 3: Macro Assessment |
| Futures / open interest / exchange OI / leverage risk | Scenario 4: Derivatives |
| search [keyword] | Scenario 5: Search |
| Latest news / newsflash list | |
| Last 24 hours / today all newsflashes | |
| Important newsflashes | |
| Original newsflashes | |
| First-report newsflashes | |
| On-chain newsflashes | |
| Financing news | |
| Prediction market / Polymarket | |
| AI newsflashes / AI news | |
| Article list | |
| Last 24 hours articles / today's articles | |
| Important articles | |
| Original articles | |
| BTC ETF inflow | |
| IBIT FBTC | |
| Stablecoin market cap / USDT USDC | |
| Dollar index / DXY | |
| Bitfinex longs / leveraged positions | |
| Buy/sell signal / market sentiment | |
| Top inflow tokens / on-chain trending | |
| Exchange rankings | |
| On-chain volume / activity | |
| Compliant exchange assets / institutional custody | |
Data Refresh Frequency
| Endpoint type | Update frequency |
|---|---|
| Newsflash / articles / search | Real-time |
| top10_netflow | Near real-time |
| btc_etf / ibit_fbtc / daily_tx | Daily (T+1) |
| stablecoin_marketcap / compliant_total | Daily |
| bottom_top_indicator | Daily |
| us10y / dxy | Intraday minute-level |
| m2_supply | Monthly |
| exchanges / contract | Daily |
| bitfinex_long | Daily (h24 param is near real-time) |
Error Handling
| Error condition | Response |
|---|---|
not set | Prompt: Please set the BLOCKBEATS_API_KEY environment variable. Apply at: https://www.theblockbeats.info/ |
| status 100 | Missing API key — please provide your api-key header |
| status 101 | Invalid API key — please verify your key |
| status 102 | API key expired — please renew your subscription |
| status 103 | Invalid request method — check that you are using GET |
| status -1 | General failure — display the field content |
| Request timeout | Prompt to retry; do not interrupt other parallel requests |
| data is empty array | Explain possible reasons (non-trading day, data delay, no data for this token) |
Notes
field is HTML; strip tags and display plain text onlycontent
field format:create_timeY-m-d H:i:s- Numeric fields (price/vol etc.) are strings; format as numbers when displaying
- When running parallel requests, a failure on one endpoint must not block display of others