Substack Publication Posts
substack_publication_postsGet a publication's posts, newest first, top or most discussed, or search them by keyword. Returns post title, author, publication date, engagement, paywall status, word count and tags. Billed $0.003 per request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (default: 1). 20 posts per page | |
| query | No | Keyword to search the publication's posts for (max 500 characters) | |
| sort_by | No | Sort order: "most_recent" (newest first), "top" (all-time most popular first) or "discussions" (posts with comment activity) | most_recent |
| publication | Yes | Publication subdomain (lenny), host (lenny.substack.com, www.lennysnewsletter.com) or any URL on it (max 500 characters) | |
| get_sentiment | No | Add AI sentiment analysis (Plutchik emotions, dominant_emotion, intensity, and positive/negative/neutral polarity) to each result. Adds a small surcharge per page, or per request on single-request endpoints. | |
| podcasts_only | No | Set to true to return only podcast episodes |