Skip to main content
POST
/
api
/
medium
/
publications
/medium/publications
curl --request POST \
  --url https://api.anysite.io/api/medium/publications \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "publication": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "@type": "@medium_publication",
    "alias": "<string>",
    "description": "<string>",
    "tagline": "<string>",
    "image": "<string>",
    "logo": "<string>",
    "follower_count": 123,
    "tags": [],
    "domain": "<string>",
    "public_email": "<string>",
    "twitter_username": "<string>",
    "facebook_page_name": "<string>",
    "instagram_username": "<string>",
    "creator": {
      "id": "<string>",
      "name": "<string>",
      "@type": "@medium_author",
      "alias": "<string>",
      "bio": "<string>",
      "image": "<string>",
      "follower_count": 123,
      "following_count": 123
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
publication
string
required

Medium publication slug or URL

Minimum string length: 1
Examples:

"gitconnected"

"https://medium.com/the-generator"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
name
string
required
@type
string
default:@medium_publication
alias
string | null
description
string | null
tagline
string | null
image
string | null
logo
string | null
follower_count
integer | null
tags
string[]
domain
string | null
public_email
string | null
twitter_username
string | null
facebook_page_name
string | null
instagram_username
string | null
creator
MediumAuthor · object