Skip to main content
POST
/
api
/
vcru
/
news
/vcru/news
curl --request POST \
  --url https://api.anysite.io/api/vcru/news \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "sorting": "hotness"
}
'
[
  {
    "id": 123,
    "@type": "@vcru_article",
    "alias": "<string>",
    "title": "<string>",
    "text": "<string>",
    "url": "<string>",
    "author": {
      "id": 123,
      "@type": "@vcru_subsite",
      "alias": "<string>",
      "name": "<string>",
      "type": 123,
      "subtype": "<string>",
      "description": "<string>",
      "image": "<string>",
      "is_verified": false,
      "is_company": false,
      "is_plus": false,
      "is_pro": false
    },
    "subsite": {
      "id": 123,
      "@type": "@vcru_subsite",
      "alias": "<string>",
      "name": "<string>",
      "type": 123,
      "subtype": "<string>",
      "description": "<string>",
      "image": "<string>",
      "is_verified": false,
      "is_company": false,
      "is_plus": false,
      "is_pro": false
    },
    "tags": [],
    "images": [],
    "image": "<string>",
    "like_count": 0,
    "comment_count": 0,
    "view_count": 0,
    "favorite_count": 0,
    "repost_count": 0,
    "reaction_count": 0,
    "hit_count": 0,
    "is_news": false,
    "is_editorial": false,
    "created_at": 123,
    "modified_at": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
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
sorting
enum<string>
default:hotness

Feed ordering

Available options:
hotness,
new

Response

Successful Response

id
integer
required
@type
string
default:@vcru_article
alias
string | null
title
string | null
text
string | null
url
string | null
author
VcruSubsite · object
subsite
VcruSubsite · object
tags
string[]
images
string[]
image
string | null
like_count
integer
default:0
comment_count
integer
default:0
view_count
integer
default:0
favorite_count
integer
default:0
repost_count
integer
default:0
reaction_count
integer
default:0
hit_count
integer
default:0
is_news
boolean
default:false
is_editorial
boolean
default:false
created_at
integer | null
modified_at
integer | null