Api Endpoint

x402-markettwits-news.onrender.com … /alerts/check

Count of news matching q (same matching as /news/search) published in the last N hours (1-168, default 24), plus the 5 most recent

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

Observed health

Status
Healthy
Latest latency
125 ms
Average latency
261 ms
HTTP status
402
Last checked
Reachability
100% over 14 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": {
            "count": {
              "description": "Matching items published within the window",
              "type": "integer"
            },
            "hours": {
              "description": "Window actually used (1-168)",
              "type": "integer"
            },
            "items": {
              "description": "Up to 5 most recent matching items in the window",
              "items": {
                "properties": {
                  "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"
                  },
                  "source_url": {
                    "description": "Original Russian post",
                    "type": "string"
                  },
                  "text_en": {
                    "description": "English translation of the post",
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "published_at",
                  "importance",
                  "source_url",
                  "text_en"
                ],
                "type": "object"
              },
              "maxItems": 5,
              "type": "array"
            },
            "latest_id": {
              "type": [
                "integer",
                "null"
              ]
            },
            "latest_published_at": {
              "type": [
                "string",
                "null"
              ]
            },
            "query": {
              "type": "string"
            },
            "since": {
              "description": "Window start (now - hours)",
              "type": "string"
            }
          },
          "required": [
            "query",
            "hours",
            "count",
            "since",
            "latest_id",
            "latest_published_at",
            "items"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}