All URLs listed are clickable examples (watch for potentially NSFW content).
Portions of the URL listed in code blocks
are arguments and can be changed.
Default API endpoint: https://a.4cdn.org
(accessible over both HTTP and HTTPS)
CORS is supported with the origin: boards.4chan.org
(over both HTTP and HTTPS)
Supported request methods are: GET, HEAD, OPTIONS
- GET /boards.json (compressed, decompressed (9/24/2016))
- Lists all publicly accessible boards.
- GET /
b
/archive.json (compressed, decompressed (9/24/2016))- Lists the recently expired threads (before they're actually deleted) from board
b
. (not used by all boards, see/boards.json
's documentation)
- Lists the recently expired threads (before they're actually deleted) from board
- GET /
b
/catalog.json (compressed, decompressed (9/24/2016))- Lists the currently alive threads for board
b
, by page, including their OP. Used internally for the catalog, as referenced by the name.
- Lists the currently alive threads for board
- GET /
b
/threads.json (compressed, decompressed (9/24/2016))- Lists the currently alive threads for board
b
, by page, not including their OP. (significantly smaller filesize than/catalog.json
, if you're into that)
- Lists the currently alive threads for board
- GET /
b
/n
.json (compressed, decompressed (9/24/2016))- Lists the currently alive threads on the
n
-th page of boardb
, counting from 1 (i.e. the first page is1
), including their OP. (like/catalog.json
)
- Lists the currently alive threads on the
- GET /
b
/thread/n
.json (compressed, decompressed (9/24/2016))- Lists the currently alive posts in the thread with the OP post number
n
on boardb
.
- Lists the currently alive posts in the thread with the OP post number