Api Endpoint

x402-markettwits-news.onrender.com … /channel/latest

Reads the public web preview t.me/s/<channel> (no login): newest `limit` posts (default 20, max 50) with id, date, text (HTML stripped, emoji kept), views, link, media types and channel title/subscribers. Channels without a public preview or that do not exist -> 404 (not settled). Cached 2 min.

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/tg/channel/latest
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
117 ms
Average latency
153 ms
HTTP status
402
Last checked
Reachability
100% over 10 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": {
        "channel": {
          "type": "string",
          "pattern": "^@?[A-Za-z][A-Za-z0-9_]{3,31}$",
          "description": "Public Telegram channel username (5-32 chars; '@name' or a t.me link also accepted), e.g. markettwits"
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 50,
          "default": 20,
          "description": "Messages to return (default 20, max 50)"
        }
      },
      "required": [
        "channel"
      ]
    }
  },
  "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": {
            "channel": {
              "description": "Public Telegram channel username (5-32 chars; '@name' or a t.me link also accepted), e.g. markettwits",
              "pattern": "^@?[A-Za-z][A-Za-z0-9_]{3,31}$",
              "type": "string"
            },
            "limit": {
              "default": 20,
              "description": "Messages to return (default 20, max 50)",
              "maximum": 50,
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "channel"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "cached": {
              "type": "boolean"
            },
            "channel": {
              "type": "string"
            },
            "count": {
              "type": "integer"
            },
            "fetched_at": {
              "type": "string"
            },
            "items": {
              "description": "Newest first",
              "items": {
                "properties": {
                  "channel": {
                    "type": "string"
                  },
                  "date": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "edited": {
                    "type": "boolean"
                  },
                  "forwarded_from": {
                    "type": "string"
                  },
                  "id": {
                    "type": "integer"
                  },
                  "link": {
                    "type": "string"
                  },
                  "media": {
                    "items": {
                      "enum": [
                        "photo",
                        "video",
                        "document",
                        "poll"
                      ],
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "text": {
                    "type": "string"
                  },
                  "views": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "views_raw": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "id",
                  "channel",
                  "date",
                  "text",
                  "link"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "pages": {
              "type": "integer"
            },
            "source": {
              "type": "string"
            },
            "stale": {
              "description": "true when the upstream failed and a recent cached copy was served",
              "type": "boolean"
            },
            "subscribers": {
              "type": [
                "integer",
                "null"
              ]
            },
            "subscribers_raw": {
              "type": [
                "string",
                "null"
              ]
            },
            "title": {
              "type": [
                "string",
                "null"
              ]
            },
            "via": {
              "enum": [
                "direct",
                "proxy"
              ],
              "type": "string"
            }
          },
          "required": [
            "channel",
            "count",
            "items"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}