Skip to main content
POST
/
api
/
interfax
/
articles
/interfax/articles
curl --request POST \
  --url https://api.anysite.io/api/interfax/articles \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "article": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "title": "<string>",
    "@type": "@interfax_article",
    "description": "<string>",
    "text": "<string>",
    "section": "<string>",
    "published_at": "<string>",
    "updated_at": "<string>",
    "tags": [],
    "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

Interfax article URL or numeric article id

Minimum string length: 1
Examples:

"https://www.interfax.ru/world/1096866"

"1096866"

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:@interfax_article
description
string | null
text
string | null
section
string | null
published_at
string | null
updated_at
string | null
tags
InterfaxArticleTag · object[]
image
string | null
web_url
string | null