{
  "x402Version": 2,
  "id": 25790,
  "slug": "25790",
  "resource": "https://glim.sh/api/v1/reddit/get",
  "description": "Fetch a Reddit post, subreddit, or user by ref",
  "type": "http",
  "serviceName": "glim.sh",
  "resourceType": "Web Intelligence",
  "accepts": [
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "9MkM5Ra48KFcSv9HDQ8sb3C3r5HjouEwGQ6sp1cx1vde",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xC751344Ee09B5159160173F77D4a1169bCd386A1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:143",
      "payTo": "0xC751344Ee09B5159160173F77D4a1169bCd386A1",
      "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "ref": "https://www.reddit.com/r/python/comments/1a2b3c/title/"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "comment_count": 0,
            "comments": [],
            "kind": "post",
            "post": {
              "id": "abc",
              "title": "Example"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$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 (…/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"
      }
    }
  },
  "tags": [
    "twitter",
    "reddit",
    "web",
    "github",
    "search",
    "bazaar"
  ],
  "sourceHost": "glim.sh",
  "lastUpdated": "2026-10-13T21:53:25.874Z",
  "quality": {
    "calls30d": 23,
    "uniquePayers30d": 8,
    "lastCalledAt": "2026-10-13T21:54:01.363Z"
  },
  "metadata": {
    "serviceName": "glim.sh",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "ref": "https://www.reddit.com/r/python/comments/1a2b3c/title/"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "comment_count": 0,
              "comments": [],
              "kind": "post",
              "post": {
                "id": "abc",
                "title": "Example"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$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 (…/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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "glim.sh",
    "manifest_name": "glim.sh",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}