Docs

On air. The free wire runs 15 minutes behind live. See pricing

World, crypto, finance and tech news, scored for impact.

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

Shell
# 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

SchemeHowWhat you get
API keyX-API-Key headerEvery route your plan allows, at its rate limits. Get one by SIWE login or card checkout on /account.
SIWEGET /auth/siwe/nonce, sign, then POST /auth/siwe/verifyFirst login creates a free API key (shown once) and a 24-hour bearer token.
x402Call without credentials, read the 402 and its accepts[], then retry with X-PAYMENTPay per request in USDC.e (EIP-3009) or W0G (Permit2) on 0G. No account at all.
Public tokenGET /auth/public-token, then send Authorization: BearerAnonymous discovery routes only (categories, stats).

MCP server

18 read-only tools

Point 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.

Shell
# 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
ToolWhat it answers
muhabbit_newsLatest news, shaped for AI agents
muhabbit_searchFull-text search over the article corpus
muhabbit_recapScheduled 1h, 24h or 7d recap per vertical
muhabbit_ticker_summary24h summary of news about one asset
muhabbit_sentiment_indexSentiment index, overall and per vertical
muhabbit_sentiment_signalsMomentum, volume-weighted, regime and vertical-shift sentiment signals
muhabbit_asset_sentimentSentiment score and impact for one asset over 24h, 7d and 30d
muhabbit_narrativesNarratives: lifecycle phase, velocity and sources
muhabbit_narrative_historyTime series for one narrative
muhabbit_confidence5-factor confidence for one article
muhabbit_cross_referenceMulti-source validation of an article's claims
muhabbit_categoriesVerticals and active topic slugs
muhabbit_alertsExchange security alerts
muhabbit_alertOne exchange security alert with its evidence
muhabbit_eventsThe public record feed
muhabbit_record_headLatest entry id and hash of the public record
muhabbit_record_entriesPublic record entries
muhabbit_record_verifyVerify the public record

Command line

npm package muhabbit

The 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.

CommandWhat it does
muhabbit loginChecks your API key against the API and saves it to ~/.config/muhabbit/config.json with mode 0600. MUHABBIT_API_KEY overrides it.
muhabbit mcpA 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 eventsThe public record of market events, or exchange security alerts by tier and exchange. --watch streams new items.
muhabbit newsThe latest news, filtered by vertical, topic, tokens and time. Needs an API key.
muhabbit verifyRecomputes the public record's hash chain on your machine. It exits 1 if any entry was edited, removed or reordered.
Shell
# 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.

RoutePriceWhat you get
GET /v1/news$0.03Stories shaped for AI agents: headline, tokens, narrative and context
GET /v1/ticker-summary/:symbol$0.031A 24-hour AI summary for one of the most-mentioned assets
GET /v1/recaps$0.10Recaps over 1 hour, 24 hours or 7 days, per topic
GET /v1/events$0.05Market events such as hacks, listings, regulatory actions and ETF flows, with a replay cursor
GET /v1/alerts$0.05Exchange hack alerts, including suspected ones before they are confirmed
JavaScript
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 endpoints

For 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. Your X-API-Key, Bearer or X-PAYMENT header 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
    Response
    tools: 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 carries latency_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

    ParameterTypeWhat it does
    verticalstringcrypto, finance, tech
    categorystringTopic slug from /v1/categories
    tokensstringComma-separated tickers, crypto or equities, e.g. BTC,ETH or AAPL. Also accepted as symbol.
    sinceISO 8601Only items published after this UTC ISO 8601 timestamp, ending in Z
    min_importancenumber0-1
    languagestringen (default) or tr
    limitinteger1-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_at is when the publisher posted it, ingest_at is when Muhabbit got it; backtests key on ingest_at, so there is no look-ahead), gap-free cursor replay, first-class retracted flag. 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

    ParameterTypeWhat it does
    typesstringComma-separated, e.g. HACK_EXPLOIT,REG_ACTION
    sinceISO 8601Window start for a replay, oldest first (default: 24 hours ago)
    cursorstringResume token from next_cursor, for gap-free replay
    latest1The newest events of the last 24 hours, in ingest order, with no next_cursor. Not with since or cursor
    limitinteger1-200, default 50
    Request
    curl "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 carries event_id, type, headline, first_seen_at, ingest_at, latency_seconds, source (name and URL), confidence, vertical and retracted. Resume via the meta line's resume_cursor. Windows up to 31 days per call; loop for longer ranges. Unlimited plan only.

    Query parameters

    ParameterTypeWhat it does
    fromISO 8601, requiredWindow start (ingest clock)
    toISO 8601, requiredWindow end, at most 31 days after from
    cursorstringresume_cursor from the previous call's meta line
    Request
    curl "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

    ParameterTypeWhat it does
    timeframestring1h, 24h (default), 7d
    verticalstringall (default), crypto, finance, tech
    Request
    curl "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.
    Request
    curl "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.
    Request
    curl "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.Public
    Request
    curl "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 is
  • POST /auth/siwe/verifyVerify the signed SIWE message. First login creates a free API key (returned once) and a bearer token.Public

    Request body

    FieldTypeWhat it does
    messagestring, requiredThe EIP-4361 message you signed, using the domain from /auth/siwe/nonce
    signaturehex, requiredEOA signature of the message
    Request
    curl -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.Public
    Request
    curl "https://api-production-ba80.up.railway.app/auth/public-token"

Articles4

  • GET /v1/articlesList articles with filtering, pagination, and sorting

    Query parameters

    ParameterTypeWhat it does
    verticalstringFilter by vertical: crypto, finance, tech
    sentimentstringFilter by sentiment: very_negative, negative, neutral, positive, very_positive
    minImportancenumberMinimum importance score (0-1)
    symbolstringComma-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 8601Filter articles after this UTC ISO 8601 timestamp, ending in Z
    endDateISO 8601Filter articles before this UTC ISO 8601 timestamp, ending in Z
    limitintegerResults per page (1-100, default: 20)
    offsetintegerPagination offset (default: 0)
    Request
    curl "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 in alsoReportedBy
    Request
    curl "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 ILIKE

    Request body

    FieldTypeWhat it does
    querystring, requiredSearch query (1-500 chars)
    verticalstringFilter by vertical
    limitintegerMax results (1-50, default: 10)
    Request
    curl -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 vertical
    Request
    curl "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

    ParameterTypeWhat it does
    typestringFilter by type: company, person, token, product, location, event
    limitintegerMax results (default: 20)
    Request
    curl "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.
    Request
    curl "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.
    Request
    curl "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 momentum

    Query parameters

    ParameterTypeWhat it does
    hoursintegerTime window in hours (default: 24)
    limitintegerMax topics (default: 10)
    Request
    curl "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

    ParameterTypeWhat it does
    hoursnumberCluster window (default 72)
    Request
    curl "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.
    Request
    curl "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.
    Request
    curl "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, entities
    Request
    curl "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 breakdown

    Query parameters

    ParameterTypeWhat it does
    daysintegerNumber of days (1-90, default: 30)
    verticalstringFilter by vertical
    Request
    curl "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 entity

    Query parameters

    ParameterTypeWhat it does
    daysintegerNumber of days (1-90, default: 30)
    Request
    curl "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 time

    Query parameters

    ParameterTypeWhat it does
    daysintegerNumber of days (1-90, default: 30)
    Request
    curl "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

    ParameterTypeWhat it does
    limitinteger1-100, default 50
    Request
    curl "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.retracted and narrative.phase_changed carry a monotonic seq. Store the last one you processed and send {type:'replay', since_seq} on reconnect. Buffered frames replay in order, then live resumes. A replay_gap response means the gap predates the buffer: backfill from GET /v1/events with a cursor. tweet.received and crowd.signal have no seq and are not replayed. Control frames also have no seq: connected, filtersUpdated, pong, subscribe_denied, subscribed, unsubscribed, replay_gap and replay_complete.

    Query parameters

    ParameterTypeWhat it does
    keystring, requiredYour API key (sent as query param for WS)
    verticalsstringComma-separated vertical filter
    Request
    wscat -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.created events delivered to your endpoint with an HMAC signature. Delivery headers are X-Webhook-Signature, X-Webhook-Timestamp and X-Webhook-Event. Creation responds with 201. Manage with GET, PUT and DELETE /v1/webhooks/:id; POST /v1/webhooks/:id/test sends a test event.

    Request body

    FieldTypeWhat it does
    urlstring, requiredYour HTTPS endpoint
    eventsstring[], requiredarticle.created, article.updated, article.approved, article.rejected
    verticalsstring[]Filter to specific verticals
    minImportancenumber0-1, only push above this
    Request
    curl -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

PlanPer hourPer monthPer minute
Free30010,0005
Pro ($9 a month)1,000150,00017
Business ($39 a month)5,000300,00084
Unlimited ($99 a month)50,000Unlimited834

x402 calls are priced per request. See pricing.

Errors

CodeMeaningWhat to do
401Missing or invalid credentialsCheck the X-API-Key header or refresh your bearer token
402Payment required (x402 route)Read accepts[], sign the payment, retry with X-PAYMENT
403Your plan does not include this routeThe response body names the required plan
404No such resourceAsset not in the top set, or the id is wrong
412PERMIT2_ALLOWANCE_REQUIREDOne-time W0G approval to Permit2, then retry
429Rate limit exceededBack off per Retry-After, or upgrade the plan
5xxServer errorRetry 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.