Skip to main content
POST
/
api
/
habrcareer
/
companies
/
search
/habrcareer/companies/search
curl --request POST \
  --url https://api.anysite.io/api/habrcareer/companies/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "text": "<string>",
  "city_id": 123,
  "skills": [
    123
  ]
}
'
[
  {
    "alias": "<string>",
    "title": "<string>",
    "url": "<string>",
    "@type": "@habrcareer_company_search_item",
    "id": 123,
    "image": "<string>",
    "description": "<string>",
    "city": "<string>",
    "size": "<string>",
    "is_accredited": true,
    "vacancy_count": 123,
    "skills": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of companies to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
text
string | null

Search query by company name

city_id
integer | null

City id to filter by (e.g. 678 = Moscow)

size
enum<string> | null

Company size band

Available options:
5,
4,
3,
2,
1
skills
integer[] | null

Skill ids to filter by

sort
enum<string> | null

Result ordering

Available options:
vacancies_count,
rating

Response

Successful Response

alias
string
required
title
string
required
url
string
required
@type
string
default:@habrcareer_company_search_item
id
integer | null
image
string | null
description
string | null
city
string | null
size
string | null
is_accredited
boolean | null
vacancy_count
integer | null
skills
string[]