Skip to main content
POST
/
api
/
kommersant
/
articles
/kommersant/articles
curl --request POST \
  --url https://api.anysite.io/api/kommersant/articles \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "article": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "title": "<string>",
    "@type": "@kommersant_article",
    "subtitle": "<string>",
    "description": "<string>",
    "text": "<string>",
    "published_at": "<string>",
    "updated_at": "<string>",
    "keywords": [],
    "authors": [],
    "topics": [],
    "publication": "<string>",
    "image": "<string>",
    "web_url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
article
string
required

Kommersant article URL or numeric article id

Minimum string length: 1
Examples:

"https://www.kommersant.ru/doc/8511593"

"8511593"

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_article
subtitle
string | null
description
string | null
text
string | null
published_at
string | null
updated_at
string | null
keywords
string[]
authors
KommersantArticleAuthor · object[]
topics
KommersantArticleTopic · object[]
publication
string | null
image
string | null
web_url
string | null