Api Endpoint

x402-markettwits-news.onrender.com … /news/data-surprises

Parses releases like 'US Pending Home Sales (Sep) = -7.3% m/m (exp. -0.5% / prev. +0.3%)' and earnings lines like '3Q REV. $14.58B, EST. $12.87B' from news of the last N hours (1-168, default 24; optional q filter): indicator, actual, expected, previous, unit, surprise (actual - expected), surprise_pct and direction above/below/inline.

Open interactive test console

Offering

Provider
x402-markettwits-news.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-markettwits-news.onrender.com/news/data-surprises
MIME type
application/json
First seen
2026-10-25T21:52:04.639Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0x2c257EE70952a16f00c99d40fDFF2d28f1A5b8A2"
  }
]

Observed health

Status
Healthy
Latest latency
265 ms
Average latency
331 ms
HTTP status
402
Last checked
Reachability
100% over 12 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "hours": {
          "type": "integer",
          "minimum": 1,
          "maximum": 168,
          "default": 24,
          "description": "Look-back window in hours (default 24, clamped to 1-168)"
        },
        "q": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100,
          "description": "Optional keyword filter (same matching as /news/search)"
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

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