HonestHook · Schema

PostsEnvelope

Same envelope as every other route. `data.items` carries the posts the account itself wrote — reposts and boosts of other people are excluded by authorship. `has_more` is per platform, not one answer for all three: Bluesky computes it from the source cursor, Mastodon reports false until we read the `Link` header, and Threads reports null because its posts come inside the profile document and cannot be paged. A null is us saying we do not know, which is different from saying there is no more.

CompanySocial MediaData AggregationSoftware-as-a-Service

Properties

Name Type Description
success boolean
platform string
endpoint string
data objectnull
error objectnull
credits_used integer
cached boolean
request_id string
View JSON Schema on GitHub

JSON Schema

honesthook-posts-envelope-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/honesthook/main/json-schema/honesthook-posts-envelope-schema.json",
  "title": "PostsEnvelope",
  "description": "Same envelope as every other route. `data.items` carries the posts the account itself wrote — reposts and boosts of other people are excluded by authorship. `has_more` is per platform, not one answer for all three: Bluesky computes it from the source cursor, Mastodon reports false until we read the `Link` header, and Threads reports null because its posts come inside the profile document and cannot be paged. A null is us saying we do not know, which is different from saying there is no more.",
  "x-generated": "2026-09-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/honesthook-api-openapi.json#/components/schemas/PostsEnvelope",
  "type": "object",
  "required": [
    "success",
    "platform",
    "endpoint",
    "data",
    "error",
    "credits_used",
    "cached",
    "request_id"
  ],
  "properties": {
    "success": {
      "type": "boolean"
    },
    "platform": {
      "type": "string"
    },
    "endpoint": {
      "type": "string"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "author": {
          "$ref": "#/$defs/Author"
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PostItem"
          }
        },
        "has_more": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "next_cursor": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "error": {
      "type": [
        "object",
        "null"
      ]
    },
    "credits_used": {
      "type": "integer"
    },
    "cached": {
      "type": "boolean"
    },
    "request_id": {
      "type": "string"
    }
  },
  "$defs": {
    "Author": {
      "type": "object",
      "description": "The same twelve names on every platform. A field that does not exist there is null, never absent and never zero: zero is a fact about the account, null is a fact about our reading.",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Stable identifier on that platform."
        },
        "handle": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "bio": {
          "type": [
            "string",
            "null"
          ]
        },
        "avatar_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "followers": {
          "type": [
            "integer",
            "null"
          ]
        },
        "following": {
          "type": [
            "integer",
            "null"
          ]
        },
        "posts_count": {
          "type": [
            "integer",
            "null"
          ]
        },
        "verified": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "is_private": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "external_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "PostItem": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "text": {
          "type": [
            "string",
            "null"
          ]
        },
        "text_html": {
          "type": [
            "string",
            "null"
          ],
          "description": "Mastodon only. Third-party HTML, unsanitised — sanitise before rendering or you have an XSS hole. `text` is the same content already stripped."
        },
        "title": {
          "type": "null",
          "description": "Always null: a status has no title."
        },
        "position": {
          "type": "null",
          "description": "Always null: chronological order is not a ranking."
        },
        "published_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "thumbnail_url": {
          "type": [
            "string",
            "null"
          ],
          "description": "Null on bluesky and mastodon — the image embed has not been measured on a large enough sample to promise a shape."
        },
        "metrics": {
          "type": "object",
          "properties": {
            "likes": {
              "type": [
                "integer",
                "null"
              ]
            },
            "replies": {
              "type": [
                "integer",
                "null"
              ]
            },
            "reposts": {
              "type": [
                "integer",
                "null"
              ]
            },
            "quotes": {
              "type": [
                "integer",
                "null"
              ],
              "description": "Null on threads: the source publishes none."
            }
          }
        }
      }
    }
  }
}

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/honesthook-posts-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.