Skip to main content
POST
/
api
/
konturfocus
/
companies
/
autocomplete
/konturfocus/companies/autocomplete
curl --request POST \
  --url https://api.anysite.io/api/konturfocus/companies/autocomplete \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "text": "<string>",
    "@type": "@konturfocus_suggestion"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Partial company name to autocomplete

Minimum string length: 1
Example:

"сбербанк"

count
integer
required

Number of suggestions to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

text
string
required
@type
string
default:@konturfocus_suggestion