Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

API guide

The Stacks has an HTTP API at https://api.thestacks.org/api/v1. The API reference lists every endpoint with its parameters and responses. To work on Raven, the software behind The Stacks, see the Raven developer guide instead.

Log in

You don’t need an account to read published publications. You do need one to create, edit, or publish them. To publish from a script, use the raven command-line tool, which logs in for you.

API versions

Build new tools on /api/v1. The .md and .json publication URLs in Get a publication in other formats use an older API. That API’s JSON has different field names, like version_number instead of versionNumber.