Skip to main content
POST
/
api
/
habr
/
companies
/habr/companies
curl --request POST \
  --url https://api.anysite.io/api/habr/companies \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "company": "<string>",
  "timeout": 300,
  "lang": "ru"
}
'
[
  {
    "alias": "<string>",
    "@type": "@habr_company",
    "title": "<string>",
    "description": "<string>",
    "image": "<string>",
    "site_url": "<string>",
    "staff_number": "<string>",
    "location": "<string>",
    "subscriber_count": 123,
    "rating": 123,
    "career_rating": 123,
    "career_rating_year": 123,
    "post_count": 123,
    "news_count": 123,
    "thread_count": 123,
    "employee_count": 123,
    "vacancy_count": 123,
    "reach": "<string>",
    "foundation_year": "<string>",
    "registered_at": "<string>",
    "career_alias": "<string>",
    "representative": {
      "alias": "<string>",
      "@type": "@habr_company_representative",
      "fullname": "<string>"
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
company
string
required

Company alias or URL

Minimum string length: 1
Examples:

"ruvds"

"https://habr.com/ru/companies/ruvds/"

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_company
title
string | null
description
string | null
image
string | null
site_url
string | null
staff_number
string | null
location
string | null
subscriber_count
integer | null
rating
number | null
career_rating
number | null
career_rating_year
integer | null
post_count
integer | null
news_count
integer | null
thread_count
integer | null
employee_count
integer | null
vacancy_count
integer | null
reach
string | null
foundation_year
string | null
registered_at
string | null
career_alias
string | null
representative
HabrCompanyRepresentative · object