Skip to main content
POST
/
api
/
pikabu
/
users
/
comments
/pikabu/users/comments
curl --request POST \
  --url https://api.anysite.io/api/pikabu/users/comments \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "user": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@pikabu_user_comment",
    "text": "<string>",
    "rating": 123,
    "plus_count": 123,
    "minus_count": 123,
    "created_at": "<string>",
    "story": {
      "@type": "@pikabu_story_ref",
      "id": "<string>",
      "title": "<string>",
      "url": "<string>"
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
user
string
required

Username or profile URL

Minimum string length: 1
Examples:

"truekpru"

"https://pikabu.ru/@truekpru"

count
integer
required

Max number of comments 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
string
required
@type
string
default:@pikabu_user_comment
text
string | null
rating
integer | null
plus_count
integer | null
minus_count
integer | null
created_at
string | null
story
PikabuStoryRef · object