KRD Rastin

API allows to check information on private persons in KRD database

What kind of data I will get

By using this integration, you can check the correctness of the identity data provided by customer in the identity cards registry which is a public registry having information about all polish identity cards.

In response, you will receive a flag telling you if the data provided in the input are correct and exist in registry.

Input data definition

Mandatory input data:

  • firstName
  • surnameFirstPart
  • pesel
  • idCardSeries
  • idCardNumber
  • productionDate
  • expirationDate

Optional input data:

  • secondName
  • surnameSecondPart
    "firstName": "Jan",
    "secondName": "Maria",
    "surnameFirstPart": "Kowalski",
    "surnameSecondPart": "Herbut",
    "pesel": "07061552938",
    "idCardSeries": "YTT",
    "idCardNumber": "107024",
    "productionDate": "2014-09-24",
    "expirationDate": "2024-09-24",


Response content:

In the response from KRD Rastin you will get information if provided data is correct (all of the provided data exists in the registry).

    "krd": {
        "idCardVerification": {
            "isValid": true
    "rawResponses": {
        "krd": {
            "idCardVerification": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><ns4:IDCardResponse xmlns=\"\" xmlns:ns6=\"\" xmlns:ns5=\"\" xmlns:ns7=\"\" xmlns:ns2=\"\" xmlns:ns4=\"\" xmlns:ns3=\"\"><ns4:IsValid>true</ns4:IsValid></ns4:IDCardResponse>"