HonestHook

Free API key (1,000/mo)Sign in

Home · Docs · Schemas · PostItem

PostItem — one post, with the four metrics that exist everywhere

The normalised post shape. `metrics` carries likes, replies, reposts and quotes — and nothing else, because nothing else exists on every platform we read.

PostItem has 9 fields: 7 nullable, 0 guaranteed by the contract's required list. Every number on this page is counted from the field map at render time — none of them is written down.

Fields

FieldTypeNullableRequired
idstringnono
urlstringyesno
textstringyesno
text_htmlstringyesno
titleobjectyesno
positionobjectyesno
published_atstringyesno
thumbnail_urlstringyesno
metricsobjectnono

9 rows above, 4 of them with a transcription from the contract and 1 with a note of ours.

What the fields mean

Only the fields with something measured or decided about them appear here. A field whose name and type say everything gets no paragraph, rather than a generic one.

text_html

From the contract: Mastodon only. Third-party HTML, unsanitised — sanitise before rendering or you have an XSS hole. `text` is the same content already stripped.

title

From the contract: Always null: a status has no title.

position

From the contract: Always null: chronological order is not a ranking.

thumbnail_url

From the contract: Null on bluesky and mastodon — the image embed has not been measured on a large enough sample to promise a shape.

metrics

Our note: FIVE keys on a post: likes, replies, reposts, quotes, views — views entered on 04/10/2026. All five are always present on the endpoints that use this shape (bluesky, mastodon, threads and youtube); a platform that does not publish one sends null, and null means "this platform does not publish it", never zero. Today only youtube fills views. WARNING, and it is a real divergence, not a rounding of the truth: two older endpoints answer with their OWN keys and never had these — a hackernews story sends points and comments, and an instagram post sends likes and comments (comments, not replies). And an item that is deliberately not a post carries its own keys too: a pinterest board has pins and followers, a youtube playlist has videos, a youtube live stream in progress has watching. Reusing post names for those would make a client add up things that are not the same. No saves and no shares: nobody publishes them without a logged-in account.

How this page stays true

The field list, the two flags and the closed value sets are generated from the contract this API serves, and a test compares them against the live /openapi.json in both directions: a field in the contract with no documentation fails, a documented field the contract does not have fails, and a wrong nullable or required fails. The prose marked our note is not covered by that test — it is authored, and labelled so you can tell.

The machine-readable source is at /openapi.json. If you are generating a client, use that rather than this page.

The other 7 schemas

ApiError · SeriesPoint · Item · Mover · Author · PostsEnvelope · ProfileEnvelope

← All schemas · Recipes · Full docs