LurkAPI · Schema

RedditComment

Social MediaData APIAI IntegrationAdvertisingAnalytics

Properties

Name Type Description
id string Comment id, e.g. `pcrhmoe`.
name string Fullname, `t1_` + id.
author stringnull Username, without u/; null if unknown.
author_fullname stringnull Author's account fullname, `t2_` + id.
body string Comment text, plain; an image or GIF becomes its URL. Empty for deleted and collapsed comments.
body_html stringnull Comment text as HTML; null for deleted and collapsed comments.
score number Upvotes minus downvotes.
ups number Same as score.
created number Posted at, Unix seconds.
created_utc number Posted at, Unix seconds.
created_at_iso string Posted at, ISO 8601.
depth number 0 for top-level comments, 1 for their replies, and so on.
parent_id stringnull `t3_…` for top-level comments, else the parent comment's `t1_…`.
link_id stringnull The post's fullname.
permalink string Path to this comment on reddit.com.
url string This comment on reddit.com.
subreddit string Subreddit name without r/.
subreddit_id stringnull Subreddit fullname, `t5_` + id.
subreddit_name_prefixed string Subreddit name with the r/ prefix, e.g. `r/marketing`.
collapsed boolean Collapsed by default on Reddit (low score, deleted or moderated). reddit.com loads its text only when expanded, so `body` is empty.
is_submitter boolean Written by the post's author.
replies object Replies to this comment.
View JSON Schema on GitHub

JSON Schema

lurkapi-reddit-comment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lurkapi/json-schema/lurkapi-reddit-comment-schema.json",
  "title": "RedditComment",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lurkapi-openapi.json#/components/schemas/RedditComment",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Comment id, e.g. `pcrhmoe`."
    },
    "name": {
      "type": "string",
      "description": "Fullname, `t1_` + id."
    },
    "author": {
      "description": "Username, without u/; null if unknown.",
      "type": [
        "string",
        "null"
      ]
    },
    "author_fullname": {
      "description": "Author's account fullname, `t2_` + id.",
      "type": [
        "string",
        "null"
      ]
    },
    "body": {
      "type": "string",
      "description": "Comment text, plain; an image or GIF becomes its URL. Empty for deleted and collapsed comments."
    },
    "body_html": {
      "description": "Comment text as HTML; null for deleted and collapsed comments.",
      "type": [
        "string",
        "null"
      ]
    },
    "score": {
      "type": "number",
      "description": "Upvotes minus downvotes."
    },
    "ups": {
      "type": "number",
      "description": "Same as score."
    },
    "created": {
      "type": "number",
      "description": "Posted at, Unix seconds."
    },
    "created_utc": {
      "type": "number",
      "description": "Posted at, Unix seconds."
    },
    "created_at_iso": {
      "type": "string",
      "description": "Posted at, ISO 8601."
    },
    "depth": {
      "type": "number",
      "description": "0 for top-level comments, 1 for their replies, and so on."
    },
    "parent_id": {
      "description": "`t3_…` for top-level comments, else the parent comment's `t1_…`.",
      "type": [
        "string",
        "null"
      ]
    },
    "link_id": {
      "description": "The post's fullname.",
      "type": [
        "string",
        "null"
      ]
    },
    "permalink": {
      "type": "string",
      "description": "Path to this comment on reddit.com."
    },
    "url": {
      "type": "string",
      "description": "This comment on reddit.com."
    },
    "subreddit": {
      "type": "string",
      "description": "Subreddit name without r/."
    },
    "subreddit_id": {
      "description": "Subreddit fullname, `t5_` + id.",
      "type": [
        "string",
        "null"
      ]
    },
    "subreddit_name_prefixed": {
      "type": "string",
      "description": "Subreddit name with the r/ prefix, e.g. `r/marketing`."
    },
    "collapsed": {
      "type": "boolean",
      "description": "Collapsed by default on Reddit (low score, deleted or moderated). reddit.com loads its text only when expanded, so `body` is empty."
    },
    "is_submitter": {
      "type": "boolean",
      "description": "Written by the post's author."
    },
    "replies": {
      "type": "object",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/RedditComment"
          },
          "description": "Direct replies, each with its own replies."
        },
        "more": {
          "type": "object",
          "properties": {
            "has_more": {
              "type": "boolean",
              "description": "Whether there are more comments to load here."
            },
            "next_cursor": {
              "description": "Pass as `cursor` (with the same url) to load them; null when has_more is false.",
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "has_more",
            "next_cursor"
          ],
          "additionalProperties": false,
          "description": "More comments that weren't loaded yet."
        }
      },
      "required": [
        "items",
        "more"
      ],
      "additionalProperties": false,
      "description": "Replies to this comment."
    }
  },
  "required": [
    "id",
    "name",
    "author",
    "author_fullname",
    "body",
    "body_html",
    "score",
    "ups",
    "created",
    "created_utc",
    "created_at_iso",
    "depth",
    "parent_id",
    "link_id",
    "permalink",
    "url",
    "subreddit",
    "subreddit_id",
    "subreddit_name_prefixed",
    "collapsed",
    "is_submitter",
    "replies"
  ],
  "additionalProperties": false,
  "$defs": {
    "RedditComment": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Comment id, e.g. `pcrhmoe`."
        },
        "name": {
          "type": "string",
          "description": "Fullname, `t1_` + id."
        },
        "author": {
          "description": "Username, without u/; null if unknown.",
          "type": [
            "string",
            "null"
          ]
        },
        "author_fullname": {
          "description": "Author's account fullname, `t2_` + id.",
          "type": [
            "string",
            "null"
          ]
        },
        "body": {
          "type": "string",
          "description": "Comment text, plain; an image or GIF becomes its URL. Empty for deleted and collapsed comments."
        },
        "body_html": {
          "description": "Comment text as HTML; null for deleted and collapsed comments.",
          "type": [
            "string",
            "null"
          ]
        },
        "score": {
          "type": "number",
          "description": "Upvotes minus downvotes."
        },
        "ups": {
          "type": "number",
          "description": "Same as score."
        },
        "created": {
          "type": "number",
          "description": "Posted at, Unix seconds."
        },
        "created_utc": {
          "type": "number",
          "description": "Posted at, Unix seconds."
        },
        "created_at_iso": {
          "type": "string",
          "description": "Posted at, ISO 8601."
        },
        "depth": {
          "type": "number",
          "description": "0 for top-level comments, 1 for their replies, and so on."
        },
        "parent_id": {
          "description": "`t3_…` for top-level comments, else the parent comment's `t1_…`.",
          "type": [
            "string",
            "null"
          ]
        },
        "link_id": {
          "description": "The post's fullname.",
          "type": [
            "string",
            "null"
          ]
        },
        "permalink": {
          "type": "string",
          "description": "Path to this comment on reddit.com."
        },
        "url": {
          "type": "string",
          "description": "This comment on reddit.com."
        },
        "subreddit": {
          "type": "string",
          "description": "Subreddit name without r/."
        },
        "subreddit_id": {
          "description": "Subreddit fullname, `t5_` + id.",
          "type": [
            "string",
            "null"
          ]
        },
        "subreddit_name_prefixed": {
          "type": "string",
          "description": "Subreddit name with the r/ prefix, e.g. `r/marketing`."
        },
        "collapsed": {
          "type": "boolean",
          "description": "Collapsed by default on Reddit (low score, deleted or moderated). reddit.com loads its text only when expanded, so `body` is empty."
        },
        "is_submitter": {
          "type": "boolean",
          "description": "Written by the post's author."
        },
        "replies": {
          "type": "object",
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/RedditComment"
              },
              "description": "Direct replies, each with its own replies."
            },
            "more": {
              "type": "object",
              "properties": {
                "has_more": {
                  "type": "boolean",
                  "description": "Whether there are more comments to load here."
                },
                "next_cursor": {
                  "description": "Pass as `cursor` (with the same url) to load them; null when has_more is false.",
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "has_more",
                "next_cursor"
              ],
              "additionalProperties": false,
              "description": "More comments that weren't loaded yet."
            }
          },
          "required": [
            "items",
            "more"
          ],
          "additionalProperties": false,
          "description": "Replies to this comment."
        }
      },
      "required": [
        "id",
        "name",
        "author",
        "author_fullname",
        "body",
        "body_html",
        "score",
        "ups",
        "created",
        "created_utc",
        "created_at_iso",
        "depth",
        "parent_id",
        "link_id",
        "permalink",
        "url",
        "subreddit",
        "subreddit_id",
        "subreddit_name_prefixed",
        "collapsed",
        "is_submitter",
        "replies"
      ],
      "additionalProperties": false
    }
  }
}

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/lurkapi-reddit-comment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.