Api Endpoint

x402-markettwits-news.onrender.com … /news/sentiment

Scores each item matching q in the last N hours (1-168, default 24) with a keyword/emoji lexicon (rise/beat/upgrade vs. fall/miss/sanctions, ⬆️/⬇️) plus explicit '= ±X%' moves, and returns bullish/bearish/neutral counts, score = (bullish - bearish)/count in [-1, 1], a label and examples. method is always 'heuristic'.

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/sentiment
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.0025 USDC
Atomic price: 2500 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2500",
    "payTo": "0x2c257EE70952a16f00c99d40fDFF2d28f1A5b8A2"
  }
]

Observed health

Status
Healthy
Latest latency
217 ms
Average latency
233 ms
HTTP status
402
Last checked
Reachability
100% over 13 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": {
        "q": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100,
          "description": "Keywords (case-insensitive). Several words = all must match. Hashtags match with or without '#', e.g. 'oil', '#Fed rates'."
        },
        "hours": {
          "type": "integer",
          "minimum": 1,
          "maximum": 168,
          "default": 24,
          "description": "Look-back window in hours (default 24, clamped to 1-168)"
        }
      },
      "required": [
        "q"
      ]
    }
  },
  "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": "Keywords (case-insensitive). Several words = all must match. Hashtags match with or without '#', e.g. 'oil', '#Fed rates'.",
              "maxLength": 100,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "q"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "bearish": {
              "type": "integer"
            },
            "bullish": {
              "type": "integer"
            },
            "count": {
              "type": "integer"
            },
            "examples": {
              "properties": {
                "bearish": {
                  "items": {
                    "properties": {
                      "headline": {
                        "description": "First meaningful line, emoji removed",
                        "type": "string"
                      },
                      "id": {
                        "description": "Telegram post id in t.me/markettwits",
                        "examples": [
                          389638
                        ],
                        "type": "integer"
                      },
                      "importance": {
                        "enum": [
                          "high",
                          "medium",
                          "low"
                        ],
                        "type": "string"
                      },
                      "published_at": {
                        "description": "Publication time of the original post (ISO 8601)",
                        "type": "string"
                      },
                      "score": {
                        "type": "number"
                      },
                      "source_url": {
                        "description": "Original Russian post",
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "published_at",
                      "importance",
                      "headline",
                      "source_url"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                },
                "bullish": {
                  "items": {
                    "properties": {
                      "headline": {
                        "description": "First meaningful line, emoji removed",
                        "type": "string"
                      },
                      "id": {
                        "description": "Telegram post id in t.me/markettwits",
                        "examples": [
                          389638
                        ],
                        "type": "integer"
                      },
                      "importance": {
                        "enum": [
                          "high",
                          "medium",
                          "low"
                        ],
                        "type": "string"
                      },
                      "published_at": {
                        "description": "Publication time of the original post (ISO 8601)",
                        "type": "string"
                      },
                      "score": {
                        "type": "number"
                      },
                      "source_url": {
                        "description": "Original Russian post",
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "published_at",
                      "importance",
                      "headline",
                      "source_url"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "hours": {
              "type": "integer"
            },
            "label": {
              "enum": [
                "bullish",
                "bearish",
                "neutral",
                "no_data"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "heuristic"
              ],
              "type": "string"
            },
            "neutral": {
              "type": "integer"
            },
            "note": {
              "type": "string"
            },
            "query": {
              "type": "string"
            },
            "score": {
              "description": "(bullish - bearish) / count",
              "maximum": 1,
              "minimum": -1,
              "type": "number"
            },
            "since": {
              "type": "string"
            }
          },
          "required": [
            "query",
            "hours",
            "count",
            "bullish",
            "bearish",
            "neutral",
            "score",
            "label",
            "method"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}