Every story Muhabbit publishes, over one API.
Real-time news across world, crypto, finance and tech, from outlets in seven languages, Turkish included, with sentiment, impact, entities, narratives and recaps. Use an API key or a wallet signature, or pay per request with x402 on 0G. 28 endpoints, a WebSocket stream and full-text search.
Quick start
# 0) try it: no key, no wallet, nothing to sign up for curl "https://muhabbit.com/api/wire?limit=5" # 1) use a free API key from muhabbit.com/account for this request # Five agent routes also take x402 per request, see below. curl "https://api-production-ba80.up.railway.app/v1/articles?vertical=crypto&limit=5" \ -H "X-API-Key: YOUR_API_KEY"
Authentication
| Scheme | How | What you get |
|---|---|---|
| API key | X-API-Key header | Every route your plan allows, at its rate limits. Get one by SIWE login or card checkout on /account. |
| SIWE | GET /auth/siwe/nonce, sign, then POST /auth/siwe/verify | First login creates a free API key (shown once) and a 24-hour bearer token. |
| x402 | Call without credentials, read the 402 and its accepts[], then retry with X-PAYMENT | Pay per request in USDC.e (EIP-3009) or W0G (Permit2) on 0G. No account at all. |
| Public token | GET /auth/public-token, then send Authorization: Bearer | Anonymous discovery routes only (categories, stats). |
MCP server
18 read-only toolsPoint an MCP client at /mcp and let your AI agent read the wire itself. The server speaks Streamable HTTP and keeps no session. Your X-API-Key, Bearer or X-PAYMENT header is forwarded on each tool call.
# Claude Code, remote endpoint (Streamable HTTP) claude mcp add muhabbit https://api-production-ba80.up.railway.app/mcp --transport http --header "X-API-Key: YOUR_API_KEY" # Claude Code through the npm bridge (stdio). Cursor and Claude Desktop run: npx -y muhabbit mcp claude mcp add muhabbit --scope user --env MUHABBIT_API_KEY=YOUR_API_KEY -- npx -y muhabbit mcp # Any other MCP client: url https://api-production-ba80.up.railway.app/mcp, header X-API-Key
| Tool | What it answers |
|---|---|
muhabbit_news | Latest news, shaped for AI agents |
muhabbit_search | Full-text search over the article corpus |
muhabbit_recap | Scheduled 1h, 24h or 7d recap per vertical |
muhabbit_ticker_summary | 24h summary of news about one asset |
muhabbit_sentiment_index | Sentiment index, overall and per vertical |
muhabbit_sentiment_signals | Momentum, volume-weighted, regime and vertical-shift sentiment signals |
muhabbit_asset_sentiment | Sentiment score and impact for one asset over 24h, 7d and 30d |
muhabbit_narratives | Narratives: lifecycle phase, velocity and sources |
muhabbit_narrative_history | Time series for one narrative |
muhabbit_confidence | 5-factor confidence for one article |
muhabbit_cross_reference | Multi-source validation of an article's claims |
muhabbit_categories | Verticals and active topic slugs |
muhabbit_alerts | Exchange security alerts |
muhabbit_alert | One exchange security alert with its evidence |
muhabbit_events | The public record feed |
muhabbit_record_head | Latest entry id and hash of the public record |
muhabbit_record_entries | Public record entries |
muhabbit_record_verify | Verify the public record |
Command line
npm package muhabbitThe muhabbit package is a stdio MCP bridge and a command line for market events, exchange security alerts, news and public-record verification. It needs Node.js 20 or later and has no runtime dependencies. The public record, confirmed alerts and verification work without a key.
| Command | What it does |
|---|---|
muhabbit login | Checks your API key against the API and saves it to ~/.config/muhabbit/config.json with mode 0600. MUHABBIT_API_KEY overrides it. |
muhabbit mcp | A stdio MCP server for Claude Code, Cursor, Claude Desktop and any other MCP client. It forwards every request to the Muhabbit MCP endpoint, so new tools show up without an upgrade. |
muhabbit events | The public record of market events, or exchange security alerts by tier and exchange. --watch streams new items. |
muhabbit news | The latest news, filtered by vertical, topic, tokens and time. Needs an API key. |
muhabbit verify | Recomputes the public record's hash chain on your machine. It exits 1 if any entry was edited, removed or reordered. |
# Save a key once. Free commands work without one. npx muhabbit login # The public record, and exchange security alerts npx muhabbit events --category fed,cpi --min-impact 50 --since 6h npx muhabbit events --tier confirmed npx muhabbit events --tier all --watch --json | jq . # News (needs an API key) npx muhabbit news --vertical crypto --tokens BTC,ETH --since 2h # Recompute the public record's hash chain locally npx muhabbit verify
Run muhabbit <command> --help for every option.
Pay per request with x402
Call a paid route without credentials. The 402 response lists accepts[]: sign the payment and retry with X-PAYMENT. Pay in USDC.e (EIP-3009) or W0G (Permit2) on 0G. No account at all.
| Route | Price | What you get |
|---|---|---|
GET /v1/news | $0.03 | Stories shaped for AI agents: headline, tokens, narrative and context |
GET /v1/ticker-summary/:symbol | $0.031 | A 24-hour AI summary for one of the most-mentioned assets |
GET /v1/recaps | $0.10 | Recaps over 1 hour, 24 hours or 7 days, per topic |
GET /v1/events | $0.05 | Market events such as hacks, listings, regulatory actions and ETF flows, with a replay cursor |
GET /v1/alerts | $0.05 | Exchange hack alerts, including suspected ones before they are confirmed |
import { wrapFetchWithPayment } from "x402-fetch"
// The first call gets a 402 with accepts[]. x402-fetch signs the payment and retries with X-PAYMENT.
const paidFetch = wrapFetchWithPayment(fetch, walletClient) // 0G chain 16661
const res = await paidFetch("https://api-production-ba80.up.railway.app/v1/news?vertical=crypto")A 412 answer with PERMIT2_ALLOWANCE_REQUIRED asks for a one-time W0G approval to Permit2. See pricing.
Endpoints
28 endpointsFor AI agents10
POST /mcpMCP server (Streamable HTTP, stateless) with 18 read-only tools: news, search, recaps, ticker summaries, sentiment, narratives and their history, confidence, cross-reference, categories, exchange alerts, market events and the public record. YourX-API-Key,BearerorX-PAYMENTheader is forwarded on each tool call.Request# Claude Code claude mcp add muhabbit https://api-production-ba80.up.railway.app/mcp --transport http --header "X-API-Key: YOUR_API_KEY" # Cursor / any MCP client: url https://api-production-ba80.up.railway.app/mcp, header X-API-Key
Responsetools: muhabbit_news, muhabbit_search, muhabbit_recap, muhabbit_ticker_summary, muhabbit_sentiment_index, muhabbit_sentiment_signals, muhabbit_asset_sentiment, muhabbit_narratives, muhabbit_narrative_history, muhabbit_confidence, muhabbit_cross_reference, muhabbit_categories, muhabbit_alerts, muhabbit_alert, muhabbit_events, muhabbit_record_head, muhabbit_record_entries, muhabbit_record_verify
GET /v1/newsNews shaped for AI agents:signal,tokens[],narrative_id, brief and full context. Every item carrieslatency_seconds, the time from the source publishing to Muhabbit publishing, so you can check the delay story by story. The median is public at/health/wire. Use an API key, a wallet token or an x402 payment.Query parameters
Parameter Type What it does verticalstring crypto, finance, tech categorystring Topic slug from /v1/categories tokensstring Comma-separated tickers, crypto or equities, e.g. BTC,ETH or AAPL. Also accepted as symbol. sinceISO 8601 Only items published after this UTC ISO 8601 timestamp, ending in Z min_importancenumber 0-1 languagestring en (default) or tr limitinteger 1-100, default 25 Request# with an API key curl "https://api-production-ba80.up.railway.app/v1/news?vertical=crypto&tokens=BTC" -H "X-API-Key: YOUR_API_KEY" # with x402 (USDC.e on 0G): the first call returns 402 and accepts[], x402-fetch handles the rest import { wrapFetchWithPayment } from "x402-fetch" const paidFetch = wrapFetchWithPayment(fetch, walletClient) const res = await paidFetch("https://api-production-ba80.up.railway.app/v1/news?vertical=crypto")Response{ "data": [{ "id": "uuid", "signal": "Bitcoin ETF inflows hit record", "sentiment": "positive", "sentiment_value": 0.42, "importance": 0.8, "latency_seconds": 41, "timestamp": "2026-08-21T10:00:00.000Z", "feed_categories": ["crypto", "ETF Inflows"], "short_context": "Spot ETFs saw $1.2B of inflows.", "long_context": "…capped excerpt…", "sources": [{ "id": "uuid", "name": "CoinDesk", "url": "https://..." }], "tokens": ["BTC"], "narrative_id": "etf-inflows", "derived": { "ai_confidence": 0.9, "fields": ["sentiment", "sentiment_value", "..."] } }], "pagination": { "limit": 25, "offset": 0, "hasMore": true } }GET /v1/eventsMarket events: events you can route, not news you can read. Every event carries: a 39-leaf taxonomy type (type_v2), the entities resolved to tradeable instruments (symbol,coingecko_id,binance_perp; unmapped copy is untradeable), a signed event-conditioned impact vector (a hack has negative primary, sector and BTC impact), and a novelty score (1.0 is a clean first print, near 0 is an echo). Two clocks (first_seen_atis when the publisher posted it,ingest_atis when Muhabbit got it; backtests key oningest_at, so there is no look-ahead), gap-free cursor replay, first-classretractedflag. Live and historical reads use the same schema. Novelty depends on earlier events in the same response page. Business (90 days of history), Unlimited (full archive), or x402 at $0.05 a request (7 days). Discovery:GET /v1/events/types.Query parameters
Parameter Type What it does typesstring Comma-separated, e.g. HACK_EXPLOIT,REG_ACTION sinceISO 8601 Window start for a replay, oldest first (default: 24 hours ago) cursorstring Resume token from next_cursor, for gap-free replay latest1 The newest events of the last 24 hours, in ingest order, with no next_cursor. Not with since or cursor limitinteger 1-200, default 50 Requestcurl "https://api-production-ba80.up.railway.app/v1/events?types=CEX_LISTING" -H "X-API-Key: YOUR_API_KEY"
Response{ "events": [{ "event_id": "uuid", // stable: key your strategy state on it "type": "CEX_LISTING", "headline": "Coinbase lists Solana", "entities": [{ "name": "Solana", "symbol": "SOL" }], "instruments": [{ "symbol": "SOL", "coingecko_id": "solana", "binance_perp": "SOLUSDT" }], "type_v2": "CEX_LISTING", // 39-leaf taxonomy "impact": { // role-adjusted per-entity + spillover "per_entity": [{"entity":"Solana","symbol":"SOL","role":"subject","weight":0.8}], "sector": 0.1, "btc": 0 }, "novelty": 0.94, // 1.0 = clean scoop, near 0 = echo or reprint "first_seen_at": "2026-08-24T20:16:00.000Z", // publisher clock "ingest_at": "2026-08-24T20:20:11.000Z", // wire clock "latency_seconds": 251, "confidence": 0.92, "retracted": false, "permalink": "https://muhabbit.com/news/uuid" }], "next_cursor": "…" // store it; replay resumes with zero gaps }GET /v1/events/exportPoint-in-time archive dump as NDJSON. Each event line carriesevent_id,type,headline,first_seen_at,ingest_at,latency_seconds,source(name and URL),confidence,verticalandretracted. Resume via the meta line'sresume_cursor. Windows up to 31 days per call; loop for longer ranges. Unlimited plan only.Query parameters
Parameter Type What it does fromISO 8601, required Window start (ingest clock) toISO 8601, required Window end, at most 31 days after from cursorstring resume_cursor from the previous call's meta line Requestcurl "https://api-production-ba80.up.railway.app/v1/events/export?from=2026-06-01T00:00:00Z&to=2026-07-01T00:00:00Z" \ -H "X-API-Key: YOUR_API_KEY" > events-june.ndjson
Response{"event_id":"…","type":"HACK_EXPLOIT","first_seen_at":"…","ingest_at":"…",…} {"event_id":"…","type":"ETF_FLOW",…} {"_meta":true,"scanned":5000,"events":214,"window_exhausted":false,"resume_cursor":"…"}GET /v1/recapsScheduled 1h, 24h or 7d recap per vertical (English). Never generated on request; freshness is explicit.Query parameters
Parameter Type What it does timeframestring 1h, 24h (default), 7d verticalstring all (default), crypto, finance, tech Requestcurl "https://api-production-ba80.up.railway.app/v1/recaps?timeframe=24h&vertical=crypto" -H "X-API-Key: YOUR_API_KEY"
Response{ "kind": "recap", "timeframe": "24h", "subject": "crypto", "title": "…", "body": "…", "sentiment_value": 0.12, "article_count": 25, "article_ids": ["uuid"], "window": { "start": "…", "end": "…" }, "generated_at": "…", "freshness": "fresh", "model": "muhabbit-heavy", "prompt_version": "v1", "derived": true }GET /v1/ticker-summary/:symbol24h AI summary for the most-mentioned assets (e.g. BTC, ETH). 404 if the asset was not in the top set.Requestcurl "https://api-production-ba80.up.railway.app/v1/ticker-summary/BTC" -H "X-API-Key: YOUR_API_KEY"
GET /v1/categoriesVerticals and active topics. Requires an API key or the anonymous bearer token from/auth/public-token.Requestcurl "https://api-production-ba80.up.railway.app/v1/categories" -H "Authorization: Bearer PUBLIC_TOKEN"
GET /auth/siwe/nonceStart wallet sign-in (EIP-4361). Gives a single-use nonce and the domain to sign for.PublicRequestcurl "https://api-production-ba80.up.railway.app/auth/siwe/nonce"
Response{ "nonce": "…", "domain": "api-production-ba80.up.railway.app", "expiresIn": 600 } // sign for this domain, whatever it isPOST /auth/siwe/verifyVerify the signed SIWE message. First login creates a free API key (returned once) and a bearer token.PublicRequest body
Field Type What it does messagestring, required The EIP-4361 message you signed, using the domain from /auth/siwe/nonce signaturehex, required EOA signature of the message Requestcurl -X POST "https://api-production-ba80.up.railway.app/auth/siwe/verify" -H "Content-Type: application/json" \ -d '{"message":"<domain from /auth/siwe/nonce> wants you to sign in…","signature":"0x…"}'Response{ "address": "0x…", "clientId": "uuid", "apiKey": "mhb_live_…", "token": "eyJ…", "tokenType": "Bearer", "expiresIn": 86400 }GET /auth/public-tokenAnonymous read-only token for discovery routes (categories, stats). Not a corpus key.PublicRequestcurl "https://api-production-ba80.up.railway.app/auth/public-token"
Articles4
GET /v1/articlesList articles with filtering, pagination, and sortingQuery parameters
Parameter Type What it does verticalstring Filter by vertical: crypto, finance, tech sentimentstring Filter by sentiment: very_negative, negative, neutral, positive, very_positive minImportancenumber Minimum importance score (0-1) symbolstring Comma-separated tickers, equities or crypto, e.g. AAPL,NVDA or BTC. Matches stories whose entities name the asset. A ticker no story names gives an empty list. startDateISO 8601 Filter articles after this UTC ISO 8601 timestamp, ending in Z endDateISO 8601 Filter articles before this UTC ISO 8601 timestamp, ending in Z limitinteger Results per page (1-100, default: 20) offsetinteger Pagination offset (default: 0) Requestcurl "https://api-production-ba80.up.railway.app/v1/articles?vertical=crypto&limit=5" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "data": [ { "id": "uuid", "url": "https://...", "title": "Bitcoin Surges Past $100K", "titleTr": "Bitcoin 100K Dolari Asti", "summary": "Bitcoin reached a new all-time high...", "summaryTr": "Bitcoin yeni bir rekor kirdi...", "vertical": "crypto", "topics": ["bitcoin", "market"], "sentiment": "positive", "sentimentScore": 0.72, "importance": 0.85, "source": { "id": "uuid", "name": "CoinDesk" }, "publishedAt": "2026-02-06T10:30:00Z", "createdAt": "2026-02-06T10:31:00Z" } ], "pagination": { "total": 4521, "limit": 5, "offset": 0, "hasMore": true } }GET /v1/articles/:idGet a single article with an excerpt, related entities and other coverage inalsoReportedByRequestcurl "https://api-production-ba80.up.railway.app/v1/articles/ARTICLE_ID" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "id": "uuid", "title": "Bitcoin Surges Past $100K", "excerpt": "Article excerpt...", "alsoReportedBy": [], "entities": [ { "id": "uuid", "name": "Bitcoin", "type": "token", "relevance": 0.95 } ], ... }POST /v1/articles/searchFull-text search with tsvector ranking, falls back to ILIKERequest body
Field Type What it does querystring, required Search query (1-500 chars) verticalstring Filter by vertical limitinteger Max results (1-50, default: 10) Requestcurl -X POST "https://api-production-ba80.up.railway.app/v1/articles/search" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query": "Bitcoin ETF approval", "limit": 5}'Response{ "query": "Bitcoin ETF approval", "searchType": "fulltext", "total": 12, "results": [ { "id": "uuid", "title": "SEC Approves Spot Bitcoin ETF", "relevance": 0.87, ... } ] }GET /v1/articles/statsGet article counts by verticalRequestcurl "https://api-production-ba80.up.railway.app/v1/articles/stats" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "total": 4021, "byVertical": { "crypto": 1823, "finance": 1200, "tech": 998 }, "timestamp": "2026-02-06T12:00:00Z" }
Entities1
GET /v1/entitiesList recognized entities (companies, tokens, people)Query parameters
Parameter Type What it does typestring Filter by type: company, person, token, product, location, event limitinteger Max results (default: 20) Requestcurl "https://api-production-ba80.up.railway.app/v1/entities?type=token&limit=10" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "data": [ { "id": "uuid", "name": "Bitcoin", "type": "token", "aliases": ["BTC"], "mentionCount": 450, "avgSentiment": 0.32 } ], "pagination": { "total": 128 } }
Sentiment2
GET /v1/sentiment/asset/:symbolSentiment score and impact for one asset (a stock, a coin, gold, silver, crude oil or a currency pair) over 24h, 7d and 30d, from the stories that name it. A ticker or a name works. A window with fewer than 28 scored stories gives a note, not a score. The same data as muhabbit.com/asset.Requestcurl "https://api-production-ba80.up.railway.app/v1/sentiment/asset/NVDA" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "asset": { "symbol": "NVDA", "name": "Nvidia", "kind": "equity" }, "windows": { "7d": { "mentions": 79, "highImpact": 11, "scored": 78, "impact": { "mean": …, "max": … }, "sentiment": { "coverage": "enough", "impactWeighted": 0.07, "mean": …, "tone": { "positive": …, "neutral": …, "negative": … } }, "timeline": { "bucket": "day", "points": [{ "mentions": …, "highImpact": …, "scored": …, "sentiment": … }] }, "sources": [{ "name": "…", "mentions": …, "sentiment": null }], "topStories": [{ "headline": "…", "source": "…", "impact": …, "sentiment": … }] }, "24h": { … }, "30d": { … } }, "method": { "toneBand": 0.2, "highImpactFloor": 80, "minScoredStories": 28 } }GET /v1/sentiment/marketGet overall market sentiment with per-vertical breakdown. Scores range from 0 to 1, with 0.5 neutral.Requestcurl "https://api-production-ba80.up.railway.app/v1/sentiment/market" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "overall": "very_negative", "overallScore": 0.28, "verticals": [ { "vertical": "crypto", "score": 0.32, "articleCount": 120 }, { "vertical": "finance", "score": 0.22, "articleCount": 85 } ], "stats": { "totalArticles": 350, "bullishPercent": 12, "sourcesCount": 45, "breakingCount": 3 } }
Trending1
GET /v1/trending/topicsGet trending topics with trend direction and momentumQuery parameters
Parameter Type What it does hoursinteger Time window in hours (default: 24) limitinteger Max topics (default: 10) Requestcurl "https://api-production-ba80.up.railway.app/v1/trending/topics?hours=24&limit=5" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "data": [ { "topic": "Bitcoin ETF", "count": 28, "trend": "up", "changePercent": 45 }, { "topic": "Fed Rate Cut", "count": 15, "trend": "down", "changePercent": -12 } ], "timeframe": { "hours": 24, "since": "2026-02-05T12:00:00Z" } }
Intelligence3
GET /v1/intelligence/narrativesNarratives built from Muhabbit's analyzed stories: lifecycle phase, velocity, distinct-source count, entities, sentiment. The same list as muhabbit.com/narratives.Query parameters
Parameter Type What it does hoursnumber Cluster window (default 72) Requestcurl "https://api-production-ba80.up.railway.app/v1/intelligence/narratives?hours=48" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "narratives": [{ "id": "bitcoin-etf", "title": "Bitcoin ETF", "phase": "growing", // emerging | growing | peak | declining | stale "velocity": 0.48, // signed acceleration of coverage "articleCount": 28, "sourceCount": 6, // distinct outlets, the trust mark "verticals": ["crypto", "finance"], "sentiment": { "overall": 0.19, "trend": "improving" }, "sampleArticles": [ ... ] }], "phaseBreakdown": { "emerging": 2, "growing": 5, ... } }GET /v1/intelligence/confidence/:articleId5-factor confidence score for one story: source tier, cross-reference, freshness, AI confidence, entity grounding.Requestcurl "https://api-production-ba80.up.railway.app/v1/intelligence/confidence/ARTICLE_ID" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "articleId": "uuid", "title": "Bitcoin ETF inflows rise", "source": "CoinDesk", "publishedAt": "2026-02-06T12:00:00Z", "confidence": { "overall": 0.818, "tier": "high", "breakdown": { "sourceReliability": 0.9, "crossReference": 0.75, "freshness": 0.9, "aiAnalysis": 0.85, "entityRecognition": 0.65 }, "factors": [ { "name": "Source Reliability", "score": 0.9, "weight": 0.3, "contribution": 0.27 }, { "name": "Cross-Reference", "score": 0.75, "weight": 0.25, "contribution": 0.188 }, { "name": "Freshness", "score": 0.9, "weight": 0.15, "contribution": 0.135 }, { "name": "AI Analysis", "score": 0.85, "weight": 0.15, "contribution": 0.128 }, { "name": "Entity Recognition", "score": 0.65, "weight": 0.15, "contribution": 0.098 } ] }, "warnings": [], "recommendations": [], "generatedAt": "2026-02-06T12:05:00Z" }GET /v1/intelligence/cross-reference/:articleIdMulti-source claim validation: which other outlets carry the same story, entity overlap, agreement.Requestcurl "https://api-production-ba80.up.railway.app/v1/intelligence/cross-reference/ARTICLE_ID" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "articleId": "uuid", "title": "Bitcoin ETF inflows rise", "source": "CoinDesk", "overallConfidence": 0.87, "sourceAgreement": 0.9, "freshness": 0.95, "claims": [{ "claim": "ETF inflows rose", "verified": true, "confidence": 0.87, "supportingSources": 3, "contradictingSources": 0, "analysis": "Three sources report higher inflows." }], "entityCorrelations": [{ "entity": "Bitcoin", "mentionCount": 4, "sources": ["CoinDesk", "Decrypt"], "confidence": 0.9 }], "generatedAt": "2026-02-06T12:05:00Z" }
Analytics4
GET /v1/analyticsDashboard analytics in one call: sentiment, verticals, sources, entitiesRequestcurl "https://api-production-ba80.up.railway.app/v1/analytics" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "sentimentDistribution": { "very_positive": 8, "positive": 35, "neutral": 40, "negative": 12, "very_negative": 5 }, "verticalDistribution": [ { "vertical": "crypto", "count": 1823, "percentage": 40 } ], "marketStats": { "totalArticles": 4521, "articlesLast24h": 142, "averageSentiment": 0.28, "breakingNews": 3, "uniqueSources": 52, "uniqueEntities": 8 }, "sourceStats": [...], "hourlyActivity": [...], "topEntities": [...] }GET /v1/analytics/sentiment/historyDaily sentiment trends over time with positive and negative breakdownQuery parameters
Parameter Type What it does daysinteger Number of days (1-90, default: 30) verticalstring Filter by vertical Requestcurl "https://api-production-ba80.up.railway.app/v1/analytics/sentiment/history?days=7&vertical=crypto" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "days": 7, "vertical": "crypto", "data": [ { "date": "2026-02-01", "avgScore": 0.34, "articleCount": 45, "positive": 28, "neutral": 12, "negative": 5, "positivePercent": 62, "negativePercent": 11 } ] }GET /v1/analytics/entities/:id/timelineDaily mention count and sentiment for a specific entityQuery parameters
Parameter Type What it does daysinteger Number of days (1-90, default: 30) Requestcurl "https://api-production-ba80.up.railway.app/v1/analytics/entities/ENTITY_ID/timeline?days=14" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "entity": { "id": "uuid", "name": "Bitcoin", "type": "token" }, "days": 14, "totalMentions": 87, "timeline": [ { "date": "2026-02-01", "mentions": 8, "avgSentiment": 0.42, "avgRelevance": 0.78 } ] }GET /v1/analytics/verticals/historyDaily article counts per vertical over timeQuery parameters
Parameter Type What it does daysinteger Number of days (1-90, default: 30) Requestcurl "https://api-production-ba80.up.railway.app/v1/analytics/verticals/history?days=14" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "days": 14, "data": [ { "date": "2026-02-01", "verticals": { "crypto": { "count": 42, "avgSentiment": 0.35 }, "finance": { "count": 28, "avgSentiment": 0.18 } } } ] }
Market Data1
GET /v1/pricesGet real-time cryptocurrency prices (BTC, ETH, SOL, etc.)Query parameters
Parameter Type What it does limitinteger 1-100, default 50 Requestcurl "https://api-production-ba80.up.railway.app/v1/prices" \ -H "X-API-Key: YOUR_API_KEY"
Response{ "data": [ { "symbol": "BTC", "name": "Bitcoin", "price": 103250.00, "priceUsd": 103250.00, "change24h": 2.1, "volume24h": 28000000000, "marketCap": 2040000000000, "source": "coingecko", "updatedAt": "2026-02-06T12:00:00Z" }, { "symbol": "ETH", "name": "Ethereum", "price": 3850.00, "priceUsd": 3850.00, "change24h": -0.5, "volume24h": 15000000000, "marketCap": 460000000000, "source": "coingecko", "updatedAt": "2026-02-06T12:00:00Z" } ], "meta": { "count": 2, "usdTryRate": 36, "lastUpdated": "2026-02-06T12:00:00Z" } }
Streaming2
WS /v1/streamReal-time WebSocket stream.article.created,raw.received,article.retractedandnarrative.phase_changedcarry a monotonicseq. Store the last one you processed and send{type:'replay', since_seq}on reconnect. Buffered frames replay in order, then live resumes. Areplay_gapresponse means the gap predates the buffer: backfill fromGET /v1/eventswith a cursor.tweet.receivedandcrowd.signalhave noseqand are not replayed. Control frames also have noseq:connected,filtersUpdated,pong,subscribe_denied,subscribed,unsubscribed,replay_gapandreplay_complete.Query parameters
Parameter Type What it does keystring, required Your API key (sent as query param for WS) verticalsstring Comma-separated vertical filter Requestwscat -c "wss://api-production-ba80.up.railway.app/v1/stream?key=YOUR_API_KEY&verticals=crypto,finance"
Response// Server sends JSON messages: { "type": "article.created", "seq": 123, "timestamp": "2026-02-06T12:05:01Z", "data": { "id": "uuid", "title": "Breaking: SEC Announces...", "vertical": "crypto", "sentiment": "positive", "importance": 0.9, "publishedAt": "2026-02-06T12:05:00Z" } } // Fast-lane corrections: drop these ids from anything you hold { "type": "article.retracted", "seq": 124, "timestamp": "2026-02-06T12:06:00Z", "data": { "ids": ["uuid"], "reason": "stub_ttl_expired" } }POST /v1/webhooksServer-to-server push (Business and Unlimited plans):article.createdevents delivered to your endpoint with an HMAC signature. Delivery headers areX-Webhook-Signature,X-Webhook-TimestampandX-Webhook-Event. Creation responds with 201. Manage withGET,PUTandDELETE /v1/webhooks/:id;POST /v1/webhooks/:id/testsends a test event.Request body
Field Type What it does urlstring, required Your HTTPS endpoint eventsstring[], required article.created, article.updated, article.approved, article.rejected verticalsstring[] Filter to specific verticals minImportancenumber 0-1, only push above this Requestcurl -X POST "https://api-production-ba80.up.railway.app/v1/webhooks" \ -H "X-API-Key: YOUR_API_KEY" -H "Content-Type: application/json" \ -d '{"url":"https://you.example/hook","events":["article.created"],"verticals":["crypto"],"minImportance":0.7}'Response{ "id": "uuid", "secret": "…", // 64 hex characters, shown once; HMAC-SHA256 over the raw body "url": "https://you.example/hook", "events": ["article.created"], "isActive": true }
Rate limits
| Plan | Per hour | Per month | Per minute |
|---|---|---|---|
| Free | 300 | 10,000 | 5 |
| Pro ($9 a month) | 1,000 | 150,000 | 17 |
| Business ($39 a month) | 5,000 | 300,000 | 84 |
| Unlimited ($99 a month) | 50,000 | Unlimited | 834 |
x402 calls are priced per request. See pricing.
Errors
| Code | Meaning | What to do |
|---|---|---|
| 401 | Missing or invalid credentials | Check the X-API-Key header or refresh your bearer token |
| 402 | Payment required (x402 route) | Read accepts[], sign the payment, retry with X-PAYMENT |
| 403 | Your plan does not include this route | The response body names the required plan |
| 404 | No such resource | Asset not in the top set, or the id is wrong |
| 412 | PERMIT2_ALLOWANCE_REQUIRED | One-time W0G approval to Permit2, then retry |
| 429 | Rate limit exceeded | Back off per Retry-After, or upgrade the plan |
| 5xx | Server error | Retry with backoff. Live status is at muhabbit.com/status |
Get started
Sign in with a wallet to get a free API key, set up x402 to pay per request without an account, or point an MCP client at /mcp and let your AI agent read the wire itself.