Discover/archive.4plebs.org API
live

archive.4plebs.org APIarchive.4plebs.org

Access archived 4chan boards via the 4plebs API. Search posts by text, subject, tripcode, username, and date range. Retrieve threads, media metadata, and board galleries.

Endpoints
14
Updated
14d ago
Try it

No input parameters required.

api.parse.bot/scraper/a10feac1-9ed4-4ee8-a751-0f43cbc30203/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/a10feac1-9ed4-4ee8-a751-0f43cbc30203/list_boards' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 14 totalclick to expand

List all archived boards with their short names, full names, and URLs. Parses the archive homepage to extract available boards.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "boards": "array of board objects, each containing shortname, fullname, and url"
  },
  "sample": {
    "data": {
      "boards": [
        {
          "url": "https://archive.4plebs.org/adv/",
          "fullname": "Advice",
          "shortname": "adv"
        },
        {
          "url": "https://archive.4plebs.org/pol/",
          "fullname": "Politically Incorrect",
          "shortname": "pol"
        }
      ]
    },
    "status": "success"
  }
}

About the archive.4plebs.org API

The 4plebs Archive API exposes 14 endpoints for retrieving and searching archived 4chan posts across boards including pol, tv, x, adv, and others. The search_posts endpoint accepts filters for text, subject, username, tripcode, date range, and post type, while get_thread returns a full thread with the original post and all replies keyed by post number. Media objects include OCR-extracted text, ML-generated image descriptions, dimensions, and direct file URLs.

Boards, Threads, and Posts

The list_boards endpoint returns all archived boards with their shortname, fullname, and url. You pass those shortnames directly into most other endpoints. get_board_index accepts a board and optional page parameter and returns threads paginated by page, keyed by thread number. get_thread accepts a board and thread_num, returning the original post under the op key and all replies as an object keyed by post number. If you only want replies, get_thread_replies returns an array of reply objects without the OP.

Search Filters

search_posts is the most flexible endpoint, accepting text, subject, boards, type (use op to restrict to original posts), order (use asc for oldest-first), and start/end date filters in YYYY-MM-DD format. Results include a meta object with total_found, max_results, and search_title. Focused variants exist for common patterns: search_by_subject, search_by_username, search_by_tripcode, search_with_date_range, and search_op_only. The search_by_username endpoint works best with specific display names; searching for Anonymous returns too broad a result set to be practical.

Media and Gallery Data

get_board_gallery returns paginated media objects for a board, each with media_link, thumb_link, media_filename, media_w, media_h, ocr_t (OCR text extracted from the image), and ml (an ML-generated image description). The get_media_info endpoint retrieves the same media fields for a specific post identified by board and post_num, and returns null in the media field for posts without attachments. The media_hash field is an MD5 hash of the media file, useful for deduplication.

Additional Endpoints

get_post returns a single post's full data including num, name, comment, board, and the media object. get_random_thread resolves a random thread from a given board and returns the same structure as get_thread, which can be useful for sampling the archive without a specific target.

Common use cases
  • Track posts from a specific tripcode across boards using search_by_tripcode with optional board scoping
  • Build a timeline of archived posts on a topic using search_with_date_range with start and end filters
  • Audit media posted to a board by iterating get_board_gallery pages and inspecting ocr_t and ml fields
  • Extract all replies in a thread for sentiment or conversation analysis using get_thread_replies
  • Find original posts only on a board filtered by subject keyword using search_op_only or search_by_subject
  • Identify duplicate media uploads across threads using the media_hash field from get_media_info
  • Sample random archived threads for dataset construction using get_random_thread across multiple boards
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does 4plebs have an official developer API?+
Yes. 4plebs provides a public API documented at https://archive.4plebs.org/_/articles/developers/. However, it covers a limited set of operations and boards. This Parse API exposes additional endpoints and response normalization built on top of the archive.
Which boards are available through this API?+
The list_boards endpoint returns the current set of archived boards, which as of writing includes pol, tv, x, adv, sp, tg, trv, hr, o, f, and s4s. 4plebs does not archive all 4chan boards — only those it has explicitly chosen to mirror. Boards outside that set are not accessible.
What does the `search_posts` response include beyond the post text?+
Each post object includes the poster display name, board metadata, post number, comment text, and a media object (or null). The meta object in the response carries total_found (total matching posts), max_results (cap on returned results), and search_title. Media objects include media_link, thumb_link, media_w, media_h, ocr_t, ml, and media_hash.
Can I retrieve live or currently active 4chan threads through this API?+
Not currently. The API covers only threads and posts that have been archived to 4plebs; active threads on 4chan itself are not included. You can fork this API on Parse and revise it to add an endpoint that targets the official 4chan API at https://github.com/4chan/4chan-API for live board data.
Is there a way to search posts by image hash or file name rather than text?+
Not currently. The search endpoints filter on text, subject, username, tripcode, and date range. The media_hash field is available in post responses for deduplication, but there is no dedicated hash-based search endpoint. You can fork this API on Parse and revise it to add a media hash search endpoint if 4plebs surfaces that filter.
Page content last updated . Spec covers 14 endpoints from archive.4plebs.org.
Related APIs in Social MediaSee all →
xiaohongshu.com API
Retrieve detailed post content and user profile information from Xiaohongshu, including captions, images, engagement metrics, and creator details. Access public note data and creator profiles to research trending content and user activity on the platform.
servers-frontend.fivem.net API
Retrieve live details for a FiveM server by its CFX join code, including status, player list, resources, configuration variables, owner info, and connection endpoints.
tokscript.com API
Fetch timestamped transcripts of TikTok videos along with video metadata, author information, and engagement statistics to analyze content and search by spoken words. Get accurate speech-to-text conversions with precise timing for every segment in a video.
etoro.com API
Monitor top eToro traders by accessing their profiles, portfolio holdings, performance statistics, and trading history to inform your investment decisions. Discover trending stocks and cryptocurrencies, search for specific instruments, and view detailed market data and news to stay updated on investment opportunities.
op.gg API
Look up detailed League of Legends and TFT player statistics, match history, and champion performance data to analyze gameplay and track competitive standings. Search summoner profiles, review leaderboards, and monitor how specific champions perform across different skill levels.
metacareers.com API
Search and browse Meta job openings across all departments and locations. Filter by keyword, experience level, or role category — including University Graduate and AR/VR specializations — and retrieve comprehensive details for each listing, including job description, requirements, salary range, and application link.
guba.eastmoney.com API
Access Chinese stock discussion posts and comments from Eastmoney's community platform to monitor investor sentiment, search board discussions, and retrieve detailed post information and stock board metadata. Get real-time insights into what traders are discussing about specific stocks through posts, replies, and board analytics.
library.tiktok.com API
Search TikTok's Commercial Content Library to discover ads by company name or keyword, then view detailed information like creative format, scheduling dates, audience targeting, and video thumbnails. Monitor competitor advertising strategies and track ad campaigns across supported regions.