Skip to main content
POST
/
api
/
pikabu
/
communities
/pikabu/communities
curl --request POST \
  --url https://api.anysite.io/api/pikabu/communities \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "community": "<string>",
  "timeout": 300
}
'
[
  {
    "@type": "@pikabu_community",
    "id": "<string>",
    "name": "<string>",
    "alias": "<string>",
    "image": "<string>",
    "url": "<string>",
    "description": "<string>",
    "story_count": 123,
    "subscriber_count": 123,
    "top_tags": [],
    "moderators": [],
    "popular_authors": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
community
string
required

Community slug or URL

Minimum string length: 1
Examples:

"comics"

"https://pikabu.ru/community/comics"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:@pikabu_community
id
string | null
name
string | null
alias
string | null
image
string | null
url
string | null
description
string | null
story_count
integer | null
subscriber_count
integer | null
top_tags
PikabuCommunityTag · object[]
moderators
PikabuUserRef · object[]