1. pl-krs-wp-entry
Dokumentacja MGBI API
  • MGBI API
    • Wprowadzenie
    • Autoryzacja
    • Pojęcia
    • Modele danych
      • pl-krs-wp-record
      • pl-krs-wp-entry
      • pl-krs-rdf-record
      • pl-krz-wp-record
      • pl-wpv-record
      • pl-crbr-wp-record
      • pl-msig-record
      • pl-sudop-wpopb-record
      • pl-rdr-record
      • pl-idpcit-record
      • pl-bzp-record
      • pl-mgbi-lu-record
    • Endpointy dla modeli danych
      • pl-krs-wp-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
        • Get Model Info
      • pl-krs-wp-entry
        • Get Records
          GET
        • Get Record By Id
          GET
        • Stream Records
          GET
        • Get Limits
          GET
        • Get Projections
          GET
        • Get Model Info
          GET
      • pl-krs-rdf-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
        • Get Type Enum Values
        • Get Model Info
      • pl-krz-wp-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Get Limits
        • Get Projections
        • Get Model Info
      • pl-wpv-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Get Limits
        • Get Projections
        • Get Model Info
      • pl-crbr-wp-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Get Limits
        • Get Projections
        • Get Model Info
      • pl-msig-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
        • Get Model Info
      • pl-sudop-wpopb-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Get Limits
        • Get Projections
        • Get Model Info
      • pl-rdr-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Get Limits
        • Get Projections
        • Get Model Info
      • pl-idpcit-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Get Limits
        • Get Projections
        • Get Model Info
      • pl-bzp-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Get Limits
        • Get Projections
        • Get Model Info
      • pl-mgbi-lu-record
        • Get Records
        • Get Record By Id
        • Stream Records
        • Get Limits
        • Get Projections
        • Get Category
        • Get Model Info
    • Zlecanie odświeżenia danych
      • Ogólne informacje
      • Create Refresh
      • Get Refresh
    • Tworzenie raportów
      • Ogólne informacje
      • Create Report
      • Get Report By Id
      • Get Reports
      • Download Report
      • Delete Report
  1. pl-krs-wp-entry

Get Record By Id

GET
/v1/models/pl-krs-wp-entry/records/{id}
Pobiera pojedynczy rekord z informacjami o wpisie do Krajowego Rejestru Sądowego (KRS).
W przypadku sukcesu w odpowiedzi zwraca rekord o podanym identyfikatorze.
W przypadku, gdy rekord o podanym identyfikatorze nie istnieje, zwraca błąd 404.
Poprawne wywołanie endpointu zwiększa liczniki:
api i api_files o 1
records i records_api_get o 1

Request

Path Params

Query Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mgbi.pl/v1/models/pl-krs-wp-entry/records/?projection&content' \
--header 'Authorization;'

Responses

🟢200Successful Response
application/json
Pojedynczy rekord
Body

Example
{
    "content": {
        "html": "<div><h2>Dział 2.</h2><div><h3>Rubryka 1. Organ uprawniony do reprezentacji podmiotu</h3><div><h4>1</h4><div><h4>Dla pozycji:</h4><table><tr><th>1.</th><th>Nazwa organu uprawnionego do reprezentowania podmiotu</th><td>ZARZĄD</td></tr></table></div><div><h4>Podrubryka 1. Dane osób wchodzących w skład organu</h4><div><h4>1</h4><h4>WYKREŚLIĆ</h4><table><tr><th>1.</th><th>Nazwisko / Nazwa lub Firma</th><td>WŁODEK</td></tr><tr><th>2.</th><th>Imiona</th><td>KORNELIA</td></tr><tr><th>3.</th><th>Numer PESEL/REGON lub data urodzenia</th><td>95103008028</td></tr><tr><th>5.</th><th>Funkcja w organie reprezentującym</th><td>CZŁONEK ZARZĄDU</td></tr><tr><th>6.</th><th>Czy osoba wchodząca w skład zarządu została zawieszona w czynnościach?</th><td>NIE</td></tr></table></div></div></div></div></div>",
        "xml": "<tresc><data-wpisu>1776290400</data-wpisu><numer-wpisu>6</numer-wpisu><dzial numer=\"2\"><rubryka numer=\"1\"><nazwa>Organ uprawniony do reprezentacji podmiotu</nazwa><element numer=\"1\"><dla-pozycji><pole numer=\"1\">ZARZĄD</pole></dla-pozycji><podrubryka numer=\"1\"><nazwa>Dane osób wchodzących w skład organu</nazwa><element numer=\"1\"><wykreslic /><pole numer=\"1\">WŁODEK</pole><pole numer=\"2\">KORNELIA</pole><pole numer=\"3\">95103008028</pole><pole numer=\"5\">CZŁONEK ZARZĄDU</pole><pole numer=\"6\">NIE</pole></element></podrubryka></element></rubryka></dzial></tresc>"
    },
    "entry": {
        "date": "2026-04-16T00:00:00.000",
        "number": 6,
        "signature": "KR.XI NS-REJ.KRS/11252/26/707"
    },
    "id": "66224f432af717a81b7caf8f",
    "identifiers": {
        "pl_krs": "0001138152",
        "pl_nip": "9452301905",
        "pl_regon": "540175359"
    },
    "meta": {
        "first_update_datetime": "2025-10-06T22:23:55.308",
        "last_update_datetime": "2025-10-07T22:23:55.308"
    }
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠429Too Many Requests
Modified at 2026-05-07 14:14:50
Previous
Get Records
Next
Stream Records
Built with