Get Substack publication feed
Get a Substack publication's feed with its newest items.
Headers
Get your API keyAPI key (`sfk_...`)
A publication: its numeric id (`89120`), its Substack subdomain (`astralcodexten`), its host (`www.astralcodexten.com`) or its URL. A numeric id is refused with a 400 on the routes that need a subdomain, host or URL.
min 1 chars · max 400 chars
Endpoint-specific response payload.
Whether the publication was found.
one of: found, not_found, restricted
Why the publication is restricted, when it is.
one of: invite_only, flagged, paid, null
The publication's feed when it is served; otherwise null.
The feed's title.
The feed's description.
The publication's URL.
The feed's image URL.
The software that produced the feed.
When the feed was last built.
The feed's copyright line.
The feed's language code.
The feed's newest items.
The item's title.
The item's URL.
The item's stable id.
The item's creator.
ISO 8601 timestamp, or null when Substack does not publish one.
The item's description as HTML.
The same description with entities decoded and HTML tags removed.
The item's full content as HTML.
The item's image or audio enclosure.
The enclosure's URL.
The enclosure's media type.
The enclosure's size in bytes.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/substack/publications/astralcodexten/feed" \
-H "x-api-key: YOUR_API_KEY"Responses
Substack publication feed.