Skip to main content
POST
/
api
/
habr
/
users
/habr/users
curl --request POST \
  --url https://api.anysite.io/api/habr/users \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "user": "<string>",
  "timeout": 300,
  "lang": "ru"
}
'
[
  {
    "alias": "<string>",
    "@type": "@habr_user",
    "fullname": "<string>",
    "speciality": "<string>",
    "gender": "<string>",
    "birthday": "<string>",
    "image": "<string>",
    "rating": 123,
    "rating_pos": 123,
    "score": 123,
    "vote_count": 123,
    "follow_count": 123,
    "follower_count": 123,
    "post_count": 123,
    "comment_count": 123,
    "favorite_count": 123,
    "article_count": 123,
    "news_count": 123,
    "publication_post_count": 123,
    "reach": "<string>",
    "location": "<string>",
    "workplace": [],
    "about": "<string>",
    "registered_at": "<string>",
    "last_activity_at": "<string>",
    "badges": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
user
string
required

User alias or profile URL

Minimum string length: 1
Examples:

"denis-19"

"https://habr.com/ru/users/denis-19/"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
lang
enum<string>
default:ru

Content language

Available options:
ru,
en

Response

Successful Response

alias
string
required
@type
string
default:@habr_user
fullname
string | null
speciality
string | null
gender
string | null
birthday
string | null
image
string | null
rating
number | null
rating_pos
integer | null
score
integer | null
vote_count
integer | null
follow_count
integer | null
follower_count
integer | null
post_count
integer | null
comment_count
integer | null
favorite_count
integer | null
article_count
integer | null
news_count
integer | null
publication_post_count
integer | null
reach
string | null
location
string | null
workplace
HabrUserWorkplace · object[]
about
string | null
registered_at
string | null
last_activity_at
string | null
badges
HabrUserBadge · object[]