Skip to main content

Thread view

GET /<board>/thread/<thread_num>
Displays a complete thread with all posts.
board
string
required
Board shortname (e.g., g, tech, lambda)
thread_num
integer
required
Thread number (the post number of the OP)

Response

Returns an HTML page with:
  • All posts in the thread
  • Quotelink resolution and backlinks
  • Media attachments with thumbnails
  • Thread statistics (reply count, image count)
  • Report form (if authenticated)
posts_t
string
Rendered HTML for all posts in the thread
nreplies
integer
Total number of replies in the thread
nimages
integer
Total number of images in the thread
Threads are rendered with full quotelink support. Clicking a quotelink will highlight the referenced post or fetch it if not visible.

Get post

GET /<board>/post/<post_id>
Fetches a single post as JSON. Used by the client to load posts not currently visible on the page (e.g., when viewing search results).
board
string
required
Board shortname
post_id
integer
required
Post number

Response

Returns JSON with the post data:
html_content
string
Rendered HTML for the post
thread_num
integer
The thread number this post belongs to
This endpoint returns an empty object {} if the post doesn’t exist or has been removed by moderation.

Example response

{
  "html_content": "<article class=\"post\">...</article>",
  "thread_num": 123456
}

Build docs developers (and LLMs) love