Dokumentacja MGBI API
  1. pl-mgbi-lu-record
Dokumentacja MGBI API
  • MGBI API
    • Wprowadzenie
    • Autoryzacja
    • Pojęcia
    • Modele danych
      • pl-krs-wp-record
      • pl-krs-rdf-record
      • pl-krz-wp-record
      • pl-wpv-record
      • pl-crbr-wp-record
      • pl-msig-record
      • pl-mgbi-lu-record
    • Endpointy dla modeli danych
      • pl-krs-wp-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
      • pl-krs-rdf-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
        • Get Type Enum Values
      • pl-krz-wp-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Get Limits
        • Get Projections
      • pl-wpv-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Get Limits
        • Get Projections
      • pl-crbr-wp-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Get Limits
        • Get Projections
      • pl-msig-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
      • pl-mgbi-lu-record
        • Get Record By Id
          GET
        • Get Records
          GET
        • Stream Records
          GET
        • Get Limits
          GET
        • Get Projections
          GET
        • Get Category
          GET
    • 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-mgbi-lu-record

Get Records

GET
/v1/models/pl-mgbi-lu-record/records
Pobiera rekordy z informacjami o ogłoszeniach z Listy upadłości MGBI spełniające podane kryteria.
W przypadku sukcesu w odpowiedzi zwraca paginowaną listę rekordów posortowaną malejąco według daty publikacji ogłoszeń.
W przypadku braku rekordów spełniających podane kryteria zwraca pustą listę.
Poprawne wywołanie endpointu zwiększa liczniki:
api i api_search o 1
records i records_api_search o liczbę zwróconych rekordów

Request

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-mgbi-lu-record/records'

Responses

🟢200Successful Response
application/json
Lista rekordów
Body

Example
{
    "count": 0,
    "pages": 0,
    "results": [
        {
            "id": "string",
            "meta": {
                "issue_date": "2019-08-24",
                "category": "string",
                "first_update_datetime": "2019-08-24T14:15:22Z",
                "last_update_datetime": "2019-08-24T14:15:22Z",
                "is_administrator_data_consistent": true,
                "is_correction": true,
                "is_entity_data_consistent": true
            },
            "entity": [
                {
                    "info": {
                        "cleaned_name": "string",
                        "first_name": "string",
                        "last_name": "string",
                        "legal_form": "string",
                        "commencement_date": "2019-08-24",
                        "birth_date": "2019-08-24",
                        "primary_business": "string",
                        "ownership_type": "string"
                    },
                    "numbers": {
                        "krs": "string",
                        "nip": "string",
                        "regon": "string",
                        "pesel": "string"
                    },
                    "address": {
                        "state": "string",
                        "powiat": "string",
                        "gmina": "string",
                        "town": "string",
                        "street": "string",
                        "house_number": "string",
                        "flat_number": "string",
                        "zip_code": "string",
                        "post_office": "string"
                    }
                }
            ],
            "proceeding": {
                "court_name": "string",
                "court_department": "string",
                "signatures": [
                    "string"
                ],
                "commissioner_name": "string",
                "commissioner_deputy_name": "string",
                "administrator_function": "string",
                "administrator_name": "string",
                "administrator_licence_number": 0,
                "administrator_address": "string",
                "administrator_zip_code": "string",
                "administrator_town": "string",
                "administrator_source_url": "string"
            },
            "order": {
                "order_date": "2019-08-24",
                "expiration_period": 0,
                "expiration_date": "2019-08-24"
            },
            "msig_entry": {
                "issue_date": "2019-08-24",
                "sequential_number": 0,
                "yearly_number": "string",
                "chapter": 0,
                "section": 0,
                "position_number": "string",
                "signature": "string",
                "url": "string"
            },
            "krz_entry": {
                "issue_date": "2019-08-24",
                "chapter": 0,
                "section": 0,
                "subsection": 0,
                "signature": "string",
                "url": "string"
            },
            "content": {
                "text": "string",
                "html": "string",
                "url": "string"
            },
            "first_entry": {
                "id": "string",
                "proceeding": {
                    "court_name": "string",
                    "court_department": "string",
                    "signatures": [
                        "string"
                    ],
                    "commissioner_name": "string",
                    "commissioner_deputy_name": "string",
                    "administrator_function": "string",
                    "administrator_name": "string",
                    "administrator_licence_number": 0,
                    "administrator_address": "string",
                    "administrator_zip_code": "string",
                    "administrator_town": "string",
                    "administrator_source_url": "string"
                },
                "entity": [
                    {
                        "info": {
                            "cleaned_name": "string",
                            "first_name": "string",
                            "last_name": "string",
                            "legal_form": "string",
                            "commencement_date": "2019-08-24",
                            "birth_date": "2019-08-24",
                            "primary_business": "string",
                            "ownership_type": "string"
                        },
                        "numbers": {
                            "krs": "string",
                            "nip": "string",
                            "regon": "string",
                            "pesel": "string"
                        },
                        "address": {
                            "state": "string",
                            "powiat": "string",
                            "gmina": "string",
                            "town": "string",
                            "street": "string",
                            "house_number": "string",
                            "flat_number": "string",
                            "zip_code": "string",
                            "post_office": "string"
                        }
                    }
                ]
            }
        }
    ]
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠429Too Many Requests
Modified at 2025-09-11 12:02:24
Previous
Get Record By Id
Next
Stream Records
Built with