Skip to main content
POST
/
api
/
interfax
/
categories
/
articles
/interfax/categories/articles
curl --request POST \
  --url https://api.anysite.io/api/interfax/categories/articles \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "title": "<string>",
    "@type": "@interfax_list_item",
    "section": "<string>",
    "published_at": "<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
category
enum<string>
required

News category

Available options:
russia,
world,
business,
culture,
digital,
moscow,
interview
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:@interfax_list_item
section
string | null
published_at
string | null
image
string | null
web_url
string | null