threadsnoop-com · Schema

CommentTreeEnvelope

RedditAPIAIMCPRead‑only

Properties

Name Type Description
data array
_threadsnoop object
View JSON Schema on GitHub

JSON Schema

threadsnoop-com-comment-tree-envelope-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/threadsnoop-com/json-schema/threadsnoop-com-comment-tree-envelope-schema.json",
  "title": "CommentTreeEnvelope",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/threadsnoop-com-openapi.json#/components/schemas/CommentTreeEnvelope",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CommentTreeNode"
      }
    },
    "_threadsnoop": {
      "$ref": "#/$defs/Envelope"
    }
  },
  "$defs": {
    "Comment": {
      "type": "object",
      "description": "Full Reddit comment object, untrimmed unless you pass `fields=`.",
      "properties": {
        "id": {
          "type": "string"
        },
        "body": {
          "type": "string"
        },
        "author": {
          "type": "string"
        },
        "created_utc": {
          "type": "integer"
        },
        "subreddit": {
          "type": "string"
        },
        "link_id": {
          "type": "string",
          "description": "Fullname (t3_...) of the parent post."
        },
        "parent_id": {
          "type": "string",
          "description": "Fullname of the immediate parent (post or comment)."
        },
        "permalink": {
          "type": "string",
          "description": "Relative path on reddit.com. Prepend https://www.reddit.com for a clickable URL."
        }
      },
      "additionalProperties": true
    },
    "CommentTreeNode": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string"
        },
        "data": {
          "allOf": [
            {
              "$ref": "#/$defs/Comment"
            },
            {
              "type": "object",
              "properties": {
                "score": {
                  "type": "integer"
                }
              }
            }
          ]
        },
        "replies": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/CommentTreeNode"
          }
        }
      }
    },
    "Envelope": {
      "type": "object",
      "properties": {
        "cursor": {
          "type": [
            "integer",
            "null"
          ],
          "description": "created_utc of the last row in this page (raw page, pre-filter if q= was used). Pass as `after` (sort=asc) or `before` (sort=desc) to fetch the next page. Null when the page was empty or the endpoint isn't paginated."
        },
        "has_more": {
          "type": "boolean"
        },
        "credits_used": {
          "type": "integer"
        },
        "credits_remaining": {
          "type": "integer"
        }
      },
      "required": [
        "credits_used",
        "credits_remaining"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/threadsnoop-com-comment-tree-envelope"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.