Api Endpoint

glim.sh

Fetch a public Telegram channel's posts (with optional in-channel search and history pagination) or a single post with its discussion comments

Open interactive test console

Offering

Provider
glim.sh
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Social Intelligence
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://glim.sh/api/v1/telegram/get
MIME type
Not provided
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
Twitter, Reddit, Web, GitHub, Search

Payment pricing

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

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 3
0.005 USDC
Atomic price: 5000 · Network: eip155:143 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "9MkM5Ra48KFcSv9HDQ8sb3C3r5HjouEwGQ6sp1cx1vde"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xC751344Ee09B5159160173F77D4a1169bCd386A1"
  },
  {
    "scheme": "exact",
    "network": "eip155:143",
    "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
    "amount": "5000",
    "payTo": "0xC751344Ee09B5159160173F77D4a1169bCd386A1"
  }
]

Observed health

Status
Healthy
Latest latency
1229 ms
Average latency
936 ms
HTTP status
204
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

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "after": {
          "description": "Return posts newer than this message id",
          "maxLength": 20,
          "type": "string"
        },
        "before": {
          "description": "Return posts older than this message id (pagination cursor from next_cursor)",
          "maxLength": 20,
          "type": "string"
        },
        "comment": {
          "description": "Post refs: center the comment window on this comment id (walks older comments)",
          "maxLength": 20,
          "type": "string"
        },
        "include_comments": {
          "default": true,
          "description": "Post refs: include discussion comments. Telegram's public embed serves a small window of the most recent comments; walk older ones by re-calling with comment=<oldest returned comment id>. Availability varies by channel - many discussion groups are not exposed on the public web preview.",
          "type": "boolean"
        },
        "limit": {
          "default": 20,
          "description": "Max posts for channel refs (walks history pages as needed)",
          "maximum": 100,
          "minimum": 1,
          "type": "integer"
        },
        "query": {
          "description": "Search within the channel's full history (channel refs only)",
          "maxLength": 500,
          "type": "string"
        },
        "ref": {
          "description": "Public channel ref (@handle, handle, or t.me URL) returns the channel feed; a post ref (t.me/<channel>/<id> or '<channel>/<id>') returns that post with its discussion comments.",
          "maxLength": 2048,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "ref"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "after": {
              "description": "Return posts newer than this message id",
              "maxLength": 20,
              "type": "string"
            },
            "before": {
              "description": "Return posts older than this message id (pagination cursor from next_cursor)",
              "maxLength": 20,
              "type": "string"
            },
            "comment": {
              "description": "Post refs: center the comment window on this comment id (walks older comments)",
              "maxLength": 20,
              "type": "string"
            },
            "include_comments": {
              "default": true,
              "description": "Post refs: include discussion comments. Telegram's public embed serves a small window of the most recent comments; walk older ones by re-calling with comment=<oldest returned comment id>. Availability varies by channel - many discussion groups are not exposed on the public web preview.",
              "type": "boolean"
            },
            "limit": {
              "default": 20,
              "description": "Max posts for channel refs (walks history pages as needed)",
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            },
            "query": {
              "description": "Search within the channel's full history (channel refs only)",
              "maxLength": 500,
              "type": "string"
            },
            "ref": {
              "description": "Public channel ref (@handle, handle, or t.me URL) returns the channel feed; a post ref (t.me/<channel>/<id> or '<channel>/<id>') returns that post with its discussion comments.",
              "maxLength": 2048,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "ref"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}