Introduction
Welcome to Substack API, the unofficial open-source API for Substack publications.
What is Substack API?
Substack API allows Substack publications to access their content and display it on their own websites or applications. The API provides:
- Fast and reliable access to your publication’s content
- Simple authentication using API keys
- Free to use with generous rate limits
Available Endpoints
Latest Posts
Get the latest posts from your publication.
Top Posts
Get the most popular posts from your publication.
Search Posts
Search for posts in your publication.
Single Post
Get a single post from your publication by slug.
How to get started
Generate an API Key
Visit the API Key Generator to create your API key. You’ll need your Substack publication URL.
Use the API Key
Include your API key in the X-API-Key
header when making requests to the API.
Explore the API
Refer to the API Reference for detailed endpoint documentation and examples.
You can try out the API without an API key using the Try it feature available for all endpoints.
For a detailed walkthrough, check out our video tutorial and step-by-step guide in the Quickstart page.
Need Help?
- Check out our FAQ for common questions
- View the technical details in our Technical Overview
- Contact the developer at bjornernoah@gmail.com
- View the source code on GitHub