Skip to main content
POST
/
api
/
kommersant
/
authors
/
articles
/kommersant/authors/articles
curl --request POST \
  --url https://api.anysite.io/api/kommersant/authors/articles \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "author": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "title": "<string>",
    "@type": "@kommersant_list_item",
    "subtitle": "<string>",
    "excerpt": "<string>",
    "published_at": 123,
    "rubric": "<string>",
    "rubric_id": 123,
    "tags": [],
    "read_minutes": 123,
    "comment_count": 123,
    "is_video": false,
    "is_audio": false,
    "is_paid": false,
    "is_photogallery": false,
    "photo_count": 123,
    "image": "<string>",
    "external_url": "<string>",
    "web_url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
author
string
required

Author numeric id or author page URL

Minimum string length: 1
Examples:

"185"

"https://www.kommersant.ru/authors/185"

count
integer
required

Max number of articles to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
title
string
required
@type
string
default:@kommersant_list_item
subtitle
string | null
excerpt
string | null
published_at
integer | null
rubric
string | null
rubric_id
integer | null
tags
KommersantTag · object[]
read_minutes
integer | null
comment_count
integer | null
is_video
boolean
default:false
is_audio
boolean
default:false
is_paid
boolean
default:false
is_photogallery
boolean
default:false
photo_count
integer | null
image
string | null
external_url
string | null
web_url
string | null