Skip to main content
POST
/
api
/
substack
/
publications
/substack/publications
curl --request POST \
  --url https://api.anysite.io/api/substack/publications \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "publication": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@substack_publication",
    "name": "<string>",
    "alias": "<string>",
    "custom_domain": "<string>",
    "hostname": "<string>",
    "base_url": "<string>",
    "description": "<string>",
    "copyright": "<string>",
    "language": "<string>",
    "homepage_type": "<string>",
    "created_at": "<string>",
    "first_post_date": "<string>",
    "image": "<string>",
    "logo_wide": "<string>",
    "cover_image": "<string>",
    "author_id": 123,
    "author_name": "<string>",
    "author_handle": "<string>",
    "author_bio": "<string>",
    "author_image": "<string>",
    "twitter_screen_name": "<string>",
    "free_subscriber_count": 123,
    "subscriber_count_label": "<string>",
    "payments_state": "<string>",
    "is_personal_mode": true,
    "is_explicit": true,
    "is_invite_only": true,
    "is_community_enabled": true,
    "has_posts": true,
    "has_podcast": true,
    "has_recommendations": true,
    "has_community_content": true,
    "podcast_enabled": true,
    "podcast_title": "<string>",
    "podcast_description": "<string>",
    "podcast_byline": "<string>",
    "podcast_feed_url": "<string>",
    "podcast_image": "<string>",
    "plans": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
publication
string
required

Substack publication subdomain or custom domain

Minimum string length: 1
Examples:

"thefp.com"

"lenny"

"newsletter.pragmaticengineer.com"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:@substack_publication
name
string | null
alias
string | null
custom_domain
string | null
hostname
string | null
base_url
string | null
description
string | null
language
string | null
type
enum<string> | null
Available options:
newsletter,
podcast
homepage_type
string | null
created_at
string | null
first_post_date
string | null
image
string | null
logo_wide
string | null
cover_image
string | null
author_id
integer | null
author_name
string | null
author_handle
string | null
author_bio
string | null
author_image
string | null
twitter_screen_name
string | null
free_subscriber_count
integer | null
subscriber_count_label
string | null
payments_state
string | null
is_personal_mode
boolean | null
is_explicit
boolean | null
is_invite_only
boolean | null
is_community_enabled
boolean | null
has_posts
boolean | null
has_podcast
boolean | null
has_recommendations
boolean | null
has_community_content
boolean | null
podcast_enabled
boolean | null
podcast_title
string | null
podcast_description
string | null
podcast_byline
string | null
podcast_feed_url
string | null
podcast_image
string | null
plans
SubstackPublicationPlan · object[]