/bonalog/organizations
curl --request POST \
--url https://api.anysite.io/api/bonalog/organizations \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"id": 123,
"timeout": 300
}
'import requests
url = "https://api.anysite.io/api/bonalog/organizations"
payload = {
"id": 123,
"timeout": 300
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: 123, timeout: 300})
};
fetch('https://api.anysite.io/api/bonalog/organizations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/bonalog/organizations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 123,
'timeout' => 300
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/bonalog/organizations"
payload := strings.NewReader("{\n \"id\": 123,\n \"timeout\": 300\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/bonalog/organizations")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"id\": 123,\n \"timeout\": 300\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/bonalog/organizations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": 123,\n \"timeout\": 300\n}"
response = http.request(request)
puts response.read_body[
{
"id": 123,
"@type": "BonalogOrganization",
"inn": "<string>",
"ogrn": "<string>",
"kpp": "<string>",
"full_name": "<string>",
"short_name": "<string>",
"status_code": "<string>",
"status_date": "<string>",
"registration_date": "<string>",
"authorized_capital": 123,
"is_active": true,
"address": {
"@type": "BonalogAddress",
"index": "<string>",
"region": "<string>",
"district": "<string>",
"city": "<string>",
"settlement": "<string>",
"street": "<string>",
"house": "<string>",
"building": "<string>",
"office": "<string>"
},
"okved2": {
"@type": "BonalogClassifier",
"id": "<string>",
"name": "<string>"
},
"okopf": {
"@type": "BonalogClassifier",
"id": "<string>",
"name": "<string>"
},
"tax_authority": {
"@type": "BonalogTaxAuthority",
"id": 123,
"name": "<string>",
"code": 123,
"latitude": 123,
"longitude": 123,
"type": "<string>",
"parent_id": 123
},
"reports": [
{
"@type": "BonalogReportSummary",
"period": "<string>",
"publication": 123,
"actual_bfo_date": "<string>",
"gain_sum": 123,
"actives": 123,
"knd": "<string>",
"has_audit": true,
"actual_correction_number": 123,
"actual_correction_date": "<string>",
"published_correction_number": 123,
"published_correction_date": "<string>",
"is_cb": true,
"msp_category": "<string>",
"published": true
}
]
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/bonalog
/bonalog/organizations
Get a Russian organization’s registry card by its identifier
Price: 1 credit
⚠️ Common errors: 412: Organization not found
POST
/
api
/
bonalog
/
organizations
/bonalog/organizations
curl --request POST \
--url https://api.anysite.io/api/bonalog/organizations \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"id": 123,
"timeout": 300
}
'import requests
url = "https://api.anysite.io/api/bonalog/organizations"
payload = {
"id": 123,
"timeout": 300
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({id: 123, timeout: 300})
};
fetch('https://api.anysite.io/api/bonalog/organizations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/bonalog/organizations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'id' => 123,
'timeout' => 300
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/bonalog/organizations"
payload := strings.NewReader("{\n \"id\": 123,\n \"timeout\": 300\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/bonalog/organizations")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"id\": 123,\n \"timeout\": 300\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/bonalog/organizations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"id\": 123,\n \"timeout\": 300\n}"
response = http.request(request)
puts response.read_body[
{
"id": 123,
"@type": "BonalogOrganization",
"inn": "<string>",
"ogrn": "<string>",
"kpp": "<string>",
"full_name": "<string>",
"short_name": "<string>",
"status_code": "<string>",
"status_date": "<string>",
"registration_date": "<string>",
"authorized_capital": 123,
"is_active": true,
"address": {
"@type": "BonalogAddress",
"index": "<string>",
"region": "<string>",
"district": "<string>",
"city": "<string>",
"settlement": "<string>",
"street": "<string>",
"house": "<string>",
"building": "<string>",
"office": "<string>"
},
"okved2": {
"@type": "BonalogClassifier",
"id": "<string>",
"name": "<string>"
},
"okopf": {
"@type": "BonalogClassifier",
"id": "<string>",
"name": "<string>"
},
"tax_authority": {
"@type": "BonalogTaxAuthority",
"id": 123,
"name": "<string>",
"code": 123,
"latitude": 123,
"longitude": 123,
"type": "<string>",
"parent_id": 123
},
"reports": [
{
"@type": "BonalogReportSummary",
"period": "<string>",
"publication": 123,
"actual_bfo_date": "<string>",
"gain_sum": 123,
"actives": 123,
"knd": "<string>",
"has_audit": true,
"actual_correction_number": 123,
"actual_correction_date": "<string>",
"published_correction_number": 123,
"published_correction_date": "<string>",
"is_cb": true,
"msp_category": "<string>",
"published": true
}
]
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I