ToolAssay

Fetch a Reddit post, subreddit, or user by ref

Fetch a Reddit post, subreddit, or user by ref

Answeringour last check, 2026-09-24
1 of 1checks answered this week
966 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://glim.sh/api/v1/reddit/get

CategoryEverything else
Provider hostglim.sh
Networkseip155:143, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days34 from 5 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.005 966 ms

Example input (from the provider)

{
  "body": {
    "ref": "https://www.reddit.com/r/python/comments/1a2b3c/title/"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "comment_depth": {
              "default": 5,
              "description": "Max nesting depth (post refs only)",
              "maximum": 10,
              "minimum": 0,
              "type": "integer"
            },
            "comment_limit": {
              "default": 50,
              "description": "Max comments (post refs only)",
              "maximum": 200,
              "minimum": 0,
              "type": "integer"
            },
            "comment_sort": {
              "default": "confidence",
              "description": "Comment sort. Post refs only: subreddit/user listings always hydrate a fixed 2 top-level comments sorted by top.",
              "enum": [
                "confidence",
                "top",
                "new",
                "controversial",
                "old",
                "qa"
              ],
              "type": "string"
            },
            "cursor": {
              "description": "Pagination cursor from a prior subreddit response's next_cursor",
              "maxLength": 64,
              "pattern": "^\\s*(?:[tT]\\d_)?[a-zA-Z0-9]+\\s*$",
              "type": "string"
            },
            "include_comments": {
              "default": false,
              "description": "Include recent comments for user refs",
              "type": "boolean"
            },
            "include_posts": {
              "default": true,
              "description": "Include recent posts for user refs",
              "type": "boolean"
            },
            "limit": {
              "default": 10,
              "description": "Max listing posts (subreddit/user). Subreddit posts return full content + top comments; for user refs this also caps the comments returned.",
              "maximum": 10,
              "minimum": 1,
              "type": "integer"
            },
            "ref": {
              "description": "Reddit post, subreddit, or user reference. Best: a post URL, subreddit URL/r/name, or user URL/u/name. A bare base36 post id also works. A comment permalink (\u2026/comments/<post>/comment/<id>/) returns that comment with its ancestor context and replies.",
              "maxLength": 2048,
              "minLength": 1,
              "type": "string"
            },
            "sort": {
              "default": "hot",
              "description": "Listing post sort",
              "enum": [
                "hot",
                "new",
                "top",
                "rising"
              ],
              "type": "string"
            },
            "time": {
              "default": "day",
              "description": "Listing time range",
              "enum": [
                "hour",
                "day",
                "week",
                "month",
                "year",
                "all"
              ],
              "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"
}

This page as JSON