search_posts
archive.4plebs.orgSearches archived posts on https://archive.4plebs.org by text, subject, username, tripcode, dates, post type, sort order, board, and page, returning result records and totals.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is search_posts?
Searches archived posts on https://archive.4plebs.org by text, subject, username, tripcode, dates, post type, sort order, board, and page, returning result records and totals. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass board, text, subject, username, tripcode, date_start, date_end, post_type, sort_order, page and get the result back without maintaining a scraper.
Response
{
"posts": [
{}
],
"metadata": {
"page": 0,
"board": "<string>",
"filters": {},
"heading": "<string>",
"has_next": true,
"page_size": 0,
"search_url": "<string>",
"total_found": 0,
"total_pages": 0,
"has_previous": true,
"returned_count": 0,
"total_is_capped": true
}
}Call it
curl --location 'https://us-prod.notte.cc/functions/f5916da9-ea54-488e-98e6-d51857df0388/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "f5916da9-ea54-488e-98e6-d51857df0388",
"variables": {
"board": "pol",
"text": "hello",
"subject": "",
"username": "",
"tripcode": "",
"date_start": "",
"date_end": "",
"post_type": "all",
"sort_order": "newest",
"page": 1
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="f5916da9-ea54-488e-98e6-d51857df0388") — the "search_posts" function, which searches archived posts on https://archive.4plebs.org by text, subject, username, tripcode, dates, post type, sort order, board, and page, returning result records and totals.. It takes board (str), text (str), subject (str), username (str), tripcode (str), date_start (str), date_end (str), post_type (str), sort_order (str), page (int). Return the result as structured JSON.