# MarketTwits Data Surprises Feed

> MarketTwits Data Surprises Feed is a paid API for AI agents from x402-markettwits-news.onrender.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-23).

Returns macro and earnings data-surprise events (actual vs. expected, with surprise magnitude and direction) from MarketTwits, filtered by a look-back window and optional keyword

## Facts

- Endpoint: GET https://x402-markettwits-news.onrender.com/news/data-surprises?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/markettwits-data-surprises-feed-a6641bfe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s2fFP7VKpWpq9e1b0X5gV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability markettwits-data-surprises-feed-a6641bfe
```

Example prompt: Show me all macro and earnings data surprises from the last 48 hours where the actual came in above expectations — include the surprise size and importance level for each.

## When to prefer this

Choose this endpoint when you need structured economic data-surprise events (actual vs. expected with magnitude) sourced from MarketTwits in real time, especially if you want macro and earnings surprises in a single filterable feed. It is particularly valuable for trading bots, news agents, or dashboards that need to react quickly to beats/misses on economic releases with importance tagging already applied.

## Known failure modes

- Invalid hours value outside 1–168 range returns a validation error
- Keyword filter q returns empty items array if no matching surprises exist in the window
- Endpoint may be temporarily unavailable if the underlying Render.com host is cold-starting
- Payment of 0.006 USDC required per call — missing or invalid x402 payment header returns 402
- No data available if MarketTwits channel has not posted in the requested window

## How this service works

Real-time English translations of MarketTwits (top Russian financial Telegram channel). Covers macro, central banks, oil/commodities, geopolitics, equities and crypto. Items are tagged high/medium importance and updated every few minutes. Ideal for trading bots and news agents. Also sells Russian market data (CBR FX and key rate, MOEX quotes/indices/movers, Rosstat fuel prices), public Telegram channel reading/search and Wildberries/Ozon product data.

## Output

A JSON object containing the count of events, number above/below expectations, the look-back window, and an array of up to 50 data-surprise items (newest first). Each item includes the indicator name, kind (macro or earnings), actual/expected/previous values, surprise delta and percentage, direction (above/below/inline), importance level, publication timestamp, and a source URL pointing to the original Telegram post.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 100,
       "minLength": 1,
       "description": "Optional keyword filter (same matching as /news/search)"
      },
      "hours": {
       "type": "integer",
       "default": 24,
       "maximum": 168,
       "minimum": 1,
       "description": "Look-back window in hours (default 24, clamped to 1-168)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "hours",
      "count",
      "above",
      "below",
      "items"
     ],
     "properties": {
      "above": {
       "type": "integer"
      },
      "below": {
       "type": "integer"
      },
      "count": {
       "type": "integer"
      },
      "hours": {
       "type": "integer"
      },
      "items": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "kind",
         "indicator",
         "actual",
         "expected",
         "surprise",
         "direction",
         "id"
        ],
        "properties": {
         "id": {
          "type": "integer"
         },
         "kind": {
          "enum": [
           "macro",
           "earnings"
          ],
          "type": "string"
         },
         "unit": {
          "type": [
           "string",
           "null"
          ],
          "description": "%, M, B, K, $, '% m/m' ..."
         },
         "actual": {
          "type": "number"
         },
         "ticker": {
          "type": "string"
         },
         "expected": {
          "type": "number"
         },
         "previous": {
          "type": [
           "number",
           "null"
          ]
         },
         "surprise": {
          "type": "number",
          "description": "actual - expected (same unit)"
         },
         "direction": {
          "enum": [
           "above",
           "below
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "above": 1,
  "below": 0,
  "count": 1,
  "hours": 24,
  "items": [
   {
    "id": 389757,
    "kind": "macro",
    "unit": "%",
    "actual": 3.5,
    "expected": 3.4,
    "previous": 3.1,
    "surprise": 0.1,
    "direction": "above",
    "indicator": "UK - CONSUMER PRICE INFLATION CPI (Sep) — y/y",
    "importance": "high",
    "source_url": "https://t.me/markettwits/389757",
    "published_at": "2026-10-21T06:00:00Z",
    "surprise_pct": 2.9
   }
  ],
  "query": null,
  "since": "2026-10-20T16:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/markettwits-data-surprises-feed-a6641bfe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-markettwits-news.onrender.com](https://www.zero.xyz/host/x402-markettwits-news.onrender.com/llms.txt)
