Skip to main content
POST
/
api
/
krs
/
companies
/
history
/krs/companies/history
curl --request POST \
  --url https://api.anysite.io/api/krs/companies/history \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "krs": "<string>",
  "timeout": 300,
  "register": "P"
}
'
[
  {
    "@type": "@krs_history",
    "entries": [
      {
        "@type": "@krs_registry_entry",
        "entry_number": 123,
        "entry_date": "<string>",
        "description": "<string>",
        "court": "<string>",
        "case_reference": "<string>"
      }
    ],
    "previous_names": [
      {
        "@type": "@krs_previous_name",
        "name": "<string>",
        "introduced_by_entry": 123,
        "removed_by_entry": 123
      }
    ],
    "previous_addresses": [
      {
        "@type": "@krs_previous_address",
        "country": "<string>",
        "locality": "<string>",
        "street": "<string>",
        "building_number": "<string>",
        "apartment_number": "<string>",
        "postal_code": "<string>",
        "post_office": "<string>",
        "introduced_by_entry": 123,
        "removed_by_entry": 123
      }
    ],
    "capital_history": [
      {
        "@type": "@krs_capital_record",
        "amount": {
          "@type": "@krs_money",
          "value": 123,
          "currency": "<string>"
        },
        "introduced_by_entry": 123,
        "removed_by_entry": 123,
        "is_current": false
      }
    ]
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
krs
string
required

KRS registration number

Examples:

"0000028860"

"28860"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
register
enum<string>
default:P

Register section: P for companies, S for associations and foundations

Available options:
P,
S

Response

Successful Response

@type
string
default:@krs_history
entries
KrsRegistryEntry · object[]
previous_names
KrsPreviousName · object[]
previous_addresses
KrsPreviousAddress · object[]
capital_history
KrsCapitalRecord · object[]