Reddit · Schema

Listing

A Reddit listing is a paginated collection of things. Listings contain a data object with children and pagination information.

RedditAdvertisingCommunityContentSocial MediaSocial NewsSocial

Properties

Name Type Description
kind string The kind identifier, always "Listing".
data object
View JSON Schema on GitHub

JSON Schema

reddit-listing-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/reddit/json-schema/reddit-listing-schema.json",
  "title": "Listing",
  "description": "A Reddit listing is a paginated collection of things. Listings contain a data object with children and pagination information.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/reddit-links-comments-api-openapi.yml#/components/schemas/Listing",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "description": "The kind identifier, always \"Listing\".",
      "enum": [
        "Listing"
      ]
    },
    "data": {
      "type": "object",
      "properties": {
        "after": {
          "type": [
            "string",
            "null"
          ],
          "description": "The fullname of the next item for forward pagination."
        },
        "before": {
          "type": [
            "string",
            "null"
          ],
          "description": "The fullname of the previous item for backward pagination."
        },
        "dist": {
          "type": "integer",
          "description": "The number of items in this listing."
        },
        "modhash": {
          "type": "string",
          "description": "A modhash for CSRF protection."
        },
        "children": {
          "type": "array",
          "description": "The list of things in this listing.",
          "items": {
            "$ref": "#/$defs/Thing"
          }
        }
      }
    }
  },
  "$defs": {
    "Thing": {
      "type": "object",
      "description": "A Reddit thing is the base object type. All Reddit objects (comments, links, subreddits, etc.) are things with a kind and data payload.",
      "properties": {
        "kind": {
          "type": "string",
          "description": "The kind identifier (t1 for comment, t2 for account, t3 for link, t4 for message, t5 for subreddit, t6 for award).",
          "enum": [
            "t1",
            "t2",
            "t3",
            "t4",
            "t5",
            "t6"
          ]
        },
        "data": {
          "type": "object",
          "description": "The thing's data payload, varying by kind."
        }
      }
    }
  }
}

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/reddit-listing"
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.