Marketplace
No threads yet
Live

get_random_thread

archive.4plebs.org

Returns a random archived thread from a selected board on https://archive.4plebs.org with the complete original post, every reply, and all non-empty record metadata.

Parameters1
Runs9
Updated3d ago
Operational9 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_random_thread?

Returns a random archived thread from a selected board on https://archive.4plebs.org with the complete original post, every reply, and all non-empty record metadata. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass board and get the result back without maintaining a scraper.

Response

{
  "op": {},
  "replies": [
    {}
  ],
  "metadata": {
    "board": "<string>",
    "random_url": "<string>",
    "thread_url": "<string>",
    "reply_count": 0,
    "thread_number": "<string>"
  }
}

Call it

curl --location 'https://us-prod.notte.cc/functions/b583e2b3-5b81-4eae-afc6-ca4cb60724a7/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "b583e2b3-5b81-4eae-afc6-ca4cb60724a7",
    "variables": {
        "board": "pol"
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="b583e2b3-5b81-4eae-afc6-ca4cb60724a7") — the "get_random_thread" function, which returns a random archived thread from a selected board on https://archive.4plebs.org with the complete original post, every reply, and all non-empty record metadata..

It takes board (str). Return the result as structured JSON.