4chan API
1.0.0
Data from the 4chan API is exclusively accessible from a.4cdn.org
, via either http://
or https://
protocols. a.4cdn.org
serves JSON representations of posts made at 4chan.org
and 4channel.org
boards. All examples in the documentation for the 4chan API use https://
.
CORS is supported from origins boards.4chan.org
or boards.4channel.org
, via http://
or https://
. Requests are accepted when using the following HTTP request types:
GET
OPTIONS
HEAD
Documentation Page | Description |
---|---|
Endpoints and Site Domains | A quick rundown of all 4chan API endpoints and site domains. |
Media and Static Content | Paths and locations for static site content including custom spoiler images, country flags, capcodes and user submitted media |
Archive.json | Documentation for the 4chan native archive and its JSON |
Boards.json | Documentation for the 4chan board list and its attributes. |
Catalog.json | Documentation for the JSON representation of the 4chan native catalog |
Index endpoint | Documentation for the JSON representaion of board index (main) pages |
Thread endpoint | Documentation for the JSON representation of specific 4chan threads. |
Thread list | Documentation for the board threadlist and its brief stats |
To view a pretty-printed version of our thread, index, and catalog JSON, use JSONLint.
Still have questions or concerns? Open an issue or email [email protected]