{"openapi":"3.1.0","info":{"title":"MONODAT Public API","description":"Pay-per-call API for Polish company data: registry (KRS), VAT whitelist, financial statements, insolvencies (KRZ), sanctions, KNF warnings, state aid, market statistics, listed companies (GPW) and a conversational AI analyst (/v1/ai) that answers questions over the data with charts. Authenticate every /v1 request with the `X-API-Key` header. Each endpoint costs a fixed number of prepaid tokens (see /v1/meta/endpoints); failed calls are never charged. Tokens never expire.","termsOfService":"https://monodat.com/terms","contact":{"name":"MONODAT","url":"https://monodat.com/"},"version":"1.15.0","x-pricing-source":"GET /v1/meta/endpoints","x-enumerations":{"CompanyStatus":{"description":"Registry status of a company, derived from KRS. Stable English keys; `status.label_pl` / `status.label_en` carry the readable text.","fields":["status.value (GET /v1/companies/{nip}, /v1/companies/search, /v1/companies/{nip}/risk)"],"open":false,"values":{"active":"Aktywna — Active.","suspended":"Zawieszona — Suspended.","dissolving":"W likwidacji — In liquidation.","bankruptcy":"W upadłości — In bankruptcy.","terminated":"Zakończyła działalność — Ceased activity.","struck_off":"Wykreślona z KRS — Struck off the register.","unknown":"Nie udało się ustalić statusu — Status could not be determined."},"schema":"#/components/schemas/EnumCompanyStatus"},"ScoreLevel":{"description":"Band of the MONODAT Score (0–100, higher is safer). Values are Polish keys without diacritics and are returned as stored.","fields":["monodat_score_level","risk_level","score_level","level (GET /v1/risk/{nip}/score)"],"open":false,"values":{"doskonaly":"Doskonały — excellent, score 80–100.","dobry":"Dobry — good, score 60–79.","umiar":"Umiarkowany — moderate, score 40–59.","ryzykowny":"Ryzykowny — risky, score 20–39.","krytyczny":"Krytyczny — critical, score 0–19.","brak_danych":"Brak danych — not enough data to calculate a score (`monodat_score` is null)."},"schema":"#/components/schemas/EnumScoreLevel"},"RiskBand":{"description":"Letter band of the compliance level, `A` (lowest risk) to `E` (highest risk); null when not calculated.","fields":["risk_band","band (score breakdown)"],"open":false,"values":{"A":"Lowest risk.","B":"Low risk.","C":"Medium risk.","D":"High risk.","E":"Highest risk."},"schema":"#/components/schemas/EnumRiskBand"},"Verdict":{"description":"Overall counterparty verdict.","fields":["verdict.status (GET /v1/companies/{nip}/verify and the endpoints that embed it)"],"open":false,"values":{"ok":"Można współpracować — Fit to work with.","caution":"Ostrożnie — Proceed with caution.","not_recommended":"Nie zalecane — Not recommended.","insufficient":"Za mało danych — Not enough data."},"schema":"#/components/schemas/EnumVerdict"},"CheckState":{"description":"Result of one check inside a verdict (sanctions, PEP, KNF, KRZ, VAT).","fields":["verdict.checks.<check> (keys: sanctions, pep, knf, krz, vat)"],"open":false,"values":{"confirmed":"Verified finding (or a certain registry fact).","possible":"Possible match by name, not verified: not a finding.","clear":"Checked, nothing found.","unchecked":"The source does not cover this company: do not read it as clean.","locked":"The check is not included in the plan of the caller."},"schema":"#/components/schemas/EnumCheckState"},"Severity":{"description":"Severity of a reason, signal or alert.","fields":["severity"],"open":false,"values":{"critical":"Critical.","high":"High.","medium":"Medium.","low":"Low.","info":"Informational only."},"schema":"#/components/schemas/EnumSeverity"},"SourceStatus":{"description":"Freshness of one data source in `as_of`.","fields":["as_of.<source>.status"],"open":false,"values":{"fresh":"Checked recently.","stale":"Last successful check is older than expected.","unchecked":"Never checked: do not read an empty result as clean.","error":"The last check failed."},"schema":"#/components/schemas/EnumSourceStatus"},"VatStatus":{"description":"VAT status from the White List of the Ministry of Finance (Wykaz podatników VAT). Polish values, returned as published by the register.","fields":["status_vat / vat_status (GET /v1/vat/{nip} and the endpoints that embed it)"],"open":false,"values":{"Czynny":"Active VAT payer.","Zwolniony":"VAT-exempt payer.","Niezarejestrowany":"Not registered for VAT (or removed from the register)."},"schema":"#/components/schemas/EnumVatStatus"},"VatStatusCode":{"description":"Stable English key of `vat_status` (which stays in Polish, as published by the register). `other` = a register value not listed here; null = VAT never checked.","fields":["vat_status_code (GET /v1/companies/{nip}/status)"],"open":false,"values":{"active":"`Czynny` — Active VAT payer.","exempt":"`Zwolniony` — VAT-exempt payer.","not_registered":"`Niezarejestrowany` — Not registered for VAT.","other":"Another register value (see `vat_status`)."},"schema":"#/components/schemas/EnumVatStatusCode"},"ScoreLevelCode":{"description":"Stable English key of the MONODAT Score band (`risk_level`, which stays in Polish). `other` = a value not listed here; null = no band.","fields":["risk_level_code (GET /v1/companies/{nip}/status)"],"open":false,"values":{"excellent":"`doskonaly` — Excellent.","good":"`dobry` — Good.","moderate":"`umiar` — Moderate.","risky":"`ryzykowny` — Risky.","critical":"`krytyczny` — Critical.","no_data":"`brak_danych` — Not enough data.","other":"Another value (see `risk_level`)."},"schema":"#/components/schemas/EnumScoreLevelCode"},"DataQualityWarning":{"description":"Codes in `data_quality_warnings` of GET /v1/krs/{krs}. Empty list = nothing to report. Open list: new codes may be added.","fields":["data_quality_warnings (GET /v1/krs/{krs})"],"open":true,"values":{"registry_extract_stale":"The stored copy of the KRS extract is older than expected (`as_of.krs.status` = `stale`): name, form or address may have changed.","name_differs_between_sources":"The KRS extract, the company profile (/v1/companies) and the official name (VAT White List) do not match: see `name_sources`.","nip_krs_identity_issue":"The NIP of this KRS is also linked to another KRS, or NIP and KRS do not match between sources: see `identity`."},"schema":"#/components/schemas/EnumDataQualityWarning"},"Zakres":{"description":"Scope of a financial statement (query parameter `zakres` and response field `zakres` in /v1/financials). Polish values.","fields":["zakres"],"open":false,"values":{"jednostkowe":"Standalone statement (the company itself).","skonsolidowane":"Consolidated statement (capital group)."},"schema":"#/components/schemas/EnumZakres"},"Voivodeship":{"description":"The 16 Polish voivodeships, in Polish and lower case. The `voivodeship` filter of GET /v1/companies/search also accepts the names without diacritics.","fields":["voivodeship"],"open":false,"values":{"dolnośląskie":"Voivodeship (województwo).","kujawsko-pomorskie":"Voivodeship (województwo).","lubelskie":"Voivodeship (województwo).","lubuskie":"Voivodeship (województwo).","łódzkie":"Voivodeship (województwo).","małopolskie":"Voivodeship (województwo).","mazowieckie":"Voivodeship (województwo).","opolskie":"Voivodeship (województwo).","podkarpackie":"Voivodeship (województwo).","podlaskie":"Voivodeship (województwo).","pomorskie":"Voivodeship (województwo).","śląskie":"Voivodeship (województwo).","świętokrzyskie":"Voivodeship (województwo).","warmińsko-mazurskie":"Voivodeship (województwo).","wielkopolskie":"Voivodeship (województwo).","zachodniopomorskie":"Voivodeship (województwo)."},"schema":"#/components/schemas/EnumVoivodeship"},"RiskFlag":{"description":"Risk flags of a company. Open list: besides the values below, `registry_status:<value>` carries a registry status not mapped to a flag and `foreign_control:<country>` the country of foreign control.","fields":["flags"],"open":true,"values":{"bankruptcy":"Bankruptcy proceedings.","liquidation":"In liquidation.","suspended":"Activity suspended.","enforcement":"Enforcement proceedings.","tax_or_social_arrears":"Tax or social security arrears entered in the register.","asset_seizure":"Asset seizure.","court_curator":"Court-appointed curator.","sanctioned":"On a sanctions list.","pep_linked":"Linked to a politically exposed person (possible match by name).","phoenix_suspect":"Pattern consistent with a phoenix company.","shared_bank_account":"Shares a bank account with other entities (shell-company signal).","public_funds_conflict":"Possible conflict of interest in public funds.","capital_reduced":"Share capital reduction.","board_rotation":"Unusual rotation of board members.","registry_status_unknown":"The registry status could not be determined.","deregistered":"Removed from the register."},"schema":"#/components/schemas/EnumRiskFlag"},"NoDataReason":{"description":"`reason.code` of a 200 answer with `data_available: false` (the subject exists but this data set has nothing for it). Open list: new codes may be added.","fields":["reason.code"],"open":true,"values":{"NO_STATEMENTS_FILED":"This entity has no financial statements on file in the KRS repository (RDF).","NO_STATEMENTS_IN_SCOPE":"This entity has no financial statements of the requested scope (zakres) on file.","NO_NORMALIZED_FINANCIALS":"Financial statements exist for this entity but have not been normalized into comparable metrics yet.","NOT_ON_VAT_WHITELIST":"This NIP is not on the Ministry of Finance VAT whitelist (biała lista).","VAT_NOT_CHECKED":"This NIP has not been checked against the Ministry of Finance VAT whitelist yet, so we cannot say whether it is listed.","NO_STATE_AID":"No Polish state aid (SUDOP) records for this NIP.","NO_EU_FUNDING":"No EU funding projects recorded for this NIP.","NO_PUBLIC_DEBT_SIGNALS":"No public-law debt signals (tax/ZUS arrears, payment relief or failed enforcement) for this company.","NO_UPRP_RIGHTS":"This company holds no industrial property rights at the Polish Patent Office (UPRP).","CRBR_EXEMPT_PUBLIC_COMPANY":"This is a listed (public) company and is exempt by law from the beneficial-owner register (CRBR).","NO_UBO_DECLARED":"No beneficial owners declared in the CRBR for this entity.","CRBR_NOT_CHECKED":"This entity has not been checked in the beneficial-owner register (CRBR) yet, so we cannot say whether it filed beneficial owners.","CRBR_RESTRICTED":"Beneficial-owner data from the Polish CRBR is available only to obliged entities (AML Act as amended: the register is no longer public; arts. 68a-68d).","SCORE_NOT_CALCULATED":"The MONODAT score has not been calculated for this company yet.","SCORE_INSUFFICIENT_DATA":"Not enough data to score this entity: no financial statements in the last 4 years, and no registry finding that would justify a low score.","NO_KRS_REGISTRY_DATA":"No current KRS extract (odpis aktualny) stored for this NIP, so PKD codes are unavailable.","NO_GPW_FINANCIALS":"No financial reports stored for this listed issuer.","NOT_IN_REGISTRY":"This NIP does not appear in the requested sector registry.","NO_NFZ_AGREEMENTS":"No active contracts with the National Health Fund (NFZ) for this provider.","NO_SECTOR_DEBT_DATA":"No public-debt data aggregated for this PKD division in the selected window.","NO_PKD_DIVISION":"No PKD division on record for this company, so it cannot be placed in a sector.","NO_INDICATORS":"No macroeconomic indicators match this filter.","NO_CEIDG_LINKS":"No links found for this sole trader: no KRS company of the same person, no civil partnership, no other CEIDG entry under this NIP.","NO_CEIDG_PERMITS":"No licences, concessions, permits, regulated-activity entries or professional qualifications are recorded for this sole trader in CEIDG.","NO_CEIDG_HISTORY":"No registry changes or events have been recorded for this sole trader since MONODAT started monitoring the entry.","NO_CEIDG_CHANGES":"No sole-trader registry changes were recorded in the requested window."},"schema":"#/components/schemas/EnumNoDataReason"},"ErrorCode":{"description":"`error.code` of any error response of /v1 (4xx/5xx). Open list: new codes may be added; fall back to the HTTP status for an unknown code.","fields":["error.code"],"open":true,"values":{"bad_request":"400 — the request cannot be processed as sent.","unauthorized":"401 — missing or invalid credentials.","insufficient_tokens":"402 — the token balance does not cover the endpoint price; nothing is charged.","forbidden":"403 — the caller is not allowed to do this.","not_found":"404 — unknown route or subject (NIP, KRS, PKD…) not in the database; nothing is charged.","method_not_allowed":"405 — the route exists but not with this HTTP method.","conflict":"409 — the request conflicts with the current state of the resource.","payload_too_large":"413 — the request body is too large.","validation_error":"422 — a path, query or body parameter is missing or invalid; see `details`.","rate_limited":"429 — per-minute limit reached; retry after Retry-After seconds.","internal_error":"500 — unexpected error on our side; nothing is charged.","service_unavailable":"503 — temporarily overloaded or the feature is disabled; retry after Retry-After.","error":"Any other HTTP error status.","api_key_missing":"401 — no X-API-Key header.","api_key_malformed":"401 — the header does not look like an API key (plp_live_…).","api_key_invalid":"401 — unknown API key.","api_key_revoked":"401 — the API key existed and has been revoked in the dashboard.","account_disabled":"403 — the account that owns the key is disabled.","endpoint_not_allowed":"403 — this API key is not allowed to call this endpoint.","ip_blocked":"403 — requests from this IP address are blocked.","burst_limited":"429 — more than the allowed requests in one second; retry after Retry-After.","maintenance_api_paused":"503 — the API is paused during a scheduled maintenance window."},"schema":"#/components/schemas/EnumErrorCode"}},"x-field-notes":{"employee_range":"Employment band reported by GUS (Polish register text), or `null` when the register gives none («Nie określono»). It is never `0` or a placeholder text: `null` means unknown, not zero employees.","pkd":"PKD codes are returned in the register form `62.01.Z`. As input (path or query) the API accepts `62`, `62.01`, `62.01.Z`, `62.01Z`, `6201Z`, `6201`, in any letter case and with or without dots or spaces, and normalises them.","evidence_en":"`status.evidence_en` (GET /v1/companies/{nip}/status): the list `status.evidence` in English, same order and length. `status.evidence` stays in Polish. An entry is null only for a Polish text not yet translated.","vat_status_code":"Stable English key next to `vat_status` (Polish, unchanged), plus `vat_status_label_en`. See #/components/schemas/EnumVatStatusCode.","risk_level_code":"Stable English key next to `risk_level` (Polish, unchanged). See #/components/schemas/EnumScoreLevelCode.","data_as_of":"Day the data reflects (the «stan na» of the source; for KRS the `stan_z_dnia` of the extract, same as `state_as_of`). With `as_of.<source>.status` = `stale` the stored copy is old."},"x-error-format":"Every 4xx/5xx of /v1 returns {\"detail\": ..., \"error\": {\"code\", \"message\", \"status\"[, \"details\"]}}. Codes: #/components/schemas/EnumErrorCode.","x-rate-limit":"300 requests per minute per API key"},"servers":[{"url":"https://monodat.com/pubapi"}],"paths":{"/v1/companies/search":{"get":{"tags":["Companies"],"summary":"Search companies by name, NIP, KRS or REGON with filters (voivodeship, city, legal form, active)","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nSearch companies by name, NIP, KRS or REGON with filters (voivodeship, city, legal form, active). `is_active` — both the filter and the ordering — is the DERIVED registry status (KRS/GUS), not the flat `is_active` column.\n\n_PL:_ Wyszukiwanie firm po nazwie, NIP, KRS lub REGON z filtrami (województwo, miasto, forma prawna, aktywność). `is_active` — zarówno filtr, jak i sortowanie — to WYLICZANY status rejestrowy (KRS/GUS), a nie kolumna `is_active`.","operationId":"search_companies_v1_companies_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":120},{"type":"null"}],"description":"Name, NIP, KRS or REGON. Optional when at least one filter is given.","title":"Q"},"description":"Name, NIP, KRS or REGON. Optional when at least one filter is given."},{"name":"pkd","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"description":"Main PKD activity code or prefix: division (`62`), group (`62.0`), class (`62.01`) or full code (`62.01.Z`); dots optional; up to 5 separated by commas (`62,63`).","title":"Pkd"},"description":"Main PKD activity code or prefix: division (`62`), group (`62.0`), class (`62.01`) or full code (`62.01.Z`); dots optional; up to 5 separated by commas (`62,63`)."},{"name":"registered_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"KRS registration date from (inclusive), YYYY-MM-DD.","title":"Registered From"},"description":"KRS registration date from (inclusive), YYYY-MM-DD."},{"name":"registered_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"KRS registration date to (inclusive), YYYY-MM-DD.","title":"Registered To"},"description":"KRS registration date to (inclusive), YYYY-MM-DD."},{"name":"voivodeship","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"description":"Voivodeship (Polish name, e.g. `małopolskie`; diacritics optional).","title":"Voivodeship"},"description":"Voivodeship (Polish name, e.g. `małopolskie`; diacritics optional)."},{"name":"city","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"description":"City of the registered address (exact, e.g. `Kraków`).","title":"City"},"description":"City of the registered address (exact, e.g. `Kraków`)."},{"name":"legal_form","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}],"description":"Legal form. Abbreviations match exactly (`sp. z o.o.`, `s.a.`, `p.s.a.`, `sp.k.`, `s.k.a.`, `sp.j.`, `sp.p.`, `fundacja`, `stowarzyszenie`, `spółdzielnia`); other text matches as substring.","title":"Legal Form"},"description":"Legal form. Abbreviations match exactly (`sp. z o.o.`, `s.a.`, `p.s.a.`, `sp.k.`, `s.k.a.`, `sp.j.`, `sp.p.`, `fundacja`, `stowarzyszenie`, `spółdzielnia`); other text matches as substring."},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by DERIVED registry status (KRS/GUS), not the flat `is_active` column: true = operating, false = bankruptcy, liquidation, dissolution, ceased activity or suspension.","title":"Is Active"},"description":"Filter by DERIVED registry status (KRS/GUS), not the flat `is_active` column: true = operating, false = bankruptcy, liquidation, dissolution, ceased activity or suspension."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"companies"}},"/v1/companies/by-krs/{krs}":{"get":{"tags":["Companies"],"summary":"Full company profile by KRS number, with the same signals block and the same DERIVED `is_active`.","operationId":"company_by_krs_v1_companies_by_krs__krs__get","parameters":[{"name":"krs","in":"path","required":true,"schema":{"type":"string","title":"Krs"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"companies","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nFull company profile by KRS number, with the same signals block and the same DERIVED `is_active`.\n\n_PL:_ Pełny profil firmy po numerze KRS, z tym samym blokiem signals i tym samym WYLICZANYM `is_active`."}},"/v1/companies/{nip}/pkd":{"get":{"tags":["Companies"],"summary":"Main and secondary PKD activity codes of a company.","operationId":"company_pkd_v1_companies__nip__pkd_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":1,"x-group":"companies","description":"**Cost: 1 token.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nMain and secondary PKD activity codes of a company.\n\n_PL:_ Główny i pozostałe kody PKD działalności firmy.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: KRS — odpis aktualny (eKRS, Ministerstwo Sprawiedliwości).","x-provenance":{"sources":["KRS — odpis aktualny (eKRS, Ministerstwo Sprawiedliwości)"],"verdict":false}}},"/v1/companies/{nip}/status":{"get":{"tags":["Companies"],"summary":"Quick status check: registry status DERIVED from KRS/GUS (bankruptcy, liquidation, suspension, cessation) — not the flat","description":"**Cost: 1 token.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nQuick status check: registry status DERIVED from KRS/GUS (bankruptcy, liquidation, suspension, cessation) — not the flat `is_active` column — plus VAT status and OPEN bankruptcy/liquidation proceedings. `data_available:false` means the status could not be read, which is not the same as clean.\n\n_PL:_ Szybki status: status rejestrowy WYLICZANY z KRS/GUS (upadłość, likwidacja, zawieszenie, zakończenie działalności), status VAT oraz OTWARTE postępowania upadłościowe/likwidacyjne. `data_available:false` oznacza, że statusu nie udało się ustalić — to nie to samo co brak wpisów.\n\n**Additional fields:**\n- `status.evidence_en`: English version of `status.evidence` (same order).\n- `vat_status_code`: English key of `vat_status`: active | exempt | not_registered | other | null.\n- `vat_status_label_en`: English text of `vat_status`.\n- `risk_level_code`: English key of `risk_level`: excellent | good | moderate | risky | critical | no_data | other | null.\n- `identity`: Only when the NIP is linked to more than one KRS or NIP and KRS do not match between sources (then `ok` is false).","operationId":"company_status_v1_companies__nip__status_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":1,"x-group":"companies","x-tryit":true,"x-additive-fields":{"status.evidence_en":"English version of `status.evidence` (same order).","vat_status_code":"English key of `vat_status`: active | exempt | not_registered | other | null.","vat_status_label_en":"English text of `vat_status`.","risk_level_code":"English key of `risk_level`: excellent | good | moderate | risky | critical | no_data | other | null.","identity":"Only when the NIP is linked to more than one KRS or NIP and KRS do not match between sources (then `ok` is false)."}}},"/v1/companies/{nip}":{"get":{"tags":["Companies"],"summary":"Full company profile by NIP with the MONODAT signals block (risk band, flags, UBO snapshot, activity)","operationId":"company_by_nip_v1_companies__nip__get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}},{"name":"include","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated extra blocks, each billed on top of the profile: ownership(4), control(4), network(5), screening(6), legal(4), risk(5), benchmark(4), permits(1), public_debt(5), ip(3).","title":"Include"},"description":"Comma-separated extra blocks, each billed on top of the profile: ownership(4), control(4), network(5), screening(6), legal(4), risk(5), benchmark(4), permits(1), public_debt(5), ip(3)."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"companies","x-tryit":true,"description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nFull company profile by NIP with the MONODAT signals block (risk band, flags, UBO snapshot, activity). `is_active` is DERIVED from KRS/GUS, plus additive `status` and `data_available`. ?include=ownership,screening,legal,risk,network,control,benchmark,permits,public_debt,ip fetches extra blocks in one call (each block billed on top). ?include=road_transport (25 tokens; 10 if not in the register) adds the KREPTD (GITD) road transport block.\n\n_PL:_ Pełny profil firmy po NIP z blokiem signals (klasa ryzyka, flagi, beneficjenci, aktywność). `is_active` jest WYLICZANE z KRS/GUS, plus dodatkowe `status` i `data_available`. Parametr ?include=ownership,screening,legal,risk,network,control,benchmark,permits,public_debt,ip pobiera dodatkowe bloki jednym wywołaniem (każdy blok doliczany osobno). ?include=road_transport (25 tokenów; 10, gdy nie figuruje w rejestrze) dodaje blok KREPTD (GITD) przewoźnika drogowego."}},"/v1/companies/{nip}/verify":{"get":{"tags":["Companies"],"summary":"One-call onboarding gate: active, VAT status, whitelist account (safe_to_pay), bankruptcy, sanctions, PEP and risk band ","operationId":"company_verify_v1_companies__nip__verify_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"companies","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nOne-call onboarding gate: active, VAT status, whitelist account (safe_to_pay), bankruptcy, sanctions, PEP and risk band in one flat object. Plus road_transport: KREPTD (GITD) yes/no (valid permit or Community licence), same price.\n\n_PL:_ Weryfikacja jednym wywołaniem: aktywność, status VAT, rachunek na białej liście (safe_to_pay), upadłość, sankcje, PEP i klasa ryzyka w jednym obiekcie. Plus road_transport: tak/nie z KREPTD (GITD) (ważne zezwolenie lub licencja wspólnotowa), ta sama cena."}},"/v1/companies/{nip}/ownership":{"get":{"tags":["Ownership & control (UBO)"],"summary":"Beneficial owners from CRBR: names, citizenships, type and size of control, control reach","operationId":"company_ownership_v1_companies__nip__ownership_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":4,"x-group":"ownership","description":"**Cost: 4 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nBeneficial owners from CRBR: names, citizenships, type and size of control, control reach. The KYC data no KRS wrapper has.\n\n_PL:_ Beneficjenci rzeczywiści z CRBR: imiona i nazwiska, obywatelstwa, rodzaj i wielkość kontroli, zasięg kontroli. Dane KYC, których nie daje żadna nakładka na KRS."}},"/v1/companies/{nip}/control":{"get":{"tags":["Ownership & control (UBO)"],"summary":"Control graph: persons controlling this company, their other companies, serial control and foreign-control exposure (cou","operationId":"company_control_v1_companies__nip__control_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":4,"x-group":"ownership","description":"**Cost: 4 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nControl graph: persons controlling this company, their other companies, serial control and foreign-control exposure (country, risk jurisdiction).\n\n_PL:_ Graf kontroli: osoby kontrolujące firmę, ich pozostałe spółki, kontrola seryjna i ekspozycja na kontrolę zagraniczną (kraj, jurysdykcja ryzyka)."}},"/v1/companies/{nip}/network":{"get":{"tags":["Ownership & control (UBO)"],"summary":"Forensic network: phoenix patterns, shell-company signals, shared bank accounts and shared addresses with linked compani","operationId":"company_network_v1_companies__nip__network_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":5,"x-group":"ownership","description":"**Cost: 5 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nForensic network: phoenix patterns, shell-company signals, shared bank accounts and shared addresses with linked companies.\n\n_PL:_ Sieć śledcza: wzorce feniksów (phoenix), sygnały spółek wydmuszek, wspólne rachunki bankowe i adresy z powiązanymi firmami."}},"/v1/companies/{nip}/screening":{"get":{"tags":["Risk & compliance"],"summary":"AML screening in one call: PEP + sanctions (international + MSWiA) + KNF warnings + UOKiK decisions + forensic flags, as","operationId":"company_screening_v1_companies__nip__screening_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":6,"x-group":"risk","description":"**Cost: 6 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nAML screening in one call: PEP + sanctions (international + MSWiA) + KNF warnings + UOKiK decisions + forensic flags, as ranked hits[] with source and severity.\n\n_PL:_ Screening AML jednym wywołaniem: PEP + sankcje (międzynarodowe + MSWiA) + ostrzeżenia KNF + decyzje UOKiK + flagi śledcze, jako hits[] ze źródłem i poziomem istotności."}},"/v1/companies/{nip}/legal":{"get":{"tags":["Risk & compliance"],"summary":"Legal standing in one call: KRZ insolvency, registry proceedings, enforcement, arrears, court gazette (MSiG) and land re","operationId":"company_legal_v1_companies__nip__legal_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":4,"x-group":"risk","description":"**Cost: 4 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nLegal standing in one call: KRZ insolvency, registry proceedings, enforcement, arrears, court gazette (MSiG) and land register numbers cited in those notices (linked_properties), with a distress score.\n\n_PL:_ Sytuacja prawna jednym wywołaniem: KRZ, postępowania rejestrowe, egzekucje, zaległości, MSiG oraz numery ksiąg wieczystych wskazane w tych ogłoszeniach (linked_properties), z oceną zagrożenia."}},"/v1/companies/{nip}/risk":{"get":{"tags":["Risk & compliance"],"summary":"MONODAT risk score with component breakdown fused with the A–E compliance rating and active flags","operationId":"company_risk_v1_companies__nip__risk_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":5,"x-group":"risk","description":"**Cost: 5 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nMONODAT risk score with component breakdown fused with the A–E compliance rating and active flags. Plus road_transport: KREPTD (GITD) yes/no, same price (not part of the score).\n\n_PL:_ MONODAT score z rozbiciem na komponenty połączony z ratingiem compliance A–E i aktywnymi flagami. Plus road_transport: tak/nie z KREPTD (GITD), ta sama cena (nie wpływa na score).\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: MONODAT score (silnik oceny MONODAT na danych KRS, KRZ, VAT, GUS i in.).","x-provenance":{"sources":["MONODAT score (silnik oceny MONODAT na danych KRS, KRZ, VAT, GUS i in.)"],"verdict":false}}},"/v1/companies/{nip}/benchmark":{"get":{"tags":["Financials"],"summary":"Financial position vs sector: revenue percentile bucket and margin/ROE vs sector medians (PKD peer group).","operationId":"company_benchmark_v1_companies__nip__benchmark_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":4,"x-group":"financials","description":"**Cost: 4 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nFinancial position vs sector: revenue percentile bucket and margin/ROE vs sector medians (PKD peer group).\n\n_PL:_ Pozycja finansowa na tle sektora: przedział percentylowy przychodów oraz marża/ROE względem median sektora (grupa PKD)."}},"/v1/companies/{nip}/permits":{"get":{"tags":["Companies"],"summary":"Construction permits held by the company (GUNB register): totals and recency, plus licences, concessions and regulated-a","operationId":"company_permits_v1_companies__nip__permits_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":1,"x-group":"companies","description":"**Cost: 1 token.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nConstruction permits held by the company (GUNB register): totals and recency, plus licences, concessions and regulated-activity entries recorded in CEIDG for the company (rdr).\n\n_PL:_ Pozwolenia na budowę posiadane przez firmę (rejestr GUNB): liczby i daty, a także licencje, koncesje i wpisy do rejestrów działalności regulowanej odnotowane w CEIDG dla spółki (rdr)."}},"/v1/companies/{nip}/road-transport":{"get":{"tags":["Sector registries"],"summary":"Road transport operator status of a company in KREPTD (the Polish national register of road transport undertakings, GITD","description":"**Cost: 25 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nRoad transport operator status of a company in KREPTD (the Polish national register of road transport undertakings, GITD): whether it is in the register and holds a valid permit or Community licence today, each permit and licence with its dates and status (validity computed on the day of the call), vehicles, certified copies and recent changes. Never names of transport managers or representatives. Price: 25 tokens with the record; 10 tokens when the company is checked and not in the register; not checked yet → data_available:false (1 token). The register does not cover taxi, 7–9-seat passenger transport, freight forwarding or own-account transport.\n\n_PL:_ Status przewoźnika drogowego spółki w KREPTD (Krajowy Rejestr Elektroniczny Przedsiębiorców Transportu Drogowego, GITD): czy figuruje w rejestrze i czy ma dziś ważne zezwolenie lub licencję wspólnotową, każde zezwolenie i licencja z datami i statusem (ważność liczona na dzień zapytania), pojazdy, wypisy i ostatnie zmiany. Nigdy nazwiska zarządzających transportem ani reprezentantów. Cena: 25 tokenów z kartą; 10 tokenów, gdy spółka jest sprawdzona i nie figuruje w rejestrze; jeszcze nie sprawdzono → data_available:false (1 token). KREPTD nie obejmuje taxi, przewozów pojazdami 7–9-miejscowymi, pośrednictwa przy przewozie rzeczy ani przewozów na potrzeby własne.","operationId":"company_road_transport_v1_companies__nip__road_transport_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":25,"x-group":"registries"}},"/v1/vat/check-account":{"get":{"tags":["VAT whitelist"],"summary":"Verify that a bank account belongs to a NIP on the VAT whitelist (split-payment safety).","operationId":"check_account_v1_vat_check_account_get","parameters":[{"name":"nip","in":"query","required":true,"schema":{"type":"string","description":"Company NIP (10 digits)","title":"Nip"},"description":"Company NIP (10 digits)"},{"name":"account","in":"query","required":true,"schema":{"type":"string","minLength":10,"maxLength":34,"description":"Bank account (NRB/IBAN)","title":"Account"},"description":"Bank account (NRB/IBAN)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"vat","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nVerify that a bank account belongs to a NIP on the VAT whitelist (split-payment safety).\n\n_PL:_ Weryfikacja, czy rachunek bankowy należy do NIP na białej liście VAT (bezpieczeństwo split payment)."}},"/v1/vat/{nip}/accounts":{"get":{"tags":["VAT whitelist"],"summary":"Declared company bank accounts from the VAT whitelist.","operationId":"vat_accounts_v1_vat__nip__accounts_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"vat","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nDeclared company bank accounts from the VAT whitelist.\n\n_PL:_ Zgłoszone rachunki bankowe firmy z białej listy VAT."}},"/v1/vat/{nip}":{"get":{"tags":["VAT whitelist"],"summary":"VAT whitelist status (biała lista) from the most recent Ministry of Finance check, for companies and sole traders: regis","operationId":"vat_status_v1_vat__nip__get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":1,"x-group":"vat","x-tryit":true,"description":"**Cost: 1 token.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nVAT whitelist status (biała lista) from the most recent Ministry of Finance check, for companies and sole traders: registration, removal, restoration dates and legal basis.\n\n_PL:_ Status na białej liście VAT według najnowszego sprawdzenia w MF, dla spółek i JDG: rejestracja, wykreślenie, przywrócenie i podstawy prawne."}},"/v1/krs/{krs}":{"get":{"tags":["KRS registry"],"summary":"KRS registry extract (company level): legal form, capital, shares, addresses, PKD, registration and last entry dates","operationId":"krs_summary_v1_krs__krs__get","parameters":[{"name":"krs","in":"path","required":true,"schema":{"type":"string","title":"Krs"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"krs","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nKRS registry extract (company level): legal form, capital, shares, addresses, PKD, registration and last entry dates. No lists of board members or shareholders, no PESEL numbers.\n\n_PL:_ Wyciąg z KRS (poziom firmy): forma prawna, kapitał, akcje, adresy, PKD, daty rejestracji i ostatniego wpisu. Bez list członków organów i wspólników, bez numerów PESEL.\n\n**Additional fields:**\n- `data_as_of`: Day the extract reflects (`stan_z_dnia`, same as `state_as_of`).\n- `data_retrieved_at`: When MONODAT downloaded this copy of the extract.\n- `company_profile`: `{nip, krs, name}` of the company served by /v1/companies for this KRS, or null.\n- `name_sources`: Only when names differ: `krs_registry`, `company_profile`, `official_name`.\n- `identity`: Only when the NIP of this KRS is ambiguous or inconsistent (same block as /v1/companies/by-krs/{krs}).\n- `data_quality_warnings`: List of codes, see #/components/schemas/EnumDataQualityWarning (empty = nothing to report).\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: KRS — odpis aktualny (eKRS, Ministerstwo Sprawiedliwości).","x-additive-fields":{"data_as_of":"Day the extract reflects (`stan_z_dnia`, same as `state_as_of`).","data_retrieved_at":"When MONODAT downloaded this copy of the extract.","company_profile":"`{nip, krs, name}` of the company served by /v1/companies for this KRS, or null.","name_sources":"Only when names differ: `krs_registry`, `company_profile`, `official_name`.","identity":"Only when the NIP of this KRS is ambiguous or inconsistent (same block as /v1/companies/by-krs/{krs}).","data_quality_warnings":"List of codes, see #/components/schemas/EnumDataQualityWarning (empty = nothing to report)."},"x-provenance":{"sources":["KRS — odpis aktualny (eKRS, Ministerstwo Sprawiedliwości)"],"verdict":false}}},"/v1/krs/{krs}/proceedings":{"get":{"tags":["KRS registry"],"summary":"Registered proceedings: bankruptcy, liquidation, dissolution, suspension — with dates and courts.","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nRegistered proceedings: bankruptcy, liquidation, dissolution, suspension — with dates and courts.\n\n_PL:_ Postępowania w rejestrze: upadłość, likwidacja, rozwiązanie, zawieszenie — z datami i sądami.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`, plus `sources_checked`. Sources: KRS — odpis aktualny (eKRS, Ministerstwo Sprawiedliwości).","operationId":"krs_proceedings_v1_krs__krs__proceedings_get","parameters":[{"name":"krs","in":"path","required":true,"schema":{"type":"string","title":"Krs"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"krs","x-provenance":{"sources":["KRS — odpis aktualny (eKRS, Ministerstwo Sprawiedliwości)"],"verdict":true}}},"/v1/krs/{krs}/debts":{"get":{"tags":["KRS registry"],"summary":"Registered enforcement actions, tax/social arrears and asset seizures (sections 4 and 6 of KRS).","operationId":"krs_debts_v1_krs__krs__debts_get","parameters":[{"name":"krs","in":"path","required":true,"schema":{"type":"string","title":"Krs"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"krs","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nRegistered enforcement actions, tax/social arrears and asset seizures (sections 4 and 6 of KRS).\n\n_PL:_ Egzekucje, zaległości podatkowe/ZUS i zabezpieczenia majątku (dział 4 i 6 KRS).\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`, plus `sources_checked`. Sources: KRS — odpis aktualny (eKRS, Ministerstwo Sprawiedliwości).","x-provenance":{"sources":["KRS — odpis aktualny (eKRS, Ministerstwo Sprawiedliwości)"],"verdict":true}}},"/v1/financials/{krs}/periods":{"get":{"tags":["Financials"],"summary":"Available financial statement periods filed by the company.","operationId":"financial_periods_v1_financials__krs__periods_get","parameters":[{"name":"krs","in":"path","required":true,"schema":{"type":"string","title":"Krs"}},{"name":"zakres","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(jednostkowe|skonsolidowane)$","enum":["jednostkowe","skonsolidowane"]},{"type":"null"}],"description":"Statement scope: `jednostkowe` (standalone, the company itself) or `skonsolidowane` (consolidated, capital group). Default: the standalone statement and, for periods without one, the consolidated statement, labelled in the `zakres` field; the two scopes are never mixed in one period. With this parameter only that scope is used, with no fallback.","title":"Zakres"},"description":"Statement scope: `jednostkowe` (standalone, the company itself) or `skonsolidowane` (consolidated, capital group). Default: the standalone statement and, for periods without one, the consolidated statement, labelled in the `zakres` field; the two scopes are never mixed in one period. With this parameter only that scope is used, with no fallback."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"financials","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nAvailable financial statement periods filed by the company.\n\n_PL:_ Dostępne okresy sprawozdań finansowych złożonych przez firmę."}},"/v1/financials/{krs}/summary":{"get":{"tags":["Financials"],"summary":"Latest financial statement, normalized: revenue, net profit, assets, equity, liabilities and year-on-year growth.","operationId":"financial_summary_v1_financials__krs__summary_get","parameters":[{"name":"krs","in":"path","required":true,"schema":{"type":"string","title":"Krs"}},{"name":"zakres","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(jednostkowe|skonsolidowane)$","enum":["jednostkowe","skonsolidowane"]},{"type":"null"}],"description":"Statement scope: `jednostkowe` (standalone, the company itself) or `skonsolidowane` (consolidated, capital group). Default: the standalone statement and, for periods without one, the consolidated statement, labelled in the `zakres` field; the two scopes are never mixed in one period. With this parameter only that scope is used, with no fallback.","title":"Zakres"},"description":"Statement scope: `jednostkowe` (standalone, the company itself) or `skonsolidowane` (consolidated, capital group). Default: the standalone statement and, for periods without one, the consolidated statement, labelled in the `zakres` field; the two scopes are never mixed in one period. With this parameter only that scope is used, with no fallback."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":5,"x-group":"financials","description":"**Cost: 5 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nLatest financial statement, normalized: revenue, net profit, assets, equity, liabilities and year-on-year growth.\n\n_PL:_ Najnowsze sprawozdanie finansowe w formie znormalizowanej: przychody, wynik netto, aktywa, kapitał własny, zobowiązania i dynamika rok do roku."}},"/v1/financials/{krs}/statements":{"get":{"tags":["Financials"],"summary":"All filed periods with normalized balance-sheet and P&L metrics (multi-year time series).","operationId":"financial_statements_v1_financials__krs__statements_get","parameters":[{"name":"krs","in":"path","required":true,"schema":{"type":"string","title":"Krs"}},{"name":"zakres","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(jednostkowe|skonsolidowane)$","enum":["jednostkowe","skonsolidowane"]},{"type":"null"}],"description":"Statement scope: `jednostkowe` (standalone, the company itself) or `skonsolidowane` (consolidated, capital group). Default: the standalone statement and, for periods without one, the consolidated statement, labelled in the `zakres` field; the two scopes are never mixed in one period. With this parameter only that scope is used, with no fallback.","title":"Zakres"},"description":"Statement scope: `jednostkowe` (standalone, the company itself) or `skonsolidowane` (consolidated, capital group). Default: the standalone statement and, for periods without one, the consolidated statement, labelled in the `zakres` field; the two scopes are never mixed in one period. With this parameter only that scope is used, with no fallback."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":8,"x-group":"financials","description":"**Cost: 8 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nAll filed periods with normalized balance-sheet and P&L metrics (multi-year time series).\n\n_PL:_ Wszystkie okresy ze znormalizowanymi pozycjami bilansu i RZiS (seria wieloletnia)."}},"/v1/financials/{krs}/ratios":{"get":{"tags":["Financials"],"summary":"Computed financial ratios: net margin, ROA, ROE, current ratio, debt ratio — latest period.","operationId":"financial_ratios_v1_financials__krs__ratios_get","parameters":[{"name":"krs","in":"path","required":true,"schema":{"type":"string","title":"Krs"}},{"name":"zakres","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(jednostkowe|skonsolidowane)$","enum":["jednostkowe","skonsolidowane"]},{"type":"null"}],"description":"Statement scope: `jednostkowe` (standalone, the company itself) or `skonsolidowane` (consolidated, capital group). Default: the standalone statement and, for periods without one, the consolidated statement, labelled in the `zakres` field; the two scopes are never mixed in one period. With this parameter only that scope is used, with no fallback.","title":"Zakres"},"description":"Statement scope: `jednostkowe` (standalone, the company itself) or `skonsolidowane` (consolidated, capital group). Default: the standalone statement and, for periods without one, the consolidated statement, labelled in the `zakres` field; the two scopes are never mixed in one period. With this parameter only that scope is used, with no fallback."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":5,"x-group":"financials","description":"**Cost: 5 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nComputed financial ratios: net margin, ROA, ROE, current ratio, debt ratio — latest period.\n\n_PL:_ Wyliczone wskaźniki finansowe: marża netto, ROA, ROE, płynność bieżąca, zadłużenie — ostatni okres.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: Repozytorium Dokumentów Finansowych KRS (sprawozdania finansowe).","x-provenance":{"sources":["Repozytorium Dokumentów Finansowych KRS (sprawozdania finansowe)"],"verdict":false}}},"/v1/financials/{krs}/metrics":{"get":{"tags":["Financials"],"summary":"Extended metric system: ~50 indicators per period across 9 groups (liquidity, solvency, growth, forensic integrity incl","description":"**Cost: 5 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nExtended metric system: ~50 indicators per period across 9 groups (liquidity, solvency, growth, forensic integrity incl. Benford test, ESG/CBAM/CSRD, profitability, efficiency, public procurement, activity signals) with good/warning/critical status.\n\n_PL:_ System wskaźników: ~50 wskaźników na okres w 9 grupach (płynność, wypłacalność, wzrost, rzetelność finansowa z testem Benforda, ESG/CBAM/CSRD, rentowność, efektywność, przetargi publiczne, sygnały aktywności) ze statusem good/warning/critical.","operationId":"financial_metrics_v1_financials__krs__metrics_get","parameters":[{"name":"krs","in":"path","required":true,"schema":{"type":"string","title":"Krs"}},{"name":"zakres","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(jednostkowe|skonsolidowane)$","enum":["jednostkowe","skonsolidowane"]},{"type":"null"}],"description":"Statement scope: `jednostkowe` (standalone, the company itself) or `skonsolidowane` (consolidated, capital group). Default: the standalone statement and, for periods without one, the consolidated statement, labelled in the `zakres` field; the two scopes are never mixed in one period. With this parameter only that scope is used, with no fallback.","title":"Zakres"},"description":"Statement scope: `jednostkowe` (standalone, the company itself) or `skonsolidowane` (consolidated, capital group). Default: the standalone statement and, for periods without one, the consolidated statement, labelled in the `zakres` field; the two scopes are never mixed in one period. With this parameter only that scope is used, with no fallback."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":5,"x-group":"financials"}},"/v1/risk/{nip}/public-debt":{"get":{"tags":["Risk & compliance"],"summary":"Public-debt ladder (stage 0-4 with timeline): SUDOP payment relief (tax/ZUS instalments, deferrals, remissions), KRS sec","operationId":"risk_public_debt_v1_risk__nip__public_debt_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":5,"x-group":"risk","description":"**Cost: 5 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nPublic-debt ladder (stage 0-4 with timeline): SUDOP payment relief (tax/ZUS instalments, deferrals, remissions), KRS section-4 arrears, failed enforcements (KRS + KRZ with unrecovered amounts), KRZ insolvency, plus balance-sheet public-law liabilities in months of charges vs sector percentiles.\n\n_PL:_ Ścieżka zadłużenia publicznego (etap 0-4 z osią czasu): ulgi w spłacie SUDOP (raty, odroczenia, umorzenia US/ZUS), zaległości z dz. 4 KRS, bezskuteczne egzekucje (KRS + KRZ z kwotami), upadłość KRZ, plus zobowiązania publicznoprawne z bilansu w miesiącach obciążeń na tle percentyli sektora."}},"/v1/risk/{nip}/public-debt/sector-context":{"get":{"tags":["Risk & compliance"],"summary":"Company position in its PKD division (public-debt observatory): sector trend over 12 months (events, previous 12 months,","operationId":"risk_public_debt_sector_context_v1_risk__nip__public_debt_sector_context_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"risk","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nCompany position in its PKD division (public-debt observatory): sector trend over 12 months (events, previous 12 months, change), rate per 1,000 active companies, the company's arrears + failed-enforcement amount over 36 months and its percentile among sector companies with signals. 404 (not billed) without a division or data.\n\n_PL:_ Pozycja firmy w jej dziale PKD (obserwatorium długu publicznego): trend sektora z 12 mies. (zdarzenia, poprzednie 12 mies., zmiana), wskaźnik na 1 000 aktywnych firm, kwota zaległości + bezskutecznych egzekucji firmy z 36 mies. i jej percentyl wśród firm sektora z sygnałami. 404 (bez opłaty) bez działu lub danych.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: KRS dział 4 — zaległości publicznoprawne; SUDOP — ulgi w spłacie zobowiązań (UOKiK); KRZ — bezskuteczne egzekucje (Krajowy Rejestr Zadłużonych).","x-provenance":{"sources":["KRS dział 4 — zaległości publicznoprawne","SUDOP — ulgi w spłacie zobowiązań (UOKiK)","KRZ — bezskuteczne egzekucje (Krajowy Rejestr Zadłużonych)"],"verdict":false}}},"/v1/risk/{nip}/score":{"get":{"tags":["Risk & compliance"],"summary":"Monodat risk score (0–100) with level and a breakdown by category (weight, score, points and signals) in categories[].","operationId":"risk_score_v1_risk__nip__score_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":5,"x-group":"risk","description":"**Cost: 5 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nMonodat risk score (0–100) with level and a breakdown by category (weight, score, points and signals) in categories[].\n\n_PL:_ Monodat score ryzyka (0–100) z poziomem i rozbiciem na kategorie (waga, wynik, punkty i sygnały) w categories[].\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: MONODAT score (silnik oceny MONODAT na danych KRS, KRZ, VAT, GUS i in.).","x-provenance":{"sources":["MONODAT score (silnik oceny MONODAT na danych KRS, KRZ, VAT, GUS i in.)"],"verdict":false}}},"/v1/risk/{nip}/bankruptcy":{"get":{"tags":["Risk & compliance"],"summary":"Insolvency check: KRZ (National Debtors Register, since 12-2021) announcements plus the bankruptcy proceedings in sectio","operationId":"risk_bankruptcy_v1_risk__nip__bankruptcy_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"risk","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nInsolvency check: KRZ (National Debtors Register, since 12-2021) announcements plus the bankruptcy proceedings in section 6 of the latest KRS extract (also older ones), each with its source and date; `in_bankruptcy` uses the same rule as /status and /verify; `sources_checked` + `as_of`.\n\n_PL:_ Kontrola niewypłacalności: obwieszczenia z KRZ (Krajowy Rejestr Zadłużonych, od 12-2021) oraz postępowania upadłościowe z działu 6 najnowszego odpisu KRS (także starsze), każde ze źródłem i datą; `in_bankruptcy` według tej samej reguły co /status i /verify; `sources_checked` + `as_of`."}},"/v1/risk/{nip}/sanctions":{"get":{"tags":["Risk & compliance"],"summary":"MSWiA sanctions list matches for the company (entity level).","operationId":"risk_sanctions_v1_risk__nip__sanctions_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"risk","x-tryit":true,"description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nMSWiA sanctions list matches for the company (entity level).\n\n_PL:_ Wpisy firmy na liście sankcyjnej MSWiA (poziom podmiotu).\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`, plus `sources_checked`. Sources: Lista sankcyjna MSWiA (ustawa z 13.04.2022 o przeciwdziałaniu wspieraniu agresji na Ukrainę).","x-provenance":{"sources":["Lista sankcyjna MSWiA (ustawa z 13.04.2022 o przeciwdziałaniu wspieraniu agresji na Ukrainę)"],"verdict":true}}},"/v1/risk/{nip}/knf":{"get":{"tags":["Risk & compliance"],"summary":"Public warnings of the Polish Financial Supervision Authority (KNF) for the company.","operationId":"risk_knf_v1_risk__nip__knf_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"risk","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nPublic warnings of the Polish Financial Supervision Authority (KNF) for the company.\n\n_PL:_ Ostrzeżenia publiczne KNF dotyczące firmy.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`, plus `sources_checked`. Sources: Lista ostrzeżeń publicznych KNF.","x-provenance":{"sources":["Lista ostrzeżeń publicznych KNF"],"verdict":true}}},"/v1/risk/{nip}/overview":{"get":{"tags":["Risk & compliance"],"summary":"Combined risk snapshot: score, DERIVED registry status (KRS/GUS), VAT status, sanctions, KNF, KRZ, enforcement and OPEN ","description":"**Cost: 6 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nCombined risk snapshot: score, DERIVED registry status (KRS/GUS), VAT status, sanctions, KNF, KRZ, enforcement and OPEN liquidation/bankruptcy proceedings in one call. `flags.data_available:false` means the registry status could not be read.\n\n_PL:_ Zbiorczy obraz ryzyka: score, WYLICZANY status rejestrowy (KRS/GUS), status VAT, sankcje, KNF, KRZ, egzekucje i OTWARTE postępowania upadłościowe/likwidacyjne w jednym wywołaniu. `flags.data_available:false` oznacza, że statusu nie udało się odczytać.","operationId":"risk_overview_v1_risk__nip__overview_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":6,"x-group":"risk"}},"/v1/aid/{nip}/public":{"get":{"tags":["Public aid"],"summary":"State aid received (pomoc publiczna): totals and latest grants with amounts and granting bodies.","operationId":"public_aid_v1_aid__nip__public_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"aid","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nState aid received (pomoc publiczna): totals and latest grants with amounts and granting bodies.\n\n_PL:_ Otrzymana pomoc publiczna: sumy oraz ostatnie wpisy z kwotami i organami udzielającymi.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: SUDOP — System Udostępniania Danych o Pomocy Publicznej (UOKiK).","x-provenance":{"sources":["SUDOP — System Udostępniania Danych o Pomocy Publicznej (UOKiK)"],"verdict":false}}},"/v1/aid/{nip}/eu":{"get":{"tags":["Public aid"],"summary":"EU-funded projects: project titles, total value and EU co-financing.","operationId":"eu_aid_v1_aid__nip__eu_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"aid","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nEU-funded projects: project titles, total value and EU co-financing.\n\n_PL:_ Projekty unijne: tytuły, wartość całkowita i dofinansowanie UE.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: Mapa dotacji UE (beneficjenci funduszy europejskich).","x-provenance":{"sources":["Mapa dotacji UE (beneficjenci funduszy europejskich)"],"verdict":false}}},"/v1/market/stats":{"get":{"tags":["Market intelligence"],"summary":"Market statistics: companies by DERIVED registry status (KRS/GUS) — active, suspended, in liquidation, in bankruptcy, ce","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nMarket statistics: companies by DERIVED registry status (KRS/GUS) — active, suspended, in liquidation, in bankruptcy, ceased — with the breakdown by voivodeship and legal form restricted to the ones actually operating, plus the latest daily stats. Cached 24 h.\n\n_PL:_ Statystyki rynku: firmy wg WYLICZANEGO statusu rejestrowego (KRS/GUS) — aktywne, zawieszone, w likwidacji, w upadłości, zakończone — z podziałem wg województw i form prawnych ograniczonym do faktycznie działających, oraz ostatnie statystyki dzienne. Cache 24 h.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: KRS + GUS REGON — agregat MONODAT (stan rejestrowy wyliczony z KRS/GUS).","operationId":"market_stats_v1_market_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"market","x-provenance":{"sources":["KRS + GUS REGON — agregat MONODAT (stan rejestrowy wyliczony z KRS/GUS)"],"verdict":false}}},"/v1/market/economic-indicators":{"get":{"tags":["Market intelligence"],"summary":"Macro indicators for Poland: GDP, inflation, unemployment (yearly series).","operationId":"economic_indicators_v1_market_economic_indicators_get","parameters":[{"name":"indicator","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"description":"Filter by indicator name","title":"Indicator"},"description":"Filter by indicator name"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":1,"x-group":"market","description":"**Cost: 1 token.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nMacro indicators for Poland: GDP, inflation, unemployment (yearly series).\n\n_PL:_ Wskaźniki makro dla Polski: PKB, inflacja, bezrobocie (serie roczne)."}},"/v1/market/sectors/{pkd}":{"get":{"tags":["Market intelligence"],"summary":"Sector snapshot for a PKD code: company counts and recent weekly sector stats.","operationId":"sector_stats_v1_market_sectors__pkd__get","parameters":[{"name":"pkd","in":"path","required":true,"schema":{"type":"string","description":"PKD activity code or prefix: division (`62`), group (`62.0`), class (`62.01`) or full code (`62.01.Z`, as returned in `pkd_main.code`). Dots, spaces and letter case are optional: `6201Z`, `62.01Z` and `62.01.z` are the same code.","title":"Pkd"},"description":"PKD activity code or prefix: division (`62`), group (`62.0`), class (`62.01`) or full code (`62.01.Z`, as returned in `pkd_main.code`). Dots, spaces and letter case are optional: `6201Z`, `62.01Z` and `62.01.z` are the same code."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"market","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nSector snapshot for a PKD code: company counts and recent weekly sector stats.\n\n_PL:_ Obraz sektora dla kodu PKD: liczba firm i ostatnie tygodniowe statystyki sektora.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: KRS (odpisy aktualne) — agregat sektorowy MONODAT.","x-provenance":{"sources":["KRS (odpisy aktualne) — agregat sektorowy MONODAT"],"verdict":false}}},"/v1/market/public-debt/overview":{"get":{"tags":["Market intelligence"],"summary":"Public-debt observatory, national picture: KRS section-4 arrears, SUDOP payment relief and KRZ failed enforcements over ","operationId":"public_debt_overview_v1_market_public_debt_overview_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Window aligned to calendar months: 12m, 24m, 36m (default) or 60m, current month included","default":"36m","title":"Window"},"description":"Window aligned to calendar months: 12m, 24m, 36m (default) or 60m, current month included"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"market","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nPublic-debt observatory, national picture: KRS section-4 arrears, SUDOP payment relief and KRZ failed enforcements over a 12-60 month window — KPIs with change vs the previous window and rate per 1,000 active companies, by source, by authority class (US/ZUS/JST/PFRON/bailiff), monthly series, data freshness.\n\n_PL:_ Obserwatorium długu publicznego, obraz krajowy: zaległości z dz. 4 KRS, ulgi w spłacie SUDOP i bezskuteczne egzekucje KRZ w oknie 12-60 mies. — KPI ze zmianą wobec poprzedniego okna i wskaźnikiem na 1 000 aktywnych firm, wg źródła, wg klasy organu (US/ZUS/JST/PFRON/komornik), seria miesięczna, świeżość danych."}},"/v1/market/public-debt/sectors":{"get":{"tags":["Market intelligence"],"summary":"Every PKD division ranked by public-debt events: n, distinct companies, amount, active-company denominator, rate per 1,0","operationId":"public_debt_sectors_v1_market_public_debt_sectors_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Window aligned to calendar months: 12m, 24m, 36m (default) or 60m, current month included","default":"36m","title":"Window"},"description":"Window aligned to calendar months: 12m, 24m, 36m (default) or 60m, current month included"},{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Voivodeship filter, e.g. mazowieckie","title":"Region"},"description":"Voivodeship filter, e.g. mazowieckie"},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"arrears | relief | enforcement (default: all)","title":"Source"},"description":"arrears | relief | enforcement (default: all)"},{"name":"normalize","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Sort order: abs (by n) or per_1000 (by rate per 1,000 companies)","default":"abs","title":"Normalize"},"description":"Sort order: abs (by n) or per_1000 (by rate per 1,000 companies)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":12,"x-group":"market","description":"**Cost: 12 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nEvery PKD division ranked by public-debt events: n, distinct companies, amount, active-company denominator, rate per 1,000, previous window, YoY change (null below a base of 50 events) and share; filters by voivodeship and source, sortable by rate per 1,000.\n\n_PL:_ Wszystkie działy PKD wg zdarzeń długu publicznego: n, firmy, kwota, mianownik aktywnych firm, wskaźnik na 1 000, poprzednie okno, zmiana r/r (null przy bazie poniżej 50 zdarzeń) i udział; filtry województwa i źródła, sortowanie wg wskaźnika na 1 000."}},"/v1/market/public-debt/sectors/{pkd}":{"get":{"tags":["Market intelligence"],"summary":"One PKD division in depth: KPIs, monthly series (up to 60 months), authority classes, the 16 voivodeships, the relief-to","operationId":"public_debt_sector_detail_v1_market_public_debt_sectors__pkd__get","parameters":[{"name":"pkd","in":"path","required":true,"schema":{"type":"string","description":"2-digit PKD division, e.g. 55. A full PKD code (`55.10.Z`, `5510Z`, `55.10`) is also accepted and reduced to its division: these aggregates exist per division only","title":"Pkd"},"description":"2-digit PKD division, e.g. 55. A full PKD code (`55.10.Z`, `5510Z`, `55.10`) is also accepted and reduced to its division: these aggregates exist per division only"},{"name":"window","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Window aligned to calendar months: 12m, 24m, 36m (default) or 60m, current month included","default":"36m","title":"Window"},"description":"Window aligned to calendar months: 12m, 24m, 36m (default) or 60m, current month included"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":6,"x-group":"market","description":"**Cost: 6 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nOne PKD division in depth: KPIs, monthly series (up to 60 months), authority classes, the 16 voivodeships, the relief-to-arrears/enforcement cohort and the balance-sheet public-law benchmark (median/p75/p90 months of charges). 404 (not billed) when the division has no data.\n\n_PL:_ Jeden dział PKD w głąb: KPI, seria miesięczna (do 60 mies.), klasy organów, 16 województw, kohorta ulga → zaległość/egzekucja i benchmark zobowiązań publicznoprawnych z bilansu (mediana/p75/p90 miesięcy obciążeń). 404 (bez opłaty), gdy dział nie ma danych.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: KRS dział 4 — zaległości publicznoprawne; SUDOP — ulgi w spłacie zobowiązań (UOKiK); KRZ — bezskuteczne egzekucje (Krajowy Rejestr Zadłużonych).","x-provenance":{"sources":["KRS dział 4 — zaległości publicznoprawne","SUDOP — ulgi w spłacie zobowiązań (UOKiK)","KRZ — bezskuteczne egzekucje (Krajowy Rejestr Zadłużonych)"],"verdict":false}}},"/v1/market/public-debt/regions":{"get":{"tags":["Market intelligence"],"summary":"The 16 voivodeships with the same metrics as /sectors: n, companies, amount, denominator, rate per 1,000, previous windo","operationId":"public_debt_regions_v1_market_public_debt_regions_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Window aligned to calendar months: 12m, 24m, 36m (default) or 60m, current month included","default":"36m","title":"Window"},"description":"Window aligned to calendar months: 12m, 24m, 36m (default) or 60m, current month included"},{"name":"pkd","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"2-digit PKD division, e.g. 55. A full PKD code (`55.10.Z`, `5510Z`, `55.10`) is also accepted and reduced to its division: these aggregates exist per division only","title":"Pkd"},"description":"2-digit PKD division, e.g. 55. A full PKD code (`55.10.Z`, `5510Z`, `55.10`) is also accepted and reduced to its division: these aggregates exist per division only"},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"arrears | relief | enforcement (default: all)","title":"Source"},"description":"arrears | relief | enforcement (default: all)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":6,"x-group":"market","description":"**Cost: 6 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nThe 16 voivodeships with the same metrics as /sectors: n, companies, amount, denominator, rate per 1,000, previous window, YoY change and share; filters by PKD division and source.\n\n_PL:_ 16 województw z tymi samymi miarami co /sectors: n, firmy, kwota, mianownik, wskaźnik na 1 000, poprzednie okno, zmiana r/r i udział; filtry działu PKD i źródła."}},"/v1/market/public-debt/matrix":{"get":{"tags":["Market intelligence"],"summary":"Voivodeship × PKD division matrix: one cell per pair with n, companies, amount and rate per 1,000, for the top 40 divisi","operationId":"public_debt_matrix_v1_market_public_debt_matrix_get","parameters":[{"name":"window","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Window aligned to calendar months: 12m, 24m, 36m (default) or 60m, current month included","default":"36m","title":"Window"},"description":"Window aligned to calendar months: 12m, 24m, 36m (default) or 60m, current month included"},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"arrears | relief | enforcement (default: all)","title":"Source"},"description":"arrears | relief | enforcement (default: all)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":20,"x-group":"market","description":"**Cost: 20 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nVoivodeship × PKD division matrix: one cell per pair with n, companies, amount and rate per 1,000, for the top 40 divisions by events; optional source filter. Built for heatmaps and regional risk models.\n\n_PL:_ Macierz województwo × dział PKD: jedna komórka na parę z n, firmami, kwotą i wskaźnikiem na 1 000, dla 40 największych działów wg zdarzeń; opcjonalny filtr źródła. Do map ciepła i regionalnych modeli ryzyka."}},"/v1/market/public-debt/companies":{"get":{"tags":["Market intelligence"],"summary":"Company-level drill-down of registered arrears (KRS section 4) and failed enforcements (KRZ): name, NIP, KRS, division, ","operationId":"public_debt_companies_v1_market_public_debt_companies_get","parameters":[{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"arrears | enforcement | both (default). relief is rejected","default":"both","title":"Source"},"description":"arrears | enforcement | both (default). relief is rejected"},{"name":"pkd","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"2-digit PKD division, e.g. 55. A full PKD code (`55.10.Z`, `5510Z`, `55.10`) is also accepted and reduced to its division: these aggregates exist per division only","title":"Pkd"},"description":"2-digit PKD division, e.g. 55. A full PKD code (`55.10.Z`, `5510Z`, `55.10`) is also accepted and reduced to its division: these aggregates exist per division only"},{"name":"region","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Voivodeship filter, e.g. mazowieckie","title":"Region"},"description":"Voivodeship filter, e.g. mazowieckie"},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Event date from (YYYY-MM-DD); default: 12 months before until","title":"Since"},"description":"Event date from (YYYY-MM-DD); default: 12 months before until"},{"name":"until","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Event date to (YYYY-MM-DD); default: today","title":"Until"},"description":"Event date to (YYYY-MM-DD); default: today"},{"name":"order","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"date (newest first) or amount (largest first)","default":"date","title":"Order"},"description":"date (newest first) or amount (largest first)"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number; pages hold 100 rows","default":1,"title":"Page"},"description":"Page number; pages hold 100 rows"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":15,"x-group":"market","description":"**Cost: 15 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nCompany-level drill-down of registered arrears (KRS section 4) and failed enforcements (KRZ): name, NIP, KRS, division, voivodeship, authority, event date and amount; filters by division, region and date range (default: last 12 months); fixed pages of 100. Payment relief (SUDOP) is never listed per company.\n\n_PL:_ Drill-down firm z zaległościami (dz. 4 KRS) i bezskutecznymi egzekucjami (KRZ): nazwa, NIP, KRS, dział, województwo, organ, data zdarzenia i kwota; filtry działu, regionu i zakresu dat (domyślnie ostatnie 12 mies.); stałe strony po 100. Ulgi w spłacie (SUDOP) nigdy nie są listowane per firma."}},"/v1/market/public-debt/changes":{"get":{"tags":["Market intelligence"],"summary":"Daily delta for integrators: every fact added to the observatory since a sync date (id, source, NIP/KRS, division, voivo","operationId":"public_debt_changes_v1_market_public_debt_changes_get","parameters":[{"name":"since","in":"query","required":true,"schema":{"type":"string","description":"Sync date from (YYYY-MM-DD), required","title":"Since"},"description":"Sync date from (YYYY-MM-DD), required"},{"name":"source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"arrears | relief | enforcement (default: all)","title":"Source"},"description":"arrears | relief | enforcement (default: all)"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number; pages hold 200 rows","default":1,"title":"Page"},"description":"Page number; pages hold 200 rows"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":8,"x-group":"market","description":"**Cost: 8 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nDaily delta for integrators: every fact added to the observatory since a sync date (id, source, NIP/KRS, division, voivodeship, authority class, event date, amount, synced_at), fixed pages of 200. Relief rows carry no identifiers — aggregate them, never attribute them.\n\n_PL:_ Dzienna delta dla integratorów: każdy fakt dodany do obserwatorium od daty synchronizacji (id, źródło, NIP/KRS, dział, województwo, klasa organu, data zdarzenia, kwota, synced_at), stałe strony po 200. Wiersze ulg bez identyfikatorów — do agregacji, nigdy do przypisania firmie."}},"/v1/market/public-debt/snapshot":{"get":{"tags":["Market intelligence"],"summary":"The whole observatory in one JSON, computed once a day: 36-month overview, all PKD divisions, all voivodeships, the voiv","operationId":"public_debt_snapshot_v1_market_public_debt_snapshot_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":60,"x-group":"market","description":"**Cost: 60 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nThe whole observatory in one JSON, computed once a day: 36-month overview, all PKD divisions, all voivodeships, the voivodeship × division matrix and the relief-to-enforcement cohorts by division. Made for data warehouses and BI tools.\n\n_PL:_ Całe obserwatorium w jednym JSON, liczone raz dziennie: przegląd 36 mies., wszystkie działy PKD, wszystkie województwa, macierz województwo × dział i kohorty ulga → egzekucja wg działu. Dla hurtowni danych i narzędzi BI."}},"/v1/gpw/companies":{"get":{"tags":["Stock exchange (GPW)"],"summary":"Search listed companies (GPW / NewConnect): ticker, ISIN, sector, market cap.","operationId":"gpw_companies_v1_gpw_companies_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":80},{"type":"null"}],"description":"Name or ticker","title":"Q"},"description":"Name or ticker"},{"name":"market","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"GPW | NC","title":"Market"},"description":"GPW | NC"},{"name":"sector","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Sector"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","maximum":2000,"minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"gpw","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nSearch listed companies (GPW / NewConnect): ticker, ISIN, sector, market cap.\n\n_PL:_ Wyszukiwanie spółek giełdowych (GPW / NewConnect): ticker, ISIN, sektor, kapitalizacja.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: GPW / NewConnect — lista spółek (gpw.pl).","x-provenance":{"sources":["GPW / NewConnect — lista spółek (gpw.pl)"],"verdict":false}}},"/v1/gpw/{isin}/financials":{"get":{"tags":["Stock exchange (GPW)"],"summary":"Financial statements of a listed company: revenue, profit, EBITDA, cash flow, ROE/ROA by period.","operationId":"gpw_financials_v1_gpw__isin__financials_get","parameters":[{"name":"isin","in":"path","required":true,"schema":{"type":"string","title":"Isin"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":5,"x-group":"gpw","description":"**Cost: 5 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nFinancial statements of a listed company: revenue, profit, EBITDA, cash flow, ROE/ROA by period.\n\n_PL:_ Sprawozdania finansowe spółki giełdowej: przychody, zysk, EBITDA, przepływy, ROE/ROA wg okresów.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: GPW — dane finansowe spółek notowanych (gpw.pl).","x-provenance":{"sources":["GPW — dane finansowe spółek notowanych (gpw.pl)"],"verdict":false}}},"/v1/gpw/{isin}":{"get":{"tags":["Stock exchange (GPW)"],"summary":"Listed company detail with latest market indicators (P/E, P/BV, dividend yield, index membership).","operationId":"gpw_detail_v1_gpw__isin__get","parameters":[{"name":"isin","in":"path","required":true,"schema":{"type":"string","title":"Isin"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"gpw","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nListed company detail with latest market indicators (P/E, P/BV, dividend yield, index membership).\n\n_PL:_ Szczegóły spółki giełdowej z najnowszymi wskaźnikami (C/Z, C/WK, stopa dywidendy, indeksy).\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: GPW / NewConnect — lista spółek (gpw.pl).","x-provenance":{"sources":["GPW / NewConnect — lista spółek (gpw.pl)"],"verdict":false}}},"/v1/registries":{"get":{"tags":["Sector registries"],"summary":"Catalog of available sector registries (free).","operationId":"list_registries_v1_registries_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"registries","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nCatalog of available sector registries (free).\n\n_PL:_ Katalog dostępnych rejestrów branżowych (bezpłatnie)."}},"/v1/registries/nfz/by-krs/{krs}":{"get":{"tags":["Sector registries"],"summary":"The same NFZ contracts block by KRS: agreements linked to the company (by NIP/REGON) or carrying its NIP.","operationId":"nfz_by_krs_v1_registries_nfz_by_krs__krs__get","parameters":[{"name":"krs","in":"path","required":true,"schema":{"type":"string","title":"Krs"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Size"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2100,"minimum":2008},{"type":"null"}],"description":"Only agreements of this contract year","title":"Year"},"description":"Only agreements of this contract year"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"registries","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nThe same NFZ contracts block by KRS: agreements linked to the company (by NIP/REGON) or carrying its NIP.\n\n_PL:_ Ten sam blok umów z NFZ po KRS: umowy powiązane ze spółką (po NIP/REGON) lub zawierające jej NIP."}},"/v1/registries/nfz/{nip}":{"get":{"tags":["Sector registries"],"summary":"Contracts with the National Health Fund (NFZ) of a healthcare provider by NIP: totals by year and regional branch, contr","operationId":"nfz_by_nip_v1_registries_nfz__nip__get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Size"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2100,"minimum":2008},{"type":"null"}],"description":"Only agreements of this contract year","title":"Year"},"description":"Only agreements of this contract year"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"registries","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nContracts with the National Health Fund (NFZ) of a healthcare provider by NIP: totals by year and regional branch, contract amounts and a paginated list of active agreements (service type, branch, amount). No active contract → data_available:false (1 token).\n\n_PL:_ Umowy z Narodowym Funduszem Zdrowia (NFZ) świadczeniodawcy po NIP: sumy wg roku i oddziału wojewódzkiego, kwoty umów i stronicowana lista aktywnych umów (rodzaj świadczeń, oddział, kwota). Brak aktywnej umowy → data_available:false (1 token)."}},"/v1/registries/{registry}/search":{"get":{"tags":["Sector registries"],"summary":"Search a sector registry by name: crypto (RDWW), pharma-wholesale (RHF), pharmacy (RA), telecom (RPT/UKE), medical (RPWD","operationId":"registry_search_v1_registries__registry__search_get","parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string","title":"Registry"}},{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":120,"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"registries","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nSearch a sector registry by name: crypto (RDWW), pharma-wholesale (RHF), pharmacy (RA), telecom (RPT/UKE), medical (RPWDL), alcohol (KOWR), knf, credit-intermediaries, psd2 (EBA), mifid (ESMA).\n\n_PL:_ Wyszukiwanie w rejestrze branżowym po nazwie: crypto (RDWW), pharma-wholesale (RHF), pharmacy (RA), telecom (RPT/UKE), medical (RPWDL), alcohol (KOWR), knf, credit-intermediaries, psd2 (EBA), mifid (ESMA)."}},"/v1/registries/{registry}/{nip}":{"get":{"tags":["Sector registries"],"summary":"Is this company authorized in a regulated sector? Registry entry with license numbers, dates and status.","operationId":"registry_entry_v1_registries__registry___nip__get","parameters":[{"name":"registry","in":"path","required":true,"schema":{"type":"string","title":"Registry"}},{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"registries","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nIs this company authorized in a regulated sector? Registry entry with license numbers, dates and status.\n\n_PL:_ Czy firma ma uprawnienia w sektorze regulowanym? Wpis w rejestrze z numerami zezwoleń, datami i statusem."}},"/v1/ip/search":{"get":{"tags":["Intellectual property (UPRP)"],"summary":"Search UPRP rights by mark text, holder name, NIP or number (Z./P./W./Wp.); filters by type, active status and holder vo","operationId":"ip_search_v1_ip_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":120,"description":"Mark text, holder name, 10-digit NIP or number (Z.381951, P.439763, W.132496, Wp.30645)","title":"Q"},"description":"Mark text, holder name, 10-digit NIP or number (Z.381951, P.439763, W.132496, Wp.30645)"},{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"1 trademark, 2 invention, 5 utility model, 6 industrial design","title":"Type"},"description":"1 trademark, 2 invention, 5 utility model, 6 industrial design"},{"name":"only_active","in":"query","required":false,"schema":{"type":"boolean","description":"Only rights in force or pending","default":true,"title":"Only Active"},"description":"Only rights in force or pending"},{"name":"voivodeship","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Voivodeship of the matched holder (e.g. mazowieckie)","title":"Voivodeship"},"description":"Voivodeship of the matched holder (e.g. mazowieckie)"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"ip","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nSearch UPRP rights by mark text, holder name, NIP or number (Z./P./W./Wp.); filters by type, active status and holder voivodeship; paginated.\n\n_PL:_ Wyszukiwanie praw UPRP po tekście znaku, nazwie uprawnionego, NIP lub numerze (Z./P./W./Wp.); filtry rodzaju, aktywności i województwa uprawnionego; stronicowanie.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: UPRP — Urząd Patentowy RP (PUEUP e-Wyszukiwarka).","x-provenance":{"sources":["UPRP — Urząd Patentowy RP (PUEUP e-Wyszukiwarka)"],"verdict":false}}},"/v1/ip/stats":{"get":{"tags":["Intellectual property (UPRP)"],"summary":"National UPRP statistics: rights by type (active vs total), active trademarks by voivodeship, monthly filings over 24 mo","operationId":"ip_stats_v1_ip_stats_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"ip","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nNational UPRP statistics: rights by type (active vs total), active trademarks by voivodeship, monthly filings over 24 months, marks expiring within 12 months.\n\n_PL:_ Statystyki krajowe UPRP: prawa wg rodzaju (aktywne vs wszystkie), aktywne znaki wg województw, zgłoszenia miesięczne z 24 mies., znaki wygasające w 12 mies."}},"/v1/ip/pwp/{number}":{"get":{"tags":["Intellectual property (UPRP)"],"summary":"One UPRP right by application number: status, dates, classes, goods/services, holders with match confidence, priority, p","operationId":"ip_pwp_v1_ip_pwp__number__get","parameters":[{"name":"number","in":"path","required":true,"schema":{"type":"string","title":"Number"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":1,"x-group":"ip","description":"**Cost: 1 token.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nOne UPRP right by application number: status, dates, classes, goods/services, holders with match confidence, priority, publications, mark image.\n\n_PL:_ Jedno prawo UPRP po numerze zgłoszenia: status, daty, klasy, wykaz towarów i usług, uprawnieni z pewnością dopasowania, pierwszeństwo, publikacje, grafika znaku."}},"/v1/ip/{nip}":{"get":{"tags":["Intellectual property (UPRP)"],"summary":"Company IP portfolio from the Polish Patent Office: trademarks (with mark images), inventions, utility and industrial de","operationId":"ip_company_v1_ip__nip__get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"ip","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nCompany IP portfolio from the Polish Patent Office: trademarks (with mark images), inventions, utility and industrial designs — aggregates, expiries, distraints, co-holders and capped lists. Also ?include=ip on the profile.\n\n_PL:_ Portfel własności przemysłowej firmy z UPRP: znaki towarowe (z grafikami), wynalazki, wzory użytkowe i przemysłowe — agregaty, wygaśnięcia, zajęcia, współuprawnieni i listy. Także ?include=ip w profilu."}},"/v1/ceidg/verify/{nip}":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"Sole-trader onboarding gate: entry exists, status and lifecycle dates, days suspended and estimated social-security phas","operationId":"ceidg_verify_v1_ceidg_verify__nip__get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":1,"x-group":"ceidg","x-tryit":true,"description":"**Cost: 1 token.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nSole-trader onboarding gate: entry exists, status and lifecycle dates, days suspended and estimated social-security phase, VAT register status of the trader (active / exempt / not registered, with the removal date), count of high-severity signals, link to a KRS company and safe_to_contract. Plus road_transport: KREPTD (GITD) yes/no, same price.\n\n_PL:_ Bramka onboardingowa dla JDG: istnienie wpisu, status i daty, dni zawieszenia i szacowana faza ZUS, status w rejestrze VAT przedsiębiorcy (czynny / zwolniony / niezarejestrowany, z datą wykreślenia), liczba sygnałów o wysokiej istotności, powiązanie ze spółką KRS i safe_to_contract. Plus road_transport: tak/nie z KREPTD (GITD), ta sama cena."}},"/v1/ceidg/search":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"Search sole traders by business name, surname + first name, NIP or REGON with town, voivodeship, PKD prefix (matched acr","operationId":"ceidg_search_v1_ceidg_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":120},{"type":"null"}],"description":"Name, surname (e.g. 'Kowalski Jan'), 10-digit NIP or REGON","title":"Q"},"description":"Name, surname (e.g. 'Kowalski Jan'), 10-digit NIP or REGON"},{"name":"nazwa","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":2,"maxLength":120},{"type":"null"}],"description":"Business name (partial)","title":"Nazwa"},"description":"Business name (partial)"},{"name":"miasto","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Town (exact, case-insensitive)","title":"Miasto"},"description":"Town (exact, case-insensitive)"},{"name":"wojewodztwo","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Voivodeship, e.g. mazowieckie","title":"Wojewodztwo"},"description":"Voivodeship, e.g. mazowieckie"},{"name":"pkd","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Main PKD (2007 or 2025), prefix allowed: 49, 49.41, 49.41.Z","title":"Pkd"},"description":"Main PKD (2007 or 2025), prefix allowed: 49, 49.41, 49.41.Z"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated: AKTYWNY, ZAWIESZONY, WYLACZNIE_W_FORMIE_SPOLKI, WYKRESLONY (default: active entries)","title":"Status"},"description":"Comma-separated: AKTYWNY, ZAWIESZONY, WYLACZNIE_W_FORMIE_SPOLKI, WYKRESLONY (default: active entries)"},{"name":"data_od","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Start date from","title":"Data Od"},"description":"Start date from"},{"name":"data_do","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Start date to","title":"Data Do"},"description":"Start date to"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":25,"title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"ceidg","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nSearch sole traders by business name, surname + first name, NIP or REGON with town, voivodeship, PKD prefix (matched across BOTH the 2007 and 2025 classifications — the response echoes the codes actually matched), status and start-date filters (2 tokens per page; searching by PESEL is refused).\n\n_PL:_ Wyszukiwarka JDG po nazwie, nazwisku i imieniu, NIP lub REGON z filtrami miejscowości, województwa, prefiksu PKD (dopasowanie w OBU klasyfikacjach — 2007 i 2025; odpowiedź zwraca listę faktycznie dopasowanych kodów), statusu i daty rozpoczęcia (2 tokeny za stronę; wyszukiwanie po PESEL jest odrzucane).\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: CEIDG — Hurtownia Danych (raport dzienny).","x-provenance":{"sources":["CEIDG — Hurtownia Danych (raport dzienny)"],"verdict":false}}},"/v1/ceidg/changes":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"Feed of sole-trader registry changes since a date (max 90 days back), optionally one field only — 1 token per page of up","operationId":"ceidg_changes_v1_ceidg_changes_get","parameters":[{"name":"since","in":"query","required":true,"schema":{"type":"string","format":"date","description":"Changes recorded from this date (max 90 days back)","title":"Since"},"description":"Changes recorded from this date (max 90 days back)"},{"name":"field","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Only one field: status, name, pkd_main, city, voivodeship, suspension_date, deregistration_date…","title":"Field"},"description":"Only one field: status, name, pkd_main, city, voivodeship, suspension_date, deregistration_date…"},{"name":"page","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":1,"title":"Page"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":200,"title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":1,"x-group":"ceidg","description":"**Cost: 1 token.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nFeed of sole-trader registry changes since a date (max 90 days back), optionally one field only — 1 token per page of up to 500 changes, for bulk synchronisation.\n\n_PL:_ Strumień zmian rejestrowych JDG od daty (maks. 90 dni wstecz), opcjonalnie tylko jedno pole — 1 token za stronę do 500 zmian, do synchronizacji masowej.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: CEIDG — Hurtownia Danych (raport dzienny).","x-provenance":{"sources":["CEIDG — Hurtownia Danych (raport dzienny)"],"verdict":false}}},"/v1/ceidg/sc/{nip_sc}":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"Civil partnership (spółka cywilna) by its NIP: name, REGON, VAT status and the list of member sole traders with their st","operationId":"ceidg_sc_v1_ceidg_sc__nip_sc__get","parameters":[{"name":"nip_sc","in":"path","required":true,"schema":{"type":"string","title":"Nip Sc"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"ceidg","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nCivil partnership (spółka cywilna) by its NIP: name, REGON, VAT status and the list of member sole traders with their status.\n\n_PL:_ Spółka cywilna po jej NIP: nazwa, REGON, status VAT i lista wspólników (JDG) z ich statusem.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: CEIDG — Hurtownia Danych (raport dzienny).","x-provenance":{"sources":["CEIDG — Hurtownia Danych (raport dzienny)"],"verdict":false}}},"/v1/ceidg/{nip}":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"Sole-trader registry profile: name, NIP/REGON, status and derived clocks (days suspended, months in business, estimated ","operationId":"ceidg_profile_v1_ceidg__nip__get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"ceidg","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nSole-trader registry profile: name, NIP/REGON, status and derived clocks (days suspended, months in business, estimated social-security phase), PKD 2007/2025 with names, section and division, town-level address or no-fixed-place flag, years in business, entrepreneur age in years, civil partnerships, succession management, VAT, signal counts. Never contact data, street, birth date or PESEL.\n\n_PL:_ Profil rejestrowy JDG: nazwa, NIP/REGON, status i liczniki pochodne (dni zawieszenia, miesiące działalności, szacowana faza ZUS), PKD 2007/2025 z nazwami, sekcją i działem, adres na poziomie miejscowości lub flaga braku stałego miejsca, lata działalności, wiek przedsiębiorcy w latach, spółki cywilne, zarząd sukcesyjny, VAT, liczba sygnałów. Nigdy dane kontaktowe, ulica, data urodzenia ani PESEL."}},"/v1/ceidg/{nip}/status":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"Status and lifecycle dates (start, suspension, resumption, end, deregistration, missing-from-report) plus derived clocks","operationId":"ceidg_status_v1_ceidg__nip__status_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":1,"x-group":"ceidg","description":"**Cost: 1 token.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nStatus and lifecycle dates (start, suspension, resumption, end, deregistration, missing-from-report) plus derived clocks: days suspended, long-suspension flag, months in business and the estimated social-security phase — the cheapest call for bulk synchronisation.\n\n_PL:_ Status i daty (rozpoczęcie, zawieszenie, wznowienie, zakończenie, wykreślenie, brak w raporcie) oraz liczniki pochodne: dni zawieszenia, flaga długiego zawieszenia, miesiące działalności i szacowana faza ZUS — najtańsze wywołanie do synchronizacji masowej.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: CEIDG — Hurtownia Danych (raport dzienny).","x-provenance":{"sources":["CEIDG — Hurtownia Danych (raport dzienny)"],"verdict":false}}},"/v1/ceidg/{nip}/signals":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"Risk signals of a sole trader across MONODAT sources, plus the trader's current VAT register status: VAT removals, KRZ (","operationId":"ceidg_signals_v1_ceidg__nip__signals_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":4,"x-group":"ceidg","description":"**Cost: 4 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nRisk signals of a sole trader across MONODAT sources, plus the trader's current VAT register status: VAT removals, KRZ (insolvency, restructuring, failed enforcement), sanctions and PEP, state aid and EU funds with amounts, procurement awards, KNF/RPWDL/GUNB/MSiG, forbidden PKD, long suspension, KIO, KRAZ, expired licences. Empty list = checked negative.\n\n_PL:_ Sygnały ryzyka JDG ze źródeł MONODAT oraz aktualny status VAT przedsiębiorcy: wykreślenia z VAT, KRZ (upadłość, restrukturyzacja, bezskuteczna egzekucja), sankcje i PEP, pomoc publiczna i fundusze UE z kwotami, wygrane zamówienia, KNF/RPWDL/GUNB/MSiG, niedozwolone PKD, długie zawieszenie, KIO, KRAZ, wygasłe uprawnienia. Pusta lista = sprawdzony wynik negatywny."}},"/v1/ceidg/{nip}/links":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"Links of the sole trader: KRS companies of the same person (role, same-sector flag, confidence), civil partnerships, oth","operationId":"ceidg_links_v1_ceidg__nip__links_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":4,"x-group":"ceidg","description":"**Cost: 4 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nLinks of the sole trader: KRS companies of the same person (role, same-sector flag, confidence), civil partnerships, other CEIDG entries under the same NIP and the count of probable links.\n\n_PL:_ Powiązania JDG: spółki KRS tej samej osoby (rola, ta sama branża, pewność), spółki cywilne, inne wpisy CEIDG pod tym samym NIP i liczba powiązań prawdopodobnych.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: CEIDG — Hurtownia Danych (raport dzienny).","x-provenance":{"sources":["CEIDG — Hurtownia Danych (raport dzienny)"],"verdict":false}}},"/v1/ceidg/{nip}/permits":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"Licences, concessions, permits, regulated-activity register entries and professional qualifications recorded in CEIDG (/","operationId":"ceidg_permits_v1_ceidg__nip__permits_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"ceidg","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nLicences, concessions, permits, regulated-activity register entries and professional qualifications recorded in CEIDG (/getRdrInfo), with validity and active/expired state.\n\n_PL:_ Licencje, koncesje, zezwolenia, wpisy do rejestrów działalności regulowanej i kwalifikacje zawodowe z CEIDG (/getRdrInfo), z ważnością i stanem aktywny/wygasły."}},"/v1/ceidg/{nip}/history":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"Field-level registry change history since monitoring started plus a unified timeline of changes, signals and events.","operationId":"ceidg_history_v1_ceidg__nip__history_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":3,"x-group":"ceidg","description":"**Cost: 3 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nField-level registry change history since monitoring started plus a unified timeline of changes, signals and events.\n\n_PL:_ Historia zmian pól rejestrowych od początku monitoringu oraz ujednolicona oś czasu zmian, sygnałów i zdarzeń."}},"/v1/ceidg/{nip}/road-transport":{"get":{"tags":["Sole traders (CEIDG)"],"summary":"The same KREPTD (GITD) road transport block for a sole trader (JDG) by NIP: in the register, valid permit or Community l","description":"**Cost: 25 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nThe same KREPTD (GITD) road transport block for a sole trader (JDG) by NIP: in the register, valid permit or Community licence today, permits and licences with dates and status, vehicles, certified copies and recent changes. Never the trader's name, names of transport managers or contact data. Price: 25 tokens with the record; 10 tokens when the trader is checked and not in the register; not checked yet → data_available:false (1 token).\n\n_PL:_ Ten sam blok KREPTD (GITD) dla jednoosobowej działalności (JDG) po NIP: obecność w rejestrze, ważne dziś zezwolenie lub licencja wspólnotowa, zezwolenia i licencje z datami i statusem, pojazdy, wypisy i ostatnie zmiany. Nigdy nazwa przedsiębiorcy, nazwiska zarządzających transportem ani dane kontaktowe. Cena: 25 tokenów z kartą; 10 tokenów, gdy przedsiębiorca jest sprawdzony i nie figuruje w rejestrze; jeszcze nie sprawdzono → data_available:false (1 token).","operationId":"ceidg_road_transport_v1_ceidg__nip__road_transport_get","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":25,"x-group":"ceidg"}},"/v1/batch/verify":{"post":{"tags":["Batch processing"],"summary":"Bulk onboarding verification: up to 10,000 NIPs per job, 2 tokens per row (failed rows refunded)","operationId":"batch_verify_v1_batch_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"batch","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nBulk onboarding verification: up to 10,000 NIPs per job, 2 tokens per row (failed rows refunded). Async job with downloadable results. Each row also carries road_transport: KREPTD (GITD) yes/no, same price.\n\n_PL:_ Masowa weryfikacja kontrahentów: do 10 000 NIP-ów, 2 tokeny za wiersz (zwrot tokenów za nieudane wiersze). Zadanie asynchroniczne z wynikami do pobrania. Każdy wiersz zawiera też road_transport: tak/nie z KREPTD (GITD), ta sama cena."}},"/v1/batch/screening":{"post":{"tags":["Batch processing"],"summary":"Bulk AML screening: up to 10,000 NIPs per job, 6 tokens per row (failed rows refunded).","operationId":"batch_screening_v1_batch_screening_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"batch","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nBulk AML screening: up to 10,000 NIPs per job, 6 tokens per row (failed rows refunded).\n\n_PL:_ Masowy screening AML: do 10 000 NIP-ów, 6 tokenów za wiersz (zwrot tokenów za nieudane wiersze)."}},"/v1/batch/ceidg-verify":{"post":{"tags":["Batch processing"],"summary":"Bulk sole-trader verification: up to 10,000 NIPs per job, 1 token per row (failed rows refunded)","operationId":"batch_ceidg_verify_v1_batch_ceidg_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"batch","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nBulk sole-trader verification: up to 10,000 NIPs per job, 1 token per row (failed rows refunded). Each row is the same JSON as GET /v1/ceidg/verify/{nip}. Each row also carries road_transport: KREPTD (GITD) yes/no, same price.\n\n_PL:_ Masowa weryfikacja JDG: do 10 000 NIP-ów, 1 token za wiersz (zwrot tokenów za nieudane wiersze). Każdy wiersz to ten sam JSON co GET /v1/ceidg/verify/{nip}. Każdy wiersz zawiera też road_transport: tak/nie z KREPTD (GITD), ta sama cena."}},"/v1/batch/enrich":{"post":{"tags":["Batch processing"],"summary":"Bulk firmographics enrichment for CRM/ERP: up to 10,000 NIPs per job, 2 tokens per row (failed rows refunded)","operationId":"batch_enrich_v1_batch_enrich_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"batch","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nBulk firmographics enrichment for CRM/ERP: up to 10,000 NIPs per job, 2 tokens per row (failed rows refunded). Each row carries the DERIVED registry status (KRS/GUS) in `is_active` + `status` + `data_available`, not the flat `is_active` column.\n\n_PL:_ Masowe wzbogacanie danych firmowych dla CRM/ERP: do 10 000 NIP-ów, 2 tokeny za wiersz (zwrot tokenów za nieudane wiersze). Każdy wiersz zawiera WYLICZANY status rejestrowy (KRS/GUS) w `is_active` + `status` + `data_available`, a nie kolumnę `is_active`."}},"/v1/batch/jobs":{"get":{"tags":["Batch processing"],"summary":"List your batch jobs (free).","operationId":"list_jobs_v1_batch_jobs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"batch","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nList your batch jobs (free).\n\n_PL:_ Lista Twoich zadań wsadowych (bezpłatnie)."}},"/v1/batch/jobs/{job_id}":{"get":{"tags":["Batch processing"],"summary":"Batch job status and progress (free).","operationId":"job_status_v1_batch_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"batch","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nBatch job status and progress (free).\n\n_PL:_ Status i postęp zadania wsadowego (bezpłatnie)."},"delete":{"tags":["Batch processing"],"summary":"Delete a finished batch job and its results (free; no refund — failed rows were already refunded)","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nDelete a finished batch job and its results (free; no refund — failed rows were already refunded). 409 while the job is still processing.\n\n_PL:_ Usuń zakończone zadanie wsadowe i jego wyniki (bezpłatnie; bez zwrotu — nieudane wiersze zostały już zwrócone). 409, dopóki zadanie jest w toku.","operationId":"delete_job_v1_batch_jobs__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"batch"}},"/v1/batch/jobs/{job_id}/results":{"get":{"tags":["Batch processing"],"summary":"Paginated batch job results; filter ok/failed rows (free — rows were already paid).","operationId":"job_results_v1_batch_jobs__job_id__results_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"only","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(ok|failed)$"},{"type":"null"}],"title":"Only"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":200,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"batch","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nPaginated batch job results; filter ok/failed rows (free — rows were already paid).\n\n_PL:_ Wyniki zadania wsadowego ze stronicowaniem; filtr ok/failed (bezpłatnie — wiersze już opłacone)."}},"/v1/ai/conversations":{"post":{"tags":["AI analyst"],"summary":"Start an AI conversation: the analyst answers your first question with real data (up to 5 SQL lookups) and an optional c","operationId":"start_conversation_v1_ai_conversations_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartConversationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"},"X-AI-Generated":{"$ref":"#/components/headers/X-AI-Generated"},"X-AI-System":{"$ref":"#/components/headers/X-AI-System"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":40,"x-group":"ai","x-ai-generated":true,"description":"**Cost: 40 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nStart an AI conversation: the analyst answers your first question with real data (up to 5 SQL lookups) and an optional chart spec. Flat 40 tokens per message. The answer is marked as AI-generated (field ai_generated: true, headers X-AI-Generated: 1 and X-AI-System: firmai).\n\n_PL:_ Rozpocznij konwersację AI: analityk odpowiada na pierwsze pytanie na podstawie danych (do 5 zapytań SQL) z opcjonalnym wykresem. Stała cena: 40 tokenów za wiadomość. Odpowiedź jest oznaczona jako wygenerowana przez AI (pole ai_generated: true, nagłówki X-AI-Generated: 1 i X-AI-System: firmai)."},"get":{"tags":["AI analyst"],"summary":"List your AI conversations (free).","operationId":"list_conversations_v1_ai_conversations_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"ai","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nList your AI conversations (free).\n\n_PL:_ Lista Twoich konwersacji AI (bezpłatnie)."}},"/v1/ai/conversations/{conversation_id}/messages":{"post":{"tags":["AI analyst"],"summary":"Continue the conversation with memory (last 12 messages)","operationId":"send_message_v1_ai_conversations__conversation_id__messages_post","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendMessageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"},"X-AI-Generated":{"$ref":"#/components/headers/X-AI-Generated"},"X-AI-System":{"$ref":"#/components/headers/X-AI-System"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":40,"x-group":"ai","x-ai-generated":true,"description":"**Cost: 40 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nContinue the conversation with memory (last 12 messages). Same flat price: 40 tokens per message, up to 5 SQL lookups included. The answer is marked as AI-generated (ai_generated: true, X-AI-Generated: 1).\n\n_PL:_ Kontynuuj konwersację z pamięcią (ostatnie 12 wiadomości). Ta sama stała cena: 40 tokenów za wiadomość, do 5 zapytań SQL w cenie. Odpowiedź jest oznaczona jako wygenerowana przez AI (ai_generated: true, X-AI-Generated: 1)."}},"/v1/ai/conversations/{conversation_id}":{"get":{"tags":["AI analyst"],"summary":"Full conversation history with answers, SQL and chart specs (free — messages were already paid)","operationId":"get_conversation_v1_ai_conversations__conversation_id__get","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"},"X-AI-Generated":{"$ref":"#/components/headers/X-AI-Generated"},"X-AI-System":{"$ref":"#/components/headers/X-AI-System"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"ai","x-ai-generated":true,"description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nFull conversation history with answers, SQL and chart specs (free — messages were already paid). Each assistant message carries ai_generated: true.\n\n_PL:_ Pełna historia konwersacji z odpowiedziami, SQL i wykresami (bezpłatnie — wiadomości już opłacone). Każda odpowiedź asystenta ma ai_generated: true."},"delete":{"tags":["AI analyst"],"summary":"Delete a conversation and its messages (free)","operationId":"delete_conversation_v1_ai_conversations__conversation_id__delete","parameters":[{"name":"conversation_id","in":"path","required":true,"schema":{"type":"string","title":"Conversation Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"ai","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nDelete a conversation and its messages (free). Inactive conversations are purged after 30 days.\n\n_PL:_ Usuń konwersację i jej wiadomości (bezpłatnie). Nieaktywne konwersacje są usuwane po 30 dniach."}},"/v1/updates/changelog":{"get":{"tags":["Updates"],"summary":"API changelog: versions, new endpoints, deprecations and breaking-change notices","operationId":"api_changelog_v1_updates_changelog_get","parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Only entries published after this date","title":"Since"},"description":"Only entries published after this date"},{"name":"lang","in":"query","required":false,"schema":{"type":"string","pattern":"^(en|pl)$","default":"en","title":"Lang"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"x-token-cost":0,"x-group":"updates","security":[],"description":"**Cost: free, no API key required.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nAPI changelog: versions, new endpoints, deprecations and breaking-change notices. Poll it to stay up to date.\n\n_PL:_ Changelog API: wersje, nowe endpointy, wycofania i zapowiedzi zmian niezgodnych wstecznie. Odpytuj, aby być na bieżąco."}},"/v1/updates/companies":{"get":{"tags":["Updates"],"summary":"Change feed: events for given NIPs since a date (status changes, new filings, registry events).","operationId":"company_updates_v1_updates_companies_get","parameters":[{"name":"nips","in":"query","required":true,"schema":{"type":"string","description":"Comma-separated NIPs (max 20)","title":"Nips"},"description":"Comma-separated NIPs (max 20)"},{"name":"since","in":"query","required":true,"schema":{"type":"string","format":"date","description":"Events from this date (max 90 days back)","title":"Since"},"description":"Events from this date (max 90 days back)"},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(info|low|medium|high|critical)$"},{"type":"null"}],"title":"Severity"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"updates","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nChange feed: events for given NIPs since a date (status changes, new filings, registry events).\n\n_PL:_ Strumień zmian: zdarzenia dla podanych NIP-ów od wskazanej daty (zmiany statusu, nowe wpisy, zdarzenia rejestrowe).\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: MONODAT — dziennik zdarzeń z rejestrów (KRS, KRZ, MSiG, CEIDG, VAT…).","x-provenance":{"sources":["MONODAT — dziennik zdarzeń z rejestrów (KRS, KRZ, MSiG, CEIDG, VAT…)"],"verdict":false}}},"/v1/alerts/subscriptions":{"get":{"tags":["Alerts & webhooks"],"summary":"List NIPs currently watched by this key.","operationId":"list_subscriptions_v1_alerts_subscriptions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"alerts","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nList NIPs currently watched by this key.\n\n_PL:_ Lista NIP-ów obecnie obserwowanych przez ten klucz."},"post":{"tags":["Alerts & webhooks"],"summary":"Add NIPs to your watchlist — up to 50 per call, 200 watched in total","operationId":"add_subscriptions_v1_alerts_subscriptions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"alerts","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nAdd NIPs to your watchlist — up to 50 per call, 200 watched in total. Invalid NIPs are listed in `invalid` and the valid ones are still added (422 only if none is valid). Free.\n\n_PL:_ Dodaj NIP-y do listy obserwowanych — do 50 na wywołanie, 200 łącznie. Nieprawidłowe NIP-y trafiają do `invalid`, a poprawne są dodawane (422 tylko gdy żaden nie jest poprawny). Bezpłatnie."},"delete":{"tags":["Alerts & webhooks"],"summary":"Remove every watched NIP and delete the API watchlist itself (free)","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nRemove every watched NIP and delete the API watchlist itself (free). Idempotent: 200 with removed_count 0 if there was nothing.\n\n_PL:_ Usuń wszystkie obserwowane NIP-y i samą listę API (bezpłatnie). Idempotentne: 200 z removed_count 0, gdy nie było nic do usunięcia.","operationId":"clear_subscriptions_v1_alerts_subscriptions_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"alerts"}},"/v1/alerts/subscriptions/{nip}":{"delete":{"tags":["Alerts & webhooks"],"summary":"Remove a NIP from your watchlist","operationId":"remove_subscription_v1_alerts_subscriptions__nip__delete","parameters":[{"name":"nip","in":"path","required":true,"schema":{"type":"string","title":"Nip"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"alerts","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nRemove a NIP from your watchlist. Removing the last one also deletes the API watchlist (free).\n\n_PL:_ Usuń NIP z listy obserwowanych. Usunięcie ostatniego usuwa też listę API (bezpłatnie)."}},"/v1/alerts/feed":{"get":{"tags":["Alerts & webhooks"],"summary":"Event feed for every watched company since a date — no need to repeat the NIP list on each call, unlike /v1/updates/comp","operationId":"alerts_feed_v1_alerts_feed_get","parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Events from this date (default: 7 days back, max 90)","title":"Since"},"description":"Events from this date (default: 7 days back, max 90)"},{"name":"severity","in":"query","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^(info|low|medium|high|critical)$"},{"type":"null"}],"title":"Severity"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Provenance"}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":2,"x-group":"alerts","description":"**Cost: 2 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nEvent feed for every watched company since a date — no need to repeat the NIP list on each call, unlike /v1/updates/companies.\n\n_PL:_ Strumień zdarzeń dla wszystkich obserwowanych firm od wskazanej daty — bez potrzeby powtarzania listy NIP przy każdym wywołaniu.\n\n**Source and date:** `as_of` (per source: `label`, `source_date`, `verified_at`, `status`) and `data_as_of`. Sources: MONODAT — dziennik zdarzeń z rejestrów (KRS, KRZ, MSiG, CEIDG, VAT…).","x-provenance":{"sources":["MONODAT — dziennik zdarzeń z rejestrów (KRS, KRZ, MSiG, CEIDG, VAT…)"],"verdict":false}}},"/v1/alerts/webhooks":{"get":{"tags":["Alerts & webhooks"],"summary":"List your push webhooks with health status (free).","operationId":"list_webhooks_v1_alerts_webhooks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"alerts","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nList your push webhooks with health status (free).\n\n_PL:_ Lista Twoich webhooków push ze statusem (bezpłatnie)."},"post":{"tags":["Alerts & webhooks"],"summary":"Register a webhook URL — we PUSH watched-company events to your server as they happen (HMAC-signed, retried)","operationId":"create_webhook_v1_alerts_webhooks_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"alerts","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nRegister a webhook URL — we PUSH watched-company events to your server as they happen (HMAC-signed, retried). 1 token per delivered event.\n\n_PL:_ Zarejestruj URL webhooka — WYPYCHAMY zdarzenia obserwowanych firm na Twój serwer (podpis HMAC, ponawianie). 1 token za dostarczone zdarzenie."}},"/v1/alerts/webhooks/{webhook_id}":{"delete":{"tags":["Alerts & webhooks"],"summary":"Delete a webhook (free).","operationId":"delete_webhook_v1_alerts_webhooks__webhook_id__delete","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"integer","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"alerts","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nDelete a webhook (free).\n\n_PL:_ Usuń webhook (bezpłatnie)."}},"/v1/alerts/webhooks/{webhook_id}/deliveries":{"get":{"tags":["Alerts & webhooks"],"summary":"Recent delivery attempts of a webhook, for debugging (free).","operationId":"webhook_deliveries_v1_alerts_webhooks__webhook_id__deliveries_get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"integer","title":"Webhook Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"alerts","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nRecent delivery attempts of a webhook, for debugging (free).\n\n_PL:_ Ostatnie próby dostarczenia webhooka, do debugowania (bezpłatnie)."}},"/v1/reports/due-diligence":{"post":{"tags":["Certified-date reports"],"summary":"Order a due-diligence report with a certain date (data pewna): live data fetched at the moment of the order from KRS/CEI","description":"**Cost: 5000 tokens.** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nOrder a due-diligence report with a certain date (data pewna): live data fetched at the moment of the order from KRS/CEIDG, VAT whitelist (with requestId and optional bank-account check), KRZ, MSiG, CRBR, GUS, KNF and sanctions/PEP lists, sealed as a PDF with a qualified electronic timestamp (eIDAS art. 41(2)). Asynchronous: 202 with report_id; the report may take several minutes (live registers + qualified timestamp) — poll GET /v1/reports/{report_id} or use a webhook. The sealed PDF is always emailed as an attachment (to `email` or the account address) and downloadable for 60 days. 5,000 tokens, refunded automatically if the report fails.\n\n_PL:_ Zamów raport due diligence z datą pewną: dane pobierane na żywo w chwili zamówienia z KRS/CEIDG, białej listy VAT (z requestId i opcjonalną weryfikacją rachunku), KRZ, MSiG, CRBR, GUS, KNF i list sankcyjnych/PEP, zapisane w PDF opatrzonym kwalifikowanym elektronicznym znacznikiem czasu (art. 41 ust. 2 eIDAS). Asynchronicznie: 202 z report_id; przygotowanie raportu może potrwać kilka minut (rejestry na żywo + kwalifikowany znacznik czasu) — odpytuj GET /v1/reports/{report_id} lub użyj webhooka. Opatrzony znacznikiem PDF jest zawsze wysyłany e-mailem jako załącznik (na `email` lub adres konta) i dostępny do pobrania przez 60 dni. 5 000 tokenów, zwracanych automatycznie, jeśli raport się nie uda.","operationId":"order_due_diligence_v1_reports_due_diligence_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DueDiligenceRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":5000,"x-group":"reports"}},"/v1/reports/{report_id}":{"get":{"tags":["Certified-date reports"],"summary":"Report status and phase (queued | collecting | sealing | awaiting_seal | ready | failed + fail_reason), SHA-256 of the s","operationId":"get_report_v1_reports__report_id__get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"reports","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nReport status and phase (queued | collecting | sealing | awaiting_seal | ready | failed + fail_reason), SHA-256 of the sealed PDF, timestamp provider and time, expiry (free).\n\n_PL:_ Status i etap raportu (queued | collecting | sealing | awaiting_seal | ready | failed + fail_reason), SHA-256 opatrzonego PDF, dostawca i czas znacznika, termin ważności (bezpłatnie)."}},"/v1/reports/{report_id}/pdf":{"get":{"tags":["Certified-date reports"],"summary":"Download the sealed PDF for 60 days after it is ready; 410 afterwards (the emailed copy stays valid and verifiable) (fre","operationId":"get_report_pdf_v1_reports__report_id__pdf_get","parameters":[{"name":"report_id","in":"path","required":true,"schema":{"type":"string","title":"Report Id"}}],"responses":{"200":{"description":"Successful Response","headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"reports","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nDownload the sealed PDF for 60 days after it is ready; 410 afterwards (the emailed copy stays valid and verifiable) (free).\n\n_PL:_ Pobranie opatrzonego PDF przez 60 dni od przygotowania; potem 410 (kopia z e-maila pozostaje ważna i weryfikowalna) (bezpłatnie)."}},"/v1/meta/balance":{"get":{"tags":["Meta (free)"],"summary":"Current token balance and totals for your account.","operationId":"meta_balance_v1_meta_balance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"meta","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nCurrent token balance and totals for your account.\n\n_PL:_ Aktualne saldo tokenów i sumy dla Twojego konta."}},"/v1/meta/usage":{"get":{"tags":["Meta (free)"],"summary":"Daily usage of the calling key for the last 30 days.","operationId":"meta_usage_v1_meta_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"meta","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nDaily usage of the calling key for the last 30 days.\n\n_PL:_ Dzienne zużycie bieżącego klucza za ostatnie 30 dni."}},"/v1/meta/endpoints":{"get":{"tags":["Meta (free)"],"summary":"This catalog: every endpoint with its token cost.","description":"**Cost: free (valid key required).** Failed calls (4xx/5xx) are not charged; `data_available:false` answers cost 1 token.\n\nThis catalog: every endpoint with its token cost.\n\n_PL:_ Ten katalog: wszystkie endpointy wraz z kosztem w tokenach.","operationId":"meta_endpoints_v1_meta_endpoints_get","parameters":[{"name":"lang","in":"query","required":false,"schema":{"type":"string","pattern":"^(en|pl)$","default":"en","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}},"headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Cost":{"$ref":"#/components/headers/X-Tokens-Cost"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"402":{"$ref":"#/components/responses/PaymentRequired"},"403":{"$ref":"#/components/responses/Forbidden"},"404":{"$ref":"#/components/responses/NotFound"},"429":{"$ref":"#/components/responses/TooManyRequests"},"503":{"$ref":"#/components/responses/ServiceUnavailable"}},"x-token-cost":0,"x-group":"meta"}}},"components":{"schemas":{"BatchRequest":{"properties":{"nips":{"items":{"type":"string"},"type":"array","maxItems":10000,"minItems":1,"title":"Nips"}},"type":"object","required":["nips"],"title":"BatchRequest"},"DueDiligenceRequest":{"properties":{"krs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Krs"},"nip":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nip"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"cc_account":{"type":"boolean","title":"Cc Account","default":true},"bank_account":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bank Account"},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Purpose"},"webhook":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Webhook"}},"type":"object","title":"DueDiligenceRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"SendMessageRequest":{"properties":{"message":{"type":"string","maxLength":2000,"minLength":1,"title":"Message"}},"type":"object","required":["message"],"title":"SendMessageRequest"},"StartConversationRequest":{"properties":{"message":{"type":"string","maxLength":2000,"minLength":1,"title":"Message"},"locale":{"type":"string","maxLength":10,"title":"Locale","default":"en"}},"type":"object","required":["message"],"title":"StartConversationRequest"},"SubscribeRequest":{"properties":{"nips":{"items":{"type":"string"},"type":"array","maxItems":50,"minItems":1,"title":"Nips"}},"type":"object","required":["nips"],"title":"SubscribeRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebhookCreateRequest":{"properties":{"url":{"type":"string","maxLength":500,"title":"Url"},"event_types":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":50},{"type":"null"}],"title":"Event Types","description":"Only push these event types (default: all)"},"severity_min":{"type":"string","pattern":"^(info|low|medium|high|critical)$","title":"Severity Min","default":"info"}},"type":"object","required":["url"],"title":"WebhookCreateRequest"},"ErrorDetail":{"type":"object","description":"Body of every error response of /v1. `error` is the uniform object to code against; `detail` is kept unchanged for existing clients. Some errors add their own top-level fields (e.g. `code` on maintenance and AI-analyst errors).","additionalProperties":true,"properties":{"detail":{"description":"Human-readable reason (or a list of validation errors on 422).","oneOf":[{"type":"string"},{"type":"array"},{"type":"object"}]},"error":{"$ref":"#/components/schemas/Error"}},"required":["detail"]},"Error":{"type":"object","description":"Uniform error object, present on every 4xx/5xx of /v1.","properties":{"code":{"allOf":[{"$ref":"#/components/schemas/EnumErrorCode"}],"description":"Stable machine-readable code."},"message":{"type":"string","description":"Human-readable reason, in English."},"status":{"type":"integer","description":"HTTP status code of the response."},"details":{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Only when there is more to say: on 422, one entry per invalid parameter with `field`, `message` and `type`."}},"required":["code","message","status"]},"EnumCompanyStatus":{"type":"string","description":"Registry status of a company, derived from KRS. Stable English keys; `status.label_pl` / `status.label_en` carry the readable text.\n\n- `active`: Aktywna — Active.\n- `suspended`: Zawieszona — Suspended.\n- `dissolving`: W likwidacji — In liquidation.\n- `bankruptcy`: W upadłości — In bankruptcy.\n- `terminated`: Zakończyła działalność — Ceased activity.\n- `struck_off`: Wykreślona z KRS — Struck off the register.\n- `unknown`: Nie udało się ustalić statusu — Status could not be determined.","x-enum-descriptions":{"active":"Aktywna — Active.","suspended":"Zawieszona — Suspended.","dissolving":"W likwidacji — In liquidation.","bankruptcy":"W upadłości — In bankruptcy.","terminated":"Zakończyła działalność — Ceased activity.","struck_off":"Wykreślona z KRS — Struck off the register.","unknown":"Nie udało się ustalić statusu — Status could not be determined."},"x-fields":["status.value (GET /v1/companies/{nip}, /v1/companies/search, /v1/companies/{nip}/risk)"],"enum":["active","suspended","dissolving","bankruptcy","terminated","struck_off","unknown"]},"EnumScoreLevel":{"type":"string","description":"Band of the MONODAT Score (0–100, higher is safer). Values are Polish keys without diacritics and are returned as stored.\n\n- `doskonaly`: Doskonały — excellent, score 80–100.\n- `dobry`: Dobry — good, score 60–79.\n- `umiar`: Umiarkowany — moderate, score 40–59.\n- `ryzykowny`: Ryzykowny — risky, score 20–39.\n- `krytyczny`: Krytyczny — critical, score 0–19.\n- `brak_danych`: Brak danych — not enough data to calculate a score (`monodat_score` is null).","x-enum-descriptions":{"doskonaly":"Doskonały — excellent, score 80–100.","dobry":"Dobry — good, score 60–79.","umiar":"Umiarkowany — moderate, score 40–59.","ryzykowny":"Ryzykowny — risky, score 20–39.","krytyczny":"Krytyczny — critical, score 0–19.","brak_danych":"Brak danych — not enough data to calculate a score (`monodat_score` is null)."},"x-fields":["monodat_score_level","risk_level","score_level","level (GET /v1/risk/{nip}/score)"],"enum":["doskonaly","dobry","umiar","ryzykowny","krytyczny","brak_danych"]},"EnumRiskBand":{"type":"string","description":"Letter band of the compliance level, `A` (lowest risk) to `E` (highest risk); null when not calculated.\n\n- `A`: Lowest risk.\n- `B`: Low risk.\n- `C`: Medium risk.\n- `D`: High risk.\n- `E`: Highest risk.","x-enum-descriptions":{"A":"Lowest risk.","B":"Low risk.","C":"Medium risk.","D":"High risk.","E":"Highest risk."},"x-fields":["risk_band","band (score breakdown)"],"enum":["A","B","C","D","E"]},"EnumVerdict":{"type":"string","description":"Overall counterparty verdict.\n\n- `ok`: Można współpracować — Fit to work with.\n- `caution`: Ostrożnie — Proceed with caution.\n- `not_recommended`: Nie zalecane — Not recommended.\n- `insufficient`: Za mało danych — Not enough data.","x-enum-descriptions":{"ok":"Można współpracować — Fit to work with.","caution":"Ostrożnie — Proceed with caution.","not_recommended":"Nie zalecane — Not recommended.","insufficient":"Za mało danych — Not enough data."},"x-fields":["verdict.status (GET /v1/companies/{nip}/verify and the endpoints that embed it)"],"enum":["ok","caution","not_recommended","insufficient"]},"EnumCheckState":{"type":"string","description":"Result of one check inside a verdict (sanctions, PEP, KNF, KRZ, VAT).\n\n- `confirmed`: Verified finding (or a certain registry fact).\n- `possible`: Possible match by name, not verified: not a finding.\n- `clear`: Checked, nothing found.\n- `unchecked`: The source does not cover this company: do not read it as clean.\n- `locked`: The check is not included in the plan of the caller.","x-enum-descriptions":{"confirmed":"Verified finding (or a certain registry fact).","possible":"Possible match by name, not verified: not a finding.","clear":"Checked, nothing found.","unchecked":"The source does not cover this company: do not read it as clean.","locked":"The check is not included in the plan of the caller."},"x-fields":["verdict.checks.<check> (keys: sanctions, pep, knf, krz, vat)"],"enum":["confirmed","possible","clear","unchecked","locked"]},"EnumSeverity":{"type":"string","description":"Severity of a reason, signal or alert.\n\n- `critical`: Critical.\n- `high`: High.\n- `medium`: Medium.\n- `low`: Low.\n- `info`: Informational only.","x-enum-descriptions":{"critical":"Critical.","high":"High.","medium":"Medium.","low":"Low.","info":"Informational only."},"x-fields":["severity"],"enum":["critical","high","medium","low","info"]},"EnumSourceStatus":{"type":"string","description":"Freshness of one data source in `as_of`.\n\n- `fresh`: Checked recently.\n- `stale`: Last successful check is older than expected.\n- `unchecked`: Never checked: do not read an empty result as clean.\n- `error`: The last check failed.","x-enum-descriptions":{"fresh":"Checked recently.","stale":"Last successful check is older than expected.","unchecked":"Never checked: do not read an empty result as clean.","error":"The last check failed."},"x-fields":["as_of.<source>.status"],"enum":["fresh","stale","unchecked","error"]},"EnumVatStatus":{"type":"string","description":"VAT status from the White List of the Ministry of Finance (Wykaz podatników VAT). Polish values, returned as published by the register.\n\n- `Czynny`: Active VAT payer.\n- `Zwolniony`: VAT-exempt payer.\n- `Niezarejestrowany`: Not registered for VAT (or removed from the register).","x-enum-descriptions":{"Czynny":"Active VAT payer.","Zwolniony":"VAT-exempt payer.","Niezarejestrowany":"Not registered for VAT (or removed from the register)."},"x-fields":["status_vat / vat_status (GET /v1/vat/{nip} and the endpoints that embed it)"],"enum":["Czynny","Zwolniony","Niezarejestrowany"]},"EnumVatStatusCode":{"type":"string","description":"Stable English key of `vat_status` (which stays in Polish, as published by the register). `other` = a register value not listed here; null = VAT never checked.\n\n- `active`: `Czynny` — Active VAT payer.\n- `exempt`: `Zwolniony` — VAT-exempt payer.\n- `not_registered`: `Niezarejestrowany` — Not registered for VAT.\n- `other`: Another register value (see `vat_status`).","x-enum-descriptions":{"active":"`Czynny` — Active VAT payer.","exempt":"`Zwolniony` — VAT-exempt payer.","not_registered":"`Niezarejestrowany` — Not registered for VAT.","other":"Another register value (see `vat_status`)."},"x-fields":["vat_status_code (GET /v1/companies/{nip}/status)"],"enum":["active","exempt","not_registered","other"]},"EnumScoreLevelCode":{"type":"string","description":"Stable English key of the MONODAT Score band (`risk_level`, which stays in Polish). `other` = a value not listed here; null = no band.\n\n- `excellent`: `doskonaly` — Excellent.\n- `good`: `dobry` — Good.\n- `moderate`: `umiar` — Moderate.\n- `risky`: `ryzykowny` — Risky.\n- `critical`: `krytyczny` — Critical.\n- `no_data`: `brak_danych` — Not enough data.\n- `other`: Another value (see `risk_level`).","x-enum-descriptions":{"excellent":"`doskonaly` — Excellent.","good":"`dobry` — Good.","moderate":"`umiar` — Moderate.","risky":"`ryzykowny` — Risky.","critical":"`krytyczny` — Critical.","no_data":"`brak_danych` — Not enough data.","other":"Another value (see `risk_level`)."},"x-fields":["risk_level_code (GET /v1/companies/{nip}/status)"],"enum":["excellent","good","moderate","risky","critical","no_data","other"]},"EnumDataQualityWarning":{"type":"string","description":"Codes in `data_quality_warnings` of GET /v1/krs/{krs}. Empty list = nothing to report. Open list: new codes may be added.\n\n- `registry_extract_stale`: The stored copy of the KRS extract is older than expected (`as_of.krs.status` = `stale`): name, form or address may have changed.\n- `name_differs_between_sources`: The KRS extract, the company profile (/v1/companies) and the official name (VAT White List) do not match: see `name_sources`.\n- `nip_krs_identity_issue`: The NIP of this KRS is also linked to another KRS, or NIP and KRS do not match between sources: see `identity`.","x-enum-descriptions":{"registry_extract_stale":"The stored copy of the KRS extract is older than expected (`as_of.krs.status` = `stale`): name, form or address may have changed.","name_differs_between_sources":"The KRS extract, the company profile (/v1/companies) and the official name (VAT White List) do not match: see `name_sources`.","nip_krs_identity_issue":"The NIP of this KRS is also linked to another KRS, or NIP and KRS do not match between sources: see `identity`."},"x-fields":["data_quality_warnings (GET /v1/krs/{krs})"],"x-extensible-enum":["registry_extract_stale","name_differs_between_sources","nip_krs_identity_issue"]},"EnumZakres":{"type":"string","description":"Scope of a financial statement (query parameter `zakres` and response field `zakres` in /v1/financials). Polish values.\n\n- `jednostkowe`: Standalone statement (the company itself).\n- `skonsolidowane`: Consolidated statement (capital group).","x-enum-descriptions":{"jednostkowe":"Standalone statement (the company itself).","skonsolidowane":"Consolidated statement (capital group)."},"x-fields":["zakres"],"enum":["jednostkowe","skonsolidowane"]},"EnumVoivodeship":{"type":"string","description":"The 16 Polish voivodeships, in Polish and lower case. The `voivodeship` filter of GET /v1/companies/search also accepts the names without diacritics.\n\n- `dolnośląskie`: Voivodeship (województwo).\n- `kujawsko-pomorskie`: Voivodeship (województwo).\n- `lubelskie`: Voivodeship (województwo).\n- `lubuskie`: Voivodeship (województwo).\n- `łódzkie`: Voivodeship (województwo).\n- `małopolskie`: Voivodeship (województwo).\n- `mazowieckie`: Voivodeship (województwo).\n- `opolskie`: Voivodeship (województwo).\n- `podkarpackie`: Voivodeship (województwo).\n- `podlaskie`: Voivodeship (województwo).\n- `pomorskie`: Voivodeship (województwo).\n- `śląskie`: Voivodeship (województwo).\n- `świętokrzyskie`: Voivodeship (województwo).\n- `warmińsko-mazurskie`: Voivodeship (województwo).\n- `wielkopolskie`: Voivodeship (województwo).\n- `zachodniopomorskie`: Voivodeship (województwo).","x-enum-descriptions":{"dolnośląskie":"Voivodeship (województwo).","kujawsko-pomorskie":"Voivodeship (województwo).","lubelskie":"Voivodeship (województwo).","lubuskie":"Voivodeship (województwo).","łódzkie":"Voivodeship (województwo).","małopolskie":"Voivodeship (województwo).","mazowieckie":"Voivodeship (województwo).","opolskie":"Voivodeship (województwo).","podkarpackie":"Voivodeship (województwo).","podlaskie":"Voivodeship (województwo).","pomorskie":"Voivodeship (województwo).","śląskie":"Voivodeship (województwo).","świętokrzyskie":"Voivodeship (województwo).","warmińsko-mazurskie":"Voivodeship (województwo).","wielkopolskie":"Voivodeship (województwo).","zachodniopomorskie":"Voivodeship (województwo)."},"x-fields":["voivodeship"],"enum":["dolnośląskie","kujawsko-pomorskie","lubelskie","lubuskie","łódzkie","małopolskie","mazowieckie","opolskie","podkarpackie","podlaskie","pomorskie","śląskie","świętokrzyskie","warmińsko-mazurskie","wielkopolskie","zachodniopomorskie"]},"EnumRiskFlag":{"type":"string","description":"Risk flags of a company. Open list: besides the values below, `registry_status:<value>` carries a registry status not mapped to a flag and `foreign_control:<country>` the country of foreign control.\n\n- `bankruptcy`: Bankruptcy proceedings.\n- `liquidation`: In liquidation.\n- `suspended`: Activity suspended.\n- `enforcement`: Enforcement proceedings.\n- `tax_or_social_arrears`: Tax or social security arrears entered in the register.\n- `asset_seizure`: Asset seizure.\n- `court_curator`: Court-appointed curator.\n- `sanctioned`: On a sanctions list.\n- `pep_linked`: Linked to a politically exposed person (possible match by name).\n- `phoenix_suspect`: Pattern consistent with a phoenix company.\n- `shared_bank_account`: Shares a bank account with other entities (shell-company signal).\n- `public_funds_conflict`: Possible conflict of interest in public funds.\n- `capital_reduced`: Share capital reduction.\n- `board_rotation`: Unusual rotation of board members.\n- `registry_status_unknown`: The registry status could not be determined.\n- `deregistered`: Removed from the register.","x-enum-descriptions":{"bankruptcy":"Bankruptcy proceedings.","liquidation":"In liquidation.","suspended":"Activity suspended.","enforcement":"Enforcement proceedings.","tax_or_social_arrears":"Tax or social security arrears entered in the register.","asset_seizure":"Asset seizure.","court_curator":"Court-appointed curator.","sanctioned":"On a sanctions list.","pep_linked":"Linked to a politically exposed person (possible match by name).","phoenix_suspect":"Pattern consistent with a phoenix company.","shared_bank_account":"Shares a bank account with other entities (shell-company signal).","public_funds_conflict":"Possible conflict of interest in public funds.","capital_reduced":"Share capital reduction.","board_rotation":"Unusual rotation of board members.","registry_status_unknown":"The registry status could not be determined.","deregistered":"Removed from the register."},"x-fields":["flags"],"x-extensible-enum":["bankruptcy","liquidation","suspended","enforcement","tax_or_social_arrears","asset_seizure","court_curator","sanctioned","pep_linked","phoenix_suspect","shared_bank_account","public_funds_conflict","capital_reduced","board_rotation","registry_status_unknown","deregistered"]},"EnumNoDataReason":{"type":"string","description":"`reason.code` of a 200 answer with `data_available: false` (the subject exists but this data set has nothing for it). Open list: new codes may be added.\n\n- `NO_STATEMENTS_FILED`: This entity has no financial statements on file in the KRS repository (RDF).\n- `NO_STATEMENTS_IN_SCOPE`: This entity has no financial statements of the requested scope (zakres) on file.\n- `NO_NORMALIZED_FINANCIALS`: Financial statements exist for this entity but have not been normalized into comparable metrics yet.\n- `NOT_ON_VAT_WHITELIST`: This NIP is not on the Ministry of Finance VAT whitelist (biała lista).\n- `VAT_NOT_CHECKED`: This NIP has not been checked against the Ministry of Finance VAT whitelist yet, so we cannot say whether it is listed.\n- `NO_STATE_AID`: No Polish state aid (SUDOP) records for this NIP.\n- `NO_EU_FUNDING`: No EU funding projects recorded for this NIP.\n- `NO_PUBLIC_DEBT_SIGNALS`: No public-law debt signals (tax/ZUS arrears, payment relief or failed enforcement) for this company.\n- `NO_UPRP_RIGHTS`: This company holds no industrial property rights at the Polish Patent Office (UPRP).\n- `CRBR_EXEMPT_PUBLIC_COMPANY`: This is a listed (public) company and is exempt by law from the beneficial-owner register (CRBR).\n- `NO_UBO_DECLARED`: No beneficial owners declared in the CRBR for this entity.\n- `CRBR_NOT_CHECKED`: This entity has not been checked in the beneficial-owner register (CRBR) yet, so we cannot say whether it filed beneficial owners.\n- `CRBR_RESTRICTED`: Beneficial-owner data from the Polish CRBR is available only to obliged entities (AML Act as amended: the register is no longer public; arts. 68a-68d).\n- `SCORE_NOT_CALCULATED`: The MONODAT score has not been calculated for this company yet.\n- `SCORE_INSUFFICIENT_DATA`: Not enough data to score this entity: no financial statements in the last 4 years, and no registry finding that would justify a low score.\n- `NO_KRS_REGISTRY_DATA`: No current KRS extract (odpis aktualny) stored for this NIP, so PKD codes are unavailable.\n- `NO_GPW_FINANCIALS`: No financial reports stored for this listed issuer.\n- `NOT_IN_REGISTRY`: This NIP does not appear in the requested sector registry.\n- `NO_NFZ_AGREEMENTS`: No active contracts with the National Health Fund (NFZ) for this provider.\n- `NO_SECTOR_DEBT_DATA`: No public-debt data aggregated for this PKD division in the selected window.\n- `NO_PKD_DIVISION`: No PKD division on record for this company, so it cannot be placed in a sector.\n- `NO_INDICATORS`: No macroeconomic indicators match this filter.\n- `NO_CEIDG_LINKS`: No links found for this sole trader: no KRS company of the same person, no civil partnership, no other CEIDG entry under this NIP.\n- `NO_CEIDG_PERMITS`: No licences, concessions, permits, regulated-activity entries or professional qualifications are recorded for this sole trader in CEIDG.\n- `NO_CEIDG_HISTORY`: No registry changes or events have been recorded for this sole trader since MONODAT started monitoring the entry.\n- `NO_CEIDG_CHANGES`: No sole-trader registry changes were recorded in the requested window.","x-enum-descriptions":{"NO_STATEMENTS_FILED":"This entity has no financial statements on file in the KRS repository (RDF).","NO_STATEMENTS_IN_SCOPE":"This entity has no financial statements of the requested scope (zakres) on file.","NO_NORMALIZED_FINANCIALS":"Financial statements exist for this entity but have not been normalized into comparable metrics yet.","NOT_ON_VAT_WHITELIST":"This NIP is not on the Ministry of Finance VAT whitelist (biała lista).","VAT_NOT_CHECKED":"This NIP has not been checked against the Ministry of Finance VAT whitelist yet, so we cannot say whether it is listed.","NO_STATE_AID":"No Polish state aid (SUDOP) records for this NIP.","NO_EU_FUNDING":"No EU funding projects recorded for this NIP.","NO_PUBLIC_DEBT_SIGNALS":"No public-law debt signals (tax/ZUS arrears, payment relief or failed enforcement) for this company.","NO_UPRP_RIGHTS":"This company holds no industrial property rights at the Polish Patent Office (UPRP).","CRBR_EXEMPT_PUBLIC_COMPANY":"This is a listed (public) company and is exempt by law from the beneficial-owner register (CRBR).","NO_UBO_DECLARED":"No beneficial owners declared in the CRBR for this entity.","CRBR_NOT_CHECKED":"This entity has not been checked in the beneficial-owner register (CRBR) yet, so we cannot say whether it filed beneficial owners.","CRBR_RESTRICTED":"Beneficial-owner data from the Polish CRBR is available only to obliged entities (AML Act as amended: the register is no longer public; arts. 68a-68d).","SCORE_NOT_CALCULATED":"The MONODAT score has not been calculated for this company yet.","SCORE_INSUFFICIENT_DATA":"Not enough data to score this entity: no financial statements in the last 4 years, and no registry finding that would justify a low score.","NO_KRS_REGISTRY_DATA":"No current KRS extract (odpis aktualny) stored for this NIP, so PKD codes are unavailable.","NO_GPW_FINANCIALS":"No financial reports stored for this listed issuer.","NOT_IN_REGISTRY":"This NIP does not appear in the requested sector registry.","NO_NFZ_AGREEMENTS":"No active contracts with the National Health Fund (NFZ) for this provider.","NO_SECTOR_DEBT_DATA":"No public-debt data aggregated for this PKD division in the selected window.","NO_PKD_DIVISION":"No PKD division on record for this company, so it cannot be placed in a sector.","NO_INDICATORS":"No macroeconomic indicators match this filter.","NO_CEIDG_LINKS":"No links found for this sole trader: no KRS company of the same person, no civil partnership, no other CEIDG entry under this NIP.","NO_CEIDG_PERMITS":"No licences, concessions, permits, regulated-activity entries or professional qualifications are recorded for this sole trader in CEIDG.","NO_CEIDG_HISTORY":"No registry changes or events have been recorded for this sole trader since MONODAT started monitoring the entry.","NO_CEIDG_CHANGES":"No sole-trader registry changes were recorded in the requested window."},"x-fields":["reason.code"],"x-extensible-enum":["NO_STATEMENTS_FILED","NO_STATEMENTS_IN_SCOPE","NO_NORMALIZED_FINANCIALS","NOT_ON_VAT_WHITELIST","VAT_NOT_CHECKED","NO_STATE_AID","NO_EU_FUNDING","NO_PUBLIC_DEBT_SIGNALS","NO_UPRP_RIGHTS","CRBR_EXEMPT_PUBLIC_COMPANY","NO_UBO_DECLARED","CRBR_NOT_CHECKED","CRBR_RESTRICTED","SCORE_NOT_CALCULATED","SCORE_INSUFFICIENT_DATA","NO_KRS_REGISTRY_DATA","NO_GPW_FINANCIALS","NOT_IN_REGISTRY","NO_NFZ_AGREEMENTS","NO_SECTOR_DEBT_DATA","NO_PKD_DIVISION","NO_INDICATORS","NO_CEIDG_LINKS","NO_CEIDG_PERMITS","NO_CEIDG_HISTORY","NO_CEIDG_CHANGES"]},"EnumErrorCode":{"type":"string","description":"`error.code` of any error response of /v1 (4xx/5xx). Open list: new codes may be added; fall back to the HTTP status for an unknown code.\n\n- `bad_request`: 400 — the request cannot be processed as sent.\n- `unauthorized`: 401 — missing or invalid credentials.\n- `insufficient_tokens`: 402 — the token balance does not cover the endpoint price; nothing is charged.\n- `forbidden`: 403 — the caller is not allowed to do this.\n- `not_found`: 404 — unknown route or subject (NIP, KRS, PKD…) not in the database; nothing is charged.\n- `method_not_allowed`: 405 — the route exists but not with this HTTP method.\n- `conflict`: 409 — the request conflicts with the current state of the resource.\n- `payload_too_large`: 413 — the request body is too large.\n- `validation_error`: 422 — a path, query or body parameter is missing or invalid; see `details`.\n- `rate_limited`: 429 — per-minute limit reached; retry after Retry-After seconds.\n- `internal_error`: 500 — unexpected error on our side; nothing is charged.\n- `service_unavailable`: 503 — temporarily overloaded or the feature is disabled; retry after Retry-After.\n- `error`: Any other HTTP error status.\n- `api_key_missing`: 401 — no X-API-Key header.\n- `api_key_malformed`: 401 — the header does not look like an API key (plp_live_…).\n- `api_key_invalid`: 401 — unknown API key.\n- `api_key_revoked`: 401 — the API key existed and has been revoked in the dashboard.\n- `account_disabled`: 403 — the account that owns the key is disabled.\n- `endpoint_not_allowed`: 403 — this API key is not allowed to call this endpoint.\n- `ip_blocked`: 403 — requests from this IP address are blocked.\n- `burst_limited`: 429 — more than the allowed requests in one second; retry after Retry-After.\n- `maintenance_api_paused`: 503 — the API is paused during a scheduled maintenance window.","x-enum-descriptions":{"bad_request":"400 — the request cannot be processed as sent.","unauthorized":"401 — missing or invalid credentials.","insufficient_tokens":"402 — the token balance does not cover the endpoint price; nothing is charged.","forbidden":"403 — the caller is not allowed to do this.","not_found":"404 — unknown route or subject (NIP, KRS, PKD…) not in the database; nothing is charged.","method_not_allowed":"405 — the route exists but not with this HTTP method.","conflict":"409 — the request conflicts with the current state of the resource.","payload_too_large":"413 — the request body is too large.","validation_error":"422 — a path, query or body parameter is missing or invalid; see `details`.","rate_limited":"429 — per-minute limit reached; retry after Retry-After seconds.","internal_error":"500 — unexpected error on our side; nothing is charged.","service_unavailable":"503 — temporarily overloaded or the feature is disabled; retry after Retry-After.","error":"Any other HTTP error status.","api_key_missing":"401 — no X-API-Key header.","api_key_malformed":"401 — the header does not look like an API key (plp_live_…).","api_key_invalid":"401 — unknown API key.","api_key_revoked":"401 — the API key existed and has been revoked in the dashboard.","account_disabled":"403 — the account that owns the key is disabled.","endpoint_not_allowed":"403 — this API key is not allowed to call this endpoint.","ip_blocked":"403 — requests from this IP address are blocked.","burst_limited":"429 — more than the allowed requests in one second; retry after Retry-After.","maintenance_api_paused":"503 — the API is paused during a scheduled maintenance window."},"x-fields":["error.code"],"x-extensible-enum":["bad_request","unauthorized","insufficient_tokens","forbidden","not_found","method_not_allowed","conflict","payload_too_large","validation_error","rate_limited","internal_error","service_unavailable","error","api_key_missing","api_key_malformed","api_key_invalid","api_key_revoked","account_disabled","endpoint_not_allowed","ip_blocked","burst_limited","maintenance_api_paused"]},"SourceAsOf":{"type":"object","description":"Source and date of one data source (same contract as `as_of` in /verify, plus `label`).","properties":{"source":{"type":"string","description":"Source key, e.g. `krs`, `mswia`, `knf`."},"label":{"type":"string","description":"Name of the official register."},"source_date":{"type":"string","format":"date","nullable":true,"description":"As-of date given by the source itself (stan na), or null."},"verified_at":{"type":"string","format":"date-time","nullable":true,"description":"Last successful check or download by MONODAT (sprawdzono). Never the time of your call."},"status":{"type":"string","enum":["fresh","stale","unchecked","error"],"description":"`unchecked` = never checked: do not read an empty result as clean."}},"required":["source","label","source_date","verified_at","status"]},"Provenance":{"type":"object","additionalProperties":true,"description":"Additive provenance fields present in the 200 response of this endpoint.","properties":{"as_of":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/SourceAsOf"}},"sources_checked":{"type":"array","items":{"type":"string"},"description":"Only on risk checks: sources an empty result was verified against."},"data_as_of":{"type":"string","format":"date","nullable":true,"description":"Oldest as-of day among the checked sources."}},"required":["as_of","data_as_of"]}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","description":"API key (`plp_live_…`) created in the dashboard, under /dashboard/api."}},"headers":{"X-Tokens-Charged":{"description":"Tokens charged for this call. Always 0 on errors (4xx/5xx): failed calls are never charged.","schema":{"type":"integer"}},"X-Tokens-Cost":{"description":"List price of the endpoint in tokens (from GET /v1/meta/endpoints).","schema":{"type":"integer"}},"X-Tokens-Balance":{"description":"Token balance left after this call (on paid calls and on 402).","schema":{"type":"integer"}},"X-Tokens-Required":{"description":"Tokens the call needs (only on 402 Payment Required).","schema":{"type":"integer"}},"X-RateLimit-Limit":{"description":"Requests allowed per minute and API key (300).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current one-minute window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Unix time (epoch seconds, UTC) at which the one-minute sliding window of this key is empty again, i.e. the full quota is back if no further calls are made. It is never in the past and at most 60 seconds ahead. To know how long to wait after a 429, use Retry-After.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before retrying (on 429 and 503). On 429 it is the shortest wait after which one more request is accepted.","schema":{"type":"integer"}},"X-Maintenance-Window":{"description":"Present from the announcement of a scheduled maintenance window until its end: `<start>/<end>` in ISO 8601 UTC. Details: GET /v1/maintenance (free, no API key).","schema":{"type":"string","example":"2026-10-19T07:00:00+00:00/2026-10-19T09:00:00+00:00"}},"X-Demo":{"description":"Present (value 1) only on calls made with the public demo key of the try-it page.","schema":{"type":"string","enum":["1"]}},"X-AI-Generated":{"description":"Present (value 1) on successful responses of the AI analyst (/v1/ai) whose body contains AI-generated content. Errors never carry it.","schema":{"type":"string","enum":["1"]}},"X-AI-System":{"description":"AI system that generated the content (with X-AI-Generated). Today always `firmai`.","schema":{"type":"string","example":"firmai"}}},"responses":{"Unauthorized":{"description":"Missing, malformed or invalid X-API-Key.","headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"PaymentRequired":{"description":"Insufficient token balance. Nothing is charged.","headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Tokens-Balance":{"$ref":"#/components/headers/X-Tokens-Balance"},"X-Tokens-Required":{"$ref":"#/components/headers/X-Tokens-Required"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"Forbidden":{"description":"Account disabled, IP blocked, or the key is not allowed to call this endpoint (the demo key only calls 5 endpoints).","headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-Demo":{"$ref":"#/components/headers/X-Demo"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"NotFound":{"description":"The subject (NIP, KRS, …) is not in the database. Nothing is charged.","headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"TooManyRequests":{"description":"Rate limit exceeded (per minute or burst per second, per key). Nothing is charged.","headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}},"ServiceUnavailable":{"description":"Temporarily overloaded, the feature is disabled, or the API is paused during a scheduled maintenance window (code `maintenance_api_paused`). Retry after Retry-After seconds; nothing is charged.","headers":{"X-Tokens-Charged":{"$ref":"#/components/headers/X-Tokens-Charged"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-Maintenance-Window":{"$ref":"#/components/headers/X-Maintenance-Window"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorDetail"}}}}}},"security":[{"ApiKeyAuth":[]}]}