Substack

Substack Post Details

Get a Substack post by URL, ID, or publication and slug. Returns the full body as HTML and plain text (the free preview for paid posts), title, subtitle, author, publication, publication date, engagement, paywall status, word count, cover image, podcast audio and tags.

Price: $0.003 per request. Free tier: 50 requests/month.

get/v1/substack/post

Request

  • Base URL: https://apidirect.io
  • URL: https://apidirect.io/v1/substack/post
  • Auth: API key in header X-API-Key

Query parameters

urlstring

Post URL, e.g. https://www.lennysnewsletter.com/p/all-of-the-lenny-and-friends-summit (max 500 characters). Provide url, post_id, or publication and slug.

post_idstring

Numeric post ID, as returned in post_id. Provide url, post_id, or publication and slug.

publicationstring

Publication subdomain, host or URL, used together with slug.

slugstring

Post URL slug, e.g. all-of-the-lenny-and-friends-summit, used together with publication.

get_sentimentboolean

Set to true to add AI emotion analysis (Plutchik's Wheel) to each result. Adds +$0.001 per request to the cost. Returns emotion scores, dominant emotion, intensity, and polarity.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.