Skip to main content
POST
/
api
/
medium
/
posts
/
responses
/medium/posts/responses
curl --request POST \
  --url https://api.anysite.io/api/medium/posts/responses \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "post": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@medium_response",
    "text": "<string>",
    "clap_count": 123,
    "created_at": 123,
    "published_at": 123,
    "updated_at": 123,
    "parent_id": "<string>",
    "author": {
      "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
post
string
required

Medium post id or URL

Minimum string length: 1
Examples:

"42a6a9aac3d3"

"https://medium.com/illumination/article-title-42a6a9aac3d3"

count
integer
required

Max result count

Required range: x >= 1
Example:

20

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@medium_response
text
string | null
clap_count
integer | null
created_at
integer | null
published_at
integer | null
updated_at
integer | null
parent_id
string | null
author
MediumAuthor · object