MCPサーバー

Ärikratt

ee.arikratt/arikratt
ビジネス・業務 データ・分析 公開・接続可能 MCP 2025-11-25

このMCPでできること

Provides Estonian company profiles, financial and tax information, risk checks, sector and regional statistics, grants, and public procurement data.

check_counterparty
Tehingupartneri kontroll
Status, tax debt, last filed report, overdue days, bankruptcy/liquidation/restructuring/enforcement notice flags with dates and ametlikudteadaanded.ee links, and distress for one registry code. Legal entities only. Use this before invoicing. Use get_company for the wider financial card, and risk_signals to scan many companies for one signal.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'check_counterpartyArguments', 'required': ['registry_code'], 'properties': {'registry_code': {'type': 'string', 'title': 'Registry Code', 'description': '8-digit commercial register code'}}}
出力スキーマ
{'type': 'object', 'title': 'check_counterpartyOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'name': {'type': ['string', 'null']}, 'as_of': {'type': ['string', 'null']}, 'flags': {'type': ['object', 'null'], 'properties': {'bankruptcy': {'type': ['boolean', 'null']}, 'enforcement': {'type': ['boolean', 'null']}, 'liquidation': {'type': ['boolean', 'null']}, 'restructuring': {'type': ['boolean', 'null']}}, 'additionalProperties': True}, 'found': {'type': ['boolean', 'null']}, 'report': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'filed': {'type': ['boolean', 'null']}, 'period': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'next_due': {'type': ['string', 'null']}, 'latest_year': {'type': ['number', 'null']}, 'overdue_days': {'type': ['number', 'null']}, 'latest_year_reason': {'type': ['string', 'null']}, 'overdue_days_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'status': {'type': ['string', 'null']}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'distress': {'type': ['object', 'null'], 'properties': {'score': {'type': ['number', 'null']}, 'components': {'type': ['object', 'null'], 'properties': {'tax_debt': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'board_churn': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'license_loss': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'adverse_media': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'financial_health': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'insolvency_announcements': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'additionalProperties': True}, 'risk_level': {'type': ['string', 'null']}, 'score_unit': {'type': ['string', 'null']}, 'calculated_at': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'tax_debt': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'on_list': {'type': ['boolean', 'null']}, 'debt_amount': {'type': ['number', 'null']}, 'snapshot_date': {'type': ['string', 'null']}, 'threshold_eur': {'type': ['number', 'null']}, 'disputed_amount': {'type': ['number', 'null']}, 'scheduled_amount': {'type': ['number', 'null']}, 'schedule_end_date': {'type': ['string', 'null']}, 'debt_amount_reason': {'type': ['string', 'null']}, 'disputed_amount_reason': {'type': ['string', 'null']}, 'scheduled_amount_reason': {'type': ['string', 'null']}, 'schedule_end_date_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'truncated': {'type': ['boolean', 'null']}, 'disclaimer': {'type': ['string', 'null']}, 'legal_form': {'type': ['string', 'null']}, 'snapshot_id': {'type': ['string', 'null']}, 'registry_code': {'type': ['string', 'null']}, 'insolvency_announcements': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'kind': {'type': ['string', 'null']}, 'category': {'type': ['string', 'null']}, 'type_name': {'type': ['string', 'null']}, 'publication_date': {'type': ['string', 'null']}}, 'additionalProperties': True}}}, 'additionalProperties': True}
company_procurement
Ettevõtte riigihanke võidud
Paginated public-procurement awards for one legal-entity winner. Single-winner and shared multi-winner lots are both listed; attributable company totals live on get_company sections procurement_wins. Opaque cursor pagination, trim-aware under the 8 KB envelope. FIE sole traders are withheld. Use procurement_notices for open notices by text or CPV, and get_company for the win summary.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'company_procurementArguments', 'required': ['registry_code'], 'properties': {'limit': {'type': 'integer', 'title': 'Limit', 'default': 15, 'maximum': 25, 'minimum': 1, 'description': 'At most 25 awards'}, 'cursor': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Cursor', 'default': None, 'description': 'Opaque cursor from a previous next_cursor for the next page'}, 'registry_code': {'type': 'string', 'title': 'Registry Code', 'description': '8-digit commercial register code'}}}
出力スキーマ
{'type': 'object', 'title': 'company_procurementOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'rows': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'title': {'type': ['string', 'null']}, 'lot_id': {'type': ['string', 'null']}, 'cpv_main': {'type': ['string', 'null']}, 'notice_id': {'type': ['string', 'null']}, 'value_eur': {'type': ['number', 'null']}, 'award_date': {'type': ['string', 'null']}, 'buyer_name': {'type': ['string', 'null']}, 'value_unit': {'type': ['string', 'null']}, 'is_framework': {'type': ['boolean', 'null']}, 'tenders_received': {'type': ['number', 'null']}, 'value_eur_reason': {'type': ['string', 'null']}, 'buyer_registry_code': {'type': ['string', 'null']}, 'tenders_received_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'as_of': {'type': ['string', 'null']}, 'found': {'type': ['boolean', 'null']}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'available': {'type': ['boolean', 'null']}, 'row_count': {'type': ['number', 'null']}, 'truncated': {'type': ['boolean', 'null']}, 'dedupe_key': {'anyOf': [{'type': ['array', 'null'], 'items': {'type': ['string', 'null']}}, {'type': ['string', 'number', 'boolean', 'null']}]}, 'disclaimer': {'type': ['string', 'null']}, 'value_note': {'type': ['string', 'null']}, 'next_cursor': {'type': ['string', 'null']}, 'snapshot_id': {'type': ['string', 'null']}, 'registry_code': {'type': ['string', 'null']}, 'framework_flag_note': {'type': ['string', 'null']}}, 'additionalProperties': True}
compare_companies
Võrdle ettevõtteid
Compare up to four companies for one year: accounts, tax debt, distress, and revenue percentile. Use find_companies to discover codes first, and sector_stats for the industry median rather than named peers.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'compare_companiesArguments', 'required': ['registry_codes'], 'properties': {'year': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Year', 'default': None, 'description': 'Financial year. Defaults to the snapshot year.'}, 'registry_codes': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Registry Codes', 'maxItems': 4, 'minItems': 1, 'description': 'One to four 8-digit registry codes'}}}
出力スキーマ
{'type': 'object', 'title': 'compare_companiesOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'year': {'type': ['number', 'null']}, 'as_of': {'type': ['string', 'null']}, 'missing': {'type': ['array', 'null'], 'items': {'type': ['string', 'null']}}, 'partial': {'type': ['boolean', 'null']}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'companies': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'year': {'type': ['number', 'null']}, 'county': {'type': ['string', 'null']}, 'series': {'type': ['object', 'null'], 'properties': {'revenue': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'year': {'type': ['number', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'net_profit': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'year': {'type': ['number', 'null']}, 'value': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'employees_q': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'additionalProperties': True}}}, 'additionalProperties': True}, 'status': {'type': ['string', 'null']}, 'founded': {'type': ['string', 'null']}, 'metrics': {'type': ['object', 'null'], 'properties': {'equity': {'type': ['number', 'null']}, 'period': {'type': ['string', 'null']}, 'revenue': {'type': ['number', 'null']}, 'net_profit': {'type': ['number', 'null']}, 'total_assets': {'type': ['number', 'null']}, 'unit_revenue': {'type': ['string', 'null']}, 'employees_avg': {'type': ['number', 'null']}, 'revenue_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'distress': {'type': ['object', 'null'], 'properties': {'score': {'type': ['number', 'null']}, 'events': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'date': {'type': ['string', 'null']}, 'kind': {'type': ['string', 'null']}, 'score': {'type': ['number', 'null']}, 'previous_score': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'history': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'date': {'type': ['string', 'null']}, 'score': {'type': ['number', 'null']}, 'risk_level': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'components': {'type': ['object', 'null'], 'properties': {'tax_debt': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'board_churn': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'license_loss': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'adverse_media': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'financial_health': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'insolvency_announcements': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'additionalProperties': True}, 'risk_level': {'type': ['string', 'null']}, 'score_unit': {'type': ['string', 'null']}, 'score_reason': {'type': ['string', 'null']}, 'calculated_at': {'type': ['string', 'null']}, 'rise_threshold': {'type': ['number', 'null']}}, 'additionalProperties': True}, 'tax_debt': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'events': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'additionalProperties': True}}, 'series': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'additionalProperties': True}}, 'on_list': {'type': ['boolean', 'null']}, 'episodes': {'type': ['number', 'null']}, 'last_seen': {'type': ['string', 'null']}, 'first_seen': {'type': ['string', 'null']}, 'debt_amount': {'type': ['number', 'null']}, 'peak_amount': {'type': ['number', 'null']}, 'days_on_list': {'type': ['number', 'null']}, 'snapshot_date': {'type': ['string', 'null']}, 'threshold_eur': {'type': ['number', 'null']}, 'clear_absences': {'type': ['number', 'null']}, 'disputed_amount': {'type': ['number', 'null']}, 'oldest_debt_date': {'type': ['string', 'null']}, 'scheduled_amount': {'type': ['number', 'null']}, 'schedule_end_date': {'type': ['string', 'null']}, 'debt_amount_reason': {'type': ['string', 'null']}, 'peak_amount_reason': {'type': ['string', 'null']}, 'disputed_amount_reason': {'type': ['string', 'null']}, 'scheduled_amount_reason': {'type': ['string', 'null']}, 'schedule_end_date_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'emtak_code': {'type': ['string', 'null']}, 'tax_last4q': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'period': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'emtak_label': {'type': ['string', 'null']}, 'state_aid_3y': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'period': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'licence_count': {'type': ['number', 'null']}, 'registry_code': {'type': ['string', 'null']}, 'report_status': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'filed': {'type': ['boolean', 'null']}, 'period': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'next_due': {'type': ['string', 'null']}, 'latest_year': {'type': ['number', 'null']}, 'overdue_days': {'type': ['number', 'null']}, 'latest_year_reason': {'type': ['string', 'null']}, 'overdue_days_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'turnover_last4q': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'period': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'revenue_percentile': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'truncated': {'type': ['boolean', 'null']}, 'disclaimer': {'type': ['string', 'null']}, 'snapshot_id': {'type': ['string', 'null']}}, 'additionalProperties': True}
find_companies
Leia ettevõtteid
Capped company list sorted by revenue descending, filtered by county, EMTAK, revenue, employees, or no current tax debt. County aliases accepted. No personal emails or phone numbers. Use search_companies for a name lookup, and get_company on a code from this list.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'find_companiesArguments', 'properties': {'year': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Year', 'default': None, 'description': 'Financial year'}, 'emtak': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Emtak', 'default': None, 'description': 'EMTAK code or prefix'}, 'limit': {'type': 'integer', 'title': 'Limit', 'default': 25, 'maximum': 50, 'minimum': 1, 'description': 'At most 50 companies'}, 'county': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'County', 'default': None, 'description': 'County name or alias. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.'}, 'max_revenue': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'title': 'Max Revenue', 'default': None, 'description': 'Maximum annual revenue, EUR'}, 'min_revenue': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'title': 'Min Revenue', 'default': None, 'description': 'Minimum annual revenue, EUR'}, 'no_tax_debt': {'anyOf': [{'type': 'boolean'}, {'type': 'null'}], 'title': 'No Tax Debt', 'default': None, 'description': 'Keep only companies with no current tax debt'}, 'max_employees': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Max Employees', 'default': None, 'description': 'Maximum average employees'}, 'min_employees': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Min Employees', 'default': None, 'description': 'Minimum average employees'}}}
出力スキーマ
{'type': 'object', 'title': 'find_companiesOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'year': {'type': ['number', 'null']}, 'as_of': {'type': ['string', 'null']}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'companies': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'county': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'revenue': {'type': ['number', 'null']}, 'employees': {'type': ['number', 'null']}, 'emtak_code': {'type': ['string', 'null']}, 'net_profit': {'type': ['number', 'null']}, 'emtak_label': {'type': ['string', 'null']}, 'municipality': {'type': ['string', 'null']}, 'revenue_year': {'type': ['number', 'null']}, 'registry_code': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'row_count': {'type': ['number', 'null']}, 'truncated': {'type': ['boolean', 'null']}, 'disclaimer': {'type': ['string', 'null']}, 'snapshot_id': {'type': ['string', 'null']}}, 'additionalProperties': True}
get_company
Ettevõtte kaart
Company profile, latest accounts (or all years via sections), last 8 EMTA quarters, current tax debt (with payment-schedule end date when present), commercial-pledge summary, aid, licences, announcements, legal-entity owners (including foreign legal entities, never natural persons), majority-foreign flag, and similar companies. Optional sections add permits, EMTAK activities, EU grants, register history, state contracts, tax-debt history, distress trend, de minimis ceilings, undirected successions, peer percentiles, and procurement wins. Use company_procurement for the paginated award list. Use check_counterparty when the question is only status, tax debt, a missing report, or insolvency. Use search_companies when you only have a name. Use watch_companies for typed changes across many codes.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'get_companyArguments', 'required': ['registry_code'], 'properties': {'sections': {'anyOf': [{'type': 'array', 'items': {'type': 'string'}}, {'type': 'null'}], 'title': 'Sections', 'default': None, 'description': 'Optional extras: permits, activities, grants (EU projects), history (company events), state_contracts, financials (all years), tax_debt_history, distress_trend, de_minimis, successions (undirected legal links), peers (percentiles), procurement_wins (single-winner totals, shared lots, top buyers, flags). Default omits these and returns latest financials only.'}, 'registry_code': {'type': 'string', 'title': 'Registry Code', 'description': '8-digit commercial register code'}}}
出力スキーマ
{'type': 'object', 'title': 'get_companyOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'tax': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'year': {'type': ['number', 'null']}, 'quarter': {'type': ['number', 'null']}, 'turnover': {'type': ['number', 'null']}, 'taxes_paid': {'type': ['number', 'null']}, 'labour_taxes': {'type': ['string', 'number', 'boolean', 'null']}, 'employee_count': {'type': ['number', 'null']}, 'turnover_reason': {'type': ['string', 'null']}, 'taxes_paid_reason': {'type': ['string', 'null']}, 'labour_taxes_reason': {'type': ['string', 'null']}, 'employee_count_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'as_of': {'type': ['string', 'null']}, 'found': {'type': ['boolean', 'null']}, 'peers': {'type': ['object', 'null'], 'properties': {'group': {'type': ['object', 'null'], 'properties': {'n': {'type': ['number', 'null']}, 'year': {'type': ['number', 'null']}, 'emtak': {'type': ['string', 'null']}, 'county': {'type': ['string', 'null']}, 'suppressed': {'type': ['boolean', 'null']}}, 'additionalProperties': True}, 'metrics': {'type': ['object', 'null'], 'properties': {'equity': {'type': ['object', 'null'], 'properties': {'n': {'type': ['number', 'null']}, 'p25': {'type': ['number', 'null']}, 'p50': {'type': ['number', 'null']}, 'p75': {'type': ['number', 'null']}, 'pct': {'type': ['number', 'null']}, 'unit': {'type': ['string', 'null']}, 'period': {'type': ['string', 'null']}, 'reason': {'type': ['string', 'null']}, 'pct_reason': {'type': ['string', 'null']}, 'suppressed': {'type': ['boolean', 'null']}}, 'additionalProperties': True}, 'revenue': {'type': ['object', 'null'], 'properties': {'n': {'type': ['number', 'null']}, 'p25': {'type': ['number', 'null']}, 'p50': {'type': ['number', 'null']}, 'p75': {'type': ['number', 'null']}, 'pct': {'type': ['number', 'null']}, 'unit': {'type': ['string', 'null']}, 'period': {'type': ['string', 'null']}, 'reason': {'type': ['string', 'null']}, 'pct_reason': {'type': ['string', 'null']}, 'suppressed': {'type': ['boolean', 'null']}}, 'additionalProperties': True}, 'employees': {'type': ['object', 'null'], 'properties': {'n': {'type': ['number', 'null']}, 'p25': {'type': ['number', 'null']}, 'p50': {'type': ['number', 'null']}, 'p75': {'type': ['number', 'null']}, 'pct': {'type': ['number', 'null']}, 'unit': {'type': ['string', 'null']}, 'period': {'type': ['string', 'null']}, 'reason': {'type': ['string', 'null']}, 'pct_reason': {'type': ['string', 'null']}, 'suppressed': {'type': ['boolean', 'null']}}, 'additionalProperties': True}, 'net_profit': {'type': ['object', 'null'], 'properties': {'n': {'type': ['number', 'null']}, 'p25': {'type': ['number', 'null']}, 'p50': {'type': ['number', 'null']}, 'p75': {'type': ['number', 'null']}, 'pct': {'type': ['number', 'null']}, 'unit': {'type': ['string', 'null']}, 'period': {'type': ['string', 'null']}, 'reason': {'type': ['string', 'null']}, 'pct_reason': {'type': ['string', 'null']}, 'suppressed': {'type': ['boolean', 'null']}}, 'additionalProperties': True}}, 'additionalProperties': True}}, 'additionalProperties': True}, 'grants': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'title': {'type': ['string', 'null']}, 'amount': {'type': ['number', 'null']}, 'status': {'type': ['string', 'null']}, 'provider': {'type': ['string', 'null']}, 'amount_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'owners': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'country': {'type': ['string', 'null']}, 'foreign': {'type': ['boolean', 'null']}, 'registry_code': {'type': ['string', 'null']}, 'country_reason': {'type': ['string', 'null']}, 'participation_pct': {'type': ['number', 'null']}, 'participation_pct_unit': {'type': ['string', 'null']}, 'participation_pct_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'history': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'date': {'type': ['string', 'null']}, 'kind': {'type': ['string', 'null']}, 'detail': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'permits': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'kind': {'type': ['string', 'null']}, 'number': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'url_reason': {'type': ['string', 'null']}, 'valid_from': {'type': ['string', 'null']}, 'valid_until': {'type': ['string', 'number', 'boolean', 'null']}}, 'additionalProperties': True}}, 'pledges': {'type': ['object', 'null'], 'properties': {'note': {'type': ['string', 'null']}, 'unit': {'type': ['string', 'null']}, 'present': {'type': ['boolean', 'null']}, 'pledge_count': {'type': ['number', 'null']}, 'total_amount_eur': {'type': ['number', 'null']}, 'latest_start_date': {'type': ['string', 'null']}, 'total_amount_eur_reason': {'type': ['string', 'null']}, 'latest_start_date_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'profile': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'county': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'address': {'type': ['string', 'null']}, 'capital': {'type': ['number', 'null']}, 'founded': {'type': ['string', 'null']}, 'website': {'type': ['string', 'null']}, 'is_active': {'type': ['number', 'null']}, 'size_band': {'type': ['string', 'null']}, 'emtak_code': {'type': ['string', 'null']}, 'legal_form': {'type': ['string', 'null']}, 'vat_number': {'type': ['string', 'null']}, 'emtak_label': {'type': ['string', 'null']}, 'municipality': {'type': ['string', 'null']}, 'registry_code': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'similar': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'county': {'type': ['string', 'null']}, 'revenue': {'type': ['number', 'null']}, 'employees': {'type': ['number', 'null']}, 'emtak_code': {'type': ['string', 'null']}, 'revenue_unit': {'type': ['string', 'null']}, 'registry_code': {'type': ['string', 'null']}, 'revenue_reason': {'type': ['string', 'null']}, 'employees_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'holdings': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'country': {'type': ['string', 'null']}, 'foreign': {'type': ['boolean', 'null']}, 'registry_code': {'type': ['string', 'null']}, 'country_reason': {'type': ['string', 'null']}, 'participation_pct': {'type': ['number', 'null']}, 'participation_pct_unit': {'type': ['string', 'null']}, 'participation_pct_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'licences': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'type': {'type': ['string', 'null']}, 'number': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'activity': {'type': ['string', 'null']}, 'valid_from': {'type': ['string', 'null']}, 'inactive_at': {'type': ['string', 'number', 'boolean', 'null']}, 'valid_until': {'type': ['string', 'number', 'boolean', 'null']}}, 'additionalProperties': True}}, 'tax_debt': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'on_list': {'type': ['boolean', 'null']}, 'debt_amount': {'type': ['number', 'null']}, 'snapshot_date': {'type': ['string', 'null']}, 'threshold_eur': {'type': ['number', 'null']}, 'disputed_amount': {'type': ['number', 'null']}, 'scheduled_amount': {'type': ['number', 'null']}, 'schedule_end_date': {'type': ['string', 'null']}, 'debt_amount_reason': {'type': ['string', 'null']}, 'disputed_amount_reason': {'type': ['string', 'null']}, 'scheduled_amount_reason': {'type': ['string', 'null']}, 'schedule_end_date_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'state_aid': {'type': ['object', 'null'], 'properties': {'count': {'type': ['number', 'null']}, 'latest': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'amount': {'type': ['number', 'null']}, 'is_vta': {'type': ['boolean', 'null']}, 'status': {'type': ['string', 'null']}, 'measure': {'type': ['string', 'null']}, 'aid_form': {'type': ['string', 'null']}, 'provider': {'type': ['string', 'null']}, 'amount_unit': {'type': ['string', 'null']}, 'legal_basis': {'type': ['string', 'number', 'boolean', 'null']}, 'amount_reason': {'type': ['string', 'null']}, 'decision_date': {'type': ['string', 'null']}, 'status_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'total_eur': {'type': ['number', 'null']}}, 'additionalProperties': True}, 'truncated': {'type': ['boolean', 'null']}, 'activities': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'label': {'type': ['string', 'null']}, 'emtak_code': {'type': ['string', 'null']}, 'is_primary': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'de_minimis': {'type': ['object', 'null'], 'properties': {'cap': {'type': ['number', 'null']}, 'unit': {'type': ['string', 'null']}, 'sum_3y': {'type': ['number', 'null']}, 'decisions': {'type': ['number', 'null']}, 'remaining': {'type': ['number', 'null']}, 'categories': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'cap': {'type': ['number', 'null']}, 'kind': {'type': ['string', 'null']}, 'unit': {'type': ['string', 'null']}, 'sum_3y': {'type': ['number', 'null']}, 'decisions': {'type': ['number', 'null']}, 'remaining': {'type': ['number', 'null']}, 'regulation': {'type': ['string', 'null']}, 'sum_3y_reason': {'type': ['string', 'null']}, 'regulation_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'indicative': {'type': ['boolean', 'null']}, 'regulation': {'type': ['string', 'null']}, 'window_end': {'type': ['string', 'null']}, 'window_start': {'type': ['string', 'null']}, 'sum_3y_reason': {'type': ['string', 'null']}, 'regulation_url': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'disclaimer': {'type': ['string', 'null']}, 'financials': {'type': ['object', 'array', 'null'], 'additionalProperties': True}, 'snapshot_id': {'type': ['string', 'null']}, 'successions': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'date': {'type': ['string', 'null']}, 'relation': {'type': ['string', 'null']}, 'counterpart_code': {'type': ['string', 'null']}, 'counterpart_name': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'grants_total': {'type': ['number', 'null']}, 'announcements': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'kind': {'type': ['string', 'null']}, 'category': {'type': ['string', 'null']}, 'type_name': {'type': ['string', 'null']}, 'is_current_risk': {'type': ['boolean', 'null']}, 'publication_date': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'history_total': {'type': ['number', 'null']}, 'permits_total': {'type': ['number', 'null']}, 'registry_code': {'type': ['string', 'null']}, 'report_status': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'filed': {'type': ['boolean', 'null']}, 'period': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'next_due': {'type': ['string', 'null']}, 'latest_year': {'type': ['number', 'null']}, 'overdue_days': {'type': ['number', 'null']}, 'latest_year_reason': {'type': ['string', 'null']}, 'overdue_days_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'distress_trend': {'type': ['object', 'null'], 'properties': {'score': {'type': ['number', 'null']}, 'events': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'date': {'type': ['string', 'null']}, 'kind': {'type': ['string', 'null']}, 'score': {'type': ['number', 'null']}, 'previous_score': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'history': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'date': {'type': ['string', 'null']}, 'score': {'type': ['number', 'null']}, 'risk_level': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'risk_level': {'type': ['string', 'null']}, 'score_unit': {'type': ['string', 'null']}, 'score_reason': {'type': ['string', 'null']}, 'calculated_at': {'type': ['string', 'null']}, 'rise_threshold': {'type': ['number', 'null']}}, 'additionalProperties': True}, 'state_contracts': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'role': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'amount_eur': {'type': ['number', 'null']}, 'valid_from': {'type': ['string', 'null']}, 'amount_unit': {'type': ['string', 'null']}, 'valid_until': {'type': ['string', 'number', 'boolean', 'null']}, 'contract_code': {'type': ['string', 'null']}, 'amount_eur_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'activities_total': {'type': ['number', 'null']}, 'de_minimis_total': {'type': ['number', 'null']}, 'financials_total': {'type': ['number', 'null']}, 'procurement_wins': {'type': ['object', 'null'], 'properties': {'flags': {'type': ['object', 'null'], 'additionalProperties': True}, 'by_year': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'additionalProperties': True}}, 'available': {'type': ['boolean', 'null']}, 'value_eur': {'type': ['number', 'null']}, 'win_count': {'type': ['number', 'null']}, 'dedupe_key': {'type': ['string', 'array', 'object', 'null'], 'items': {'type': ['string', 'number', 'null']}, 'additionalProperties': True}, 'top_buyers': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'additionalProperties': True}}, 'value_note': {'type': ['string', 'null']}, 'value_unit': {'type': ['string', 'null']}, 'group_totals': {'type': ['object', 'null'], 'properties': {'subsidiaries': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'additionalProperties': True}}, 'subsidiaries_total': {'type': ['number', 'null']}}, 'additionalProperties': True}, 'by_year_total': {'type': ['number', 'null']}, 'framework_count': {'type': ['number', 'null']}, 'last_award_date': {'type': ['string', 'null']}, 'state_dependence': {'type': ['object', 'null'], 'properties': {'rows': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'additionalProperties': True}}, 'rows_total': {'type': ['number', 'null']}, 'explanation': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'top_buyers_total': {'type': ['number', 'null']}, 'value_eur_reason': {'type': ['string', 'null']}, 'framework_flag_note': {'type': ['string', 'null']}, 'shared_multi_winner': {'type': ['object', 'null'], 'additionalProperties': True}, 'tenders_known_count': {'type': ['number', 'null']}}, 'additionalProperties': True}, 'tax_debt_history': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'events': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'date': {'type': ['string', 'null']}, 'kind': {'type': ['string', 'null']}, 'unit': {'type': ['string', 'null']}, 'amount': {'type': ['number', 'null']}, 'previous_amount': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'series': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'date': {'type': ['string', 'null']}, 'unit': {'type': ['string', 'null']}, 'debt_amount': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'on_list': {'type': ['boolean', 'null']}, 'episodes': {'type': ['number', 'null']}, 'last_seen': {'type': ['string', 'null']}, 'first_seen': {'type': ['string', 'null']}, 'peak_amount': {'type': ['number', 'null']}, 'days_on_list': {'type': ['number', 'null']}, 'threshold_eur': {'type': ['number', 'null']}, 'clear_absences': {'type': ['number', 'null']}, 'oldest_debt_date': {'type': ['string', 'null']}, 'peak_amount_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'successions_total': {'type': ['number', 'null']}, 'distress_trend_total': {'type': ['number', 'null']}, 'state_contracts_total': {'type': ['number', 'null']}, 'majority_foreign_owned': {'type': ['boolean', 'null']}, 'tax_debt_history_total': {'type': ['number', 'null']}, 'unnamed_foreign_owner_count': {'type': ['integer', 'null']}}, 'additionalProperties': True}
open_calls
Avatud taotlusvoorud
Open funding calls from EIS, PRIA, and KIK. Use procurement_notices for public tenders. This tool does not draft an application.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'open_callsArguments', 'properties': {'emtak': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Emtak', 'default': None, 'description': 'EMTAK code. Matched on the division when the call has rules.'}, 'county': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'County', 'default': None, 'description': 'County name or alias. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.'}, 'provider': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Provider', 'default': None, 'description': 'Funder, for example EIS'}, 'deadline_within_days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 0}, {'type': 'null'}], 'title': 'Deadline Within Days', 'default': None, 'description': 'Keep calls whose deadline is within this many days'}}}
出力スキーマ
{'type': 'object', 'title': 'open_callsOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'as_of': {'type': ['string', 'null']}, 'calls': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'id': {'type': ['number', 'null']}, 'title': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'measure': {'type': ['string', 'null']}, 'summary': {'type': ['string', 'null']}, 'category': {'type': ['string', 'null']}, 'deadline': {'type': ['string', 'null']}, 'provider': {'type': ['string', 'null']}, 'max_grant': {'type': ['number', 'null']}, 'source_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'row_count': {'type': ['number', 'null']}, 'truncated': {'type': ['boolean', 'null']}, 'disclaimer': {'type': ['string', 'null']}, 'snapshot_id': {'type': ['string', 'null']}}, 'additionalProperties': True}
procurement_notices
Riigihanked
Public procurement notices with buyer, deadline, CPV, value, and open-only filters. Each notice includes notice_type so agents can tell a call for tender from an award. Title/buyer text uses contains matching. Opaque cursor pagination. Companies and authorities only. Use company_procurement for awards won by one registry code. Use open_calls for grants and funding calls, not tenders.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'procurement_noticesArguments', 'properties': {'cpv': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Cpv', 'default': None, 'description': 'CPV code prefix'}, 'days': {'anyOf': [{'type': 'integer', 'maximum': 3650, 'minimum': 1}, {'type': 'null'}], 'title': 'Days', 'default': None, 'description': 'Published within this many days'}, 'buyer': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Buyer', 'default': None, 'description': 'Buyer name or registry code'}, 'limit': {'type': 'integer', 'title': 'Limit', 'default': 15, 'maximum': 25, 'minimum': 1, 'description': 'At most 25 notices'}, 'query': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Query', 'default': None, 'description': 'Title or buyer text (contains match on folded title/authority)'}, 'cursor': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Cursor', 'default': None, 'description': 'Opaque cursor from a previous next_cursor for the next page'}, 'open_only': {'type': 'boolean', 'title': 'Open Only', 'default': False, 'description': 'Keep open contract notices (cn-*) with deadline on/after today; exclude award notices'}, 'max_value_eur': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'title': 'Max Value Eur', 'default': None, 'description': 'Maximum estimated value in EUR (finite, 0..1e15)'}, 'min_value_eur': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'title': 'Min Value Eur', 'default': None, 'description': 'Minimum estimated value in EUR (finite, 0..1e15)'}, 'include_null_value': {'type': 'boolean', 'title': 'Include Null Value', 'default': False, 'description': 'When min/max value filters are set, also keep notices with no estimated value'}, 'deadline_within_days': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Deadline Within Days', 'default': None, 'description': 'Keep notices whose submission deadline is within this many days (0..3650)'}}}
出力スキーマ
{'type': 'object', 'title': 'procurement_noticesOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'as_of': {'type': ['string', 'null']}, 'notices': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'title': {'type': ['string', 'null']}, 'cpv_main': {'type': ['string', 'null']}, 'eu_funded': {'type': ['boolean', 'null']}, 'notice_id': {'type': ['string', 'null']}, 'issue_date': {'type': ['string', 'null']}, 'notice_type': {'type': ['string', 'null']}, 'authority_name': {'type': ['string', 'null']}, 'procedure_type': {'type': ['string', 'null']}, 'estimated_value_eur': {'type': ['number', 'null']}, 'submission_deadline': {'type': ['string', 'null']}, 'authority_registry_code': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'row_count': {'type': ['number', 'null']}, 'truncated': {'type': ['boolean', 'null']}, 'disclaimer': {'type': ['string', 'null']}, 'next_cursor': {'type': ['string', 'null']}, 'snapshot_id': {'type': ['string', 'null']}}, 'additionalProperties': True}
region_stats
Piirkonna statistika
County figures, or every county when county is omitted: medians, employment, and aid. Use sector_stats when the question is an EMTAK rather than a place.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'region_statsArguments', 'properties': {'year': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Year', 'default': None, 'description': 'Year'}, 'county': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'County', 'default': None, 'description': 'County name or alias. Omit for every county. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.'}}}
出力スキーマ
{'type': 'object', 'title': 'region_statsOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'aid': {'type': ['object', 'null'], 'properties': {'sum': {'type': ['number', 'null']}, 'unit': {'type': ['string', 'null']}, 'year': {'type': ['number', 'null']}, 'period': {'type': ['string', 'null']}, 'decisions': {'type': ['number', 'null']}, 'sum_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'slug': {'type': ['string', 'null']}, 'year': {'type': ['number', 'null']}, 'as_of': {'type': ['string', 'null']}, 'found': {'type': ['boolean', 'null']}, 'county': {'type': ['string', 'null']}, 'largest': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'year': {'type': ['number', 'null']}, 'revenue': {'type': ['number', 'null']}, 'revenue_unit': {'type': ['string', 'null']}, 'registry_code': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'partial': {'type': ['boolean', 'null']}, 'sectors': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'emtak': {'type': ['string', 'null']}, 'label': {'type': ['string', 'null']}, 'employees': {'type': ['number', 'null']}, 'revenue_sum': {'type': ['number', 'null']}, 'company_count': {'type': ['number', 'null']}, 'employees_reason': {'type': ['string', 'null']}, 'revenue_sum_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'counties': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'county': {'type': ['string', 'null']}, 'aid_sum': {'type': ['number', 'null']}, 'employees': {'type': ['number', 'null']}, 'company_count': {'type': ['number', 'null']}, 'median_revenue': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'delta_pct': {'type': ['number', 'null']}, 'share_pct': {'type': ['number', 'null']}, 'truncated': {'type': ['boolean', 'null']}, 'demography': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'new': {'type': ['number', 'null']}, 'year': {'type': ['number', 'null']}, 'deleted': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'disclaimer': {'type': ['string', 'null']}, 'gross_wage': {'type': ['string', 'number', 'boolean', 'null']}, 'year_label': {'type': ['string', 'null']}, 'snapshot_id': {'type': ['string', 'null']}, 'bankruptcies': {'type': ['string', 'number', 'boolean', 'null']}, 'transactions': {'type': ['object', 'null'], 'properties': {'note': {'type': ['string', 'null']}, 'unit': {'type': ['string', 'null']}, 'period': {'type': ['string', 'null']}, 'reason': {'type': ['string', 'null']}, 'partial': {'type': ['boolean', 'null']}, 'frozen_at': {'type': ['string', 'null']}, 'note_code': {'type': ['string', 'null']}, 'note_params': {'type': ['object', 'null'], 'properties': {}, 'additionalProperties': True}, 'property_type': {'type': ['string', 'null']}, 'median_price_m2': {'type': ['number', 'null']}}, 'additionalProperties': True}, 'unemployment': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}, 'period': {'type': ['string', 'null']}, 'reason': {'type': ['string', 'null']}, 'source': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'company_count': {'type': ['number', 'null']}, 'median_series': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'year': {'type': ['number', 'null']}, 'reason': {'type': ['string', 'null']}, 'median_revenue': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'employees_unit': {'type': ['string', 'null']}, 'median_revenue': {'type': ['number', 'null']}, 'municipalities': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'unit': {'type': ['string', 'null']}, 'company_count': {'type': ['number', 'null']}, 'median_revenue': {'type': ['number', 'null']}, 'median_revenue_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'employees_total': {'type': ['number', 'null']}, 'open_call_count': {'type': ['number', 'null']}, 'counties_compare': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'county': {'type': ['string', 'null']}, 'company_count': {'type': ['number', 'null']}, 'median_revenue': {'type': ['number', 'null']}, 'median_revenue_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'delta_pct_reason': {'type': ['string', 'null']}, 'share_pct_reason': {'type': ['string', 'null']}, 'median_revenue_unit': {'type': ['string', 'null']}, 'wage_municipalities': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'unit': {'type': ['string', 'null']}, 'value': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'company_count_reason': {'type': ['string', 'null']}, 'median_revenue_reason': {'type': ['string', 'null']}, 'employees_total_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}
risk_signals
Riskisignaalid
Companies that currently match one register signal: tax debt, bankruptcy, liquidation, enforcement, restructuring, or distress. Each row is a company, not a person. Opaque cursor pagination. Use check_counterparty for one known registry code.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'risk_signalsArguments', 'properties': {'kind': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Kind', 'default': None, 'description': 'tax_debt, bankruptcy, liquidation, enforcement, restructuring, distress_high, or distress_moderate'}, 'emtak': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Emtak', 'default': None, 'description': 'EMTAK code or prefix'}, 'limit': {'type': 'integer', 'title': 'Limit', 'default': 15, 'maximum': 25, 'minimum': 1, 'description': 'At most 25 signals'}, 'county': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'County', 'default': None, 'description': 'County name or alias. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.'}, 'cursor': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Cursor', 'default': None, 'description': 'Opaque cursor from a previous next_cursor for the next page'}}}
出力スキーマ
{'type': 'object', 'title': 'risk_signalsOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'as_of': {'type': ['string', 'null']}, 'signals': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'kind': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'label': {'type': ['string', 'null']}, 'score': {'type': ['number', 'null']}, 'amount': {'type': ['number', 'null']}, 'county': {'type': ['string', 'null']}, 'emtak_code': {'type': ['string', 'null']}, 'event_date': {'type': ['string', 'null']}, 'risk_level': {'type': ['string', 'null']}, 'amount_unit': {'type': ['string', 'null']}, 'registry_code': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'row_count': {'type': ['number', 'null']}, 'truncated': {'type': ['boolean', 'null']}, 'disclaimer': {'type': ['string', 'null']}, 'next_cursor': {'type': ['string', 'null']}, 'snapshot_id': {'type': ['string', 'null']}}, 'additionalProperties': True}
search_companies
Otsi ettevõtteid
Search active legal entities by current or former name or registry code. Use include_inactive for non-active statuses. County aliases accepted; unknown county errors. Opaque cursor pagination. Use this for a short list when you have a name or a code. Use get_company for one code's full card, and find_companies to filter by county, EMTAK, revenue, or employees.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'search_companiesArguments', 'required': ['query'], 'properties': {'emtak': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Emtak', 'default': None, 'description': 'EMTAK code or prefix'}, 'limit': {'type': 'integer', 'title': 'Limit', 'default': 10, 'maximum': 25, 'minimum': 1, 'description': 'At most 25 companies'}, 'query': {'type': 'string', 'title': 'Query', 'description': 'Company name or 8-digit registry code'}, 'county': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'County', 'default': None, 'description': 'County name or alias (Harju, Harjumaa, Harju maakond). Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.'}, 'cursor': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Cursor', 'default': None, 'description': 'Opaque cursor from a previous next_cursor for the next page'}, 'include_inactive': {'type': 'boolean', 'title': 'Include Inactive', 'default': False, 'description': 'Include liquidated, bankrupt, and deleted companies. Default false.'}}}
出力スキーマ
{'type': 'object', 'title': 'search_companiesOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'as_of': {'type': ['string', 'null']}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'companies': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'county': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'revenue': {'type': ['number', 'null']}, 'employees': {'type': ['number', 'null']}, 'emtak_code': {'type': ['string', 'null']}, 'net_profit': {'type': ['number', 'null']}, 'emtak_label': {'type': ['string', 'null']}, 'municipality': {'type': ['string', 'null']}, 'revenue_year': {'type': ['number', 'null']}, 'registry_code': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'row_count': {'type': ['number', 'null']}, 'truncated': {'type': ['boolean', 'null']}, 'disclaimer': {'type': ['string', 'null']}, 'next_cursor': {'type': ['string', 'null']}, 'snapshot_id': {'type': ['string', 'null']}}, 'additionalProperties': True}
sector_stats
Tegevusala statistika
Sector medians, percentiles, and company counts for one EMTAK 2025 code. Old EMTAK 2008 codes are resolved through the snapshot crosswalk and the result carries a note. Use region_stats when the question is a county rather than an industry, and compare_companies for named firms.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'sector_statsArguments', 'required': ['emtak'], 'properties': {'year': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'title': 'Year', 'default': None, 'description': 'Year'}, 'emtak': {'type': 'string', 'title': 'Emtak', 'description': 'EMTAK 2025 code or division. EMTAK 2008 codes are resolved via the snapshot crosswalk.'}, 'county': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'County', 'default': None, 'description': 'County name or alias, optional. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.'}}}
出力スキーマ
{'type': 'object', 'title': 'sector_statsOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'acts': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'rt_id': {'type': ['number', 'string', 'null']}, 'title': {'type': ['string', 'null']}, 'act_id': {'type': ['number', 'string', 'null']}, 'derived': {'type': ['boolean', 'null']}, 'global_id': {'type': ['number', 'string', 'null']}, 'amended_at': {'type': ['string', 'null']}, 'obligation_count': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'year': {'type': ['number', 'null']}, 'as_of': {'type': ['string', 'null']}, 'emtak': {'type': ['string', 'null']}, 'found': {'type': ['boolean', 'null']}, 'label': {'type': ['string', 'null']}, 'level': {'type': ['string', 'null']}, 'trend': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'year': {'type': ['number', 'null']}, 'n_county': {'type': ['number', 'null']}, 'n_national': {'type': ['number', 'null']}, 'median_county': {'type': ['number', 'null']}, 'median_national': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'partial': {'type': ['boolean', 'null']}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'histogram': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'count': {'type': ['number', 'null']}, 'bin_label': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'truncated': {'type': ['boolean', 'null']}, 'disclaimer': {'type': ['string', 'null']}, 'emtak_note': {'type': ['object', 'null'], 'properties': {'notice': {'type': ['string', 'null']}, 'to_emtak': {'type': ['string', 'null']}, 'notice_en': {'type': ['string', 'null']}, 'from_emtak': {'type': ['string', 'null']}}, 'additionalProperties': True}, 'percentiles': {'type': ['object', 'null'], 'properties': {'n': {'type': ['number', 'null']}, 'p25': {'type': ['number', 'null']}, 'p50': {'type': ['number', 'null']}, 'p75': {'type': ['number', 'null']}, 'unit': {'type': ['string', 'null']}, 'period': {'type': ['string', 'null']}, 'reason': {'type': ['string', 'null']}, 'suppressed': {'type': ['boolean', 'null']}, 'excludes_zero_revenue': {'type': ['boolean', 'null']}}, 'additionalProperties': True}, 'revenue_sum': {'type': ['number', 'null']}, 'snapshot_id': {'type': ['string', 'null']}, 'company_count': {'type': ['number', 'null']}, 'licence_count': {'type': ['number', 'null']}, 'acts_universal': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'rt_id': {'type': ['number', 'string', 'null']}, 'title': {'type': ['string', 'null']}, 'act_id': {'type': ['number', 'string', 'null']}, 'derived': {'type': ['boolean', 'null']}, 'global_id': {'type': ['number', 'string', 'null']}, 'amended_at': {'type': ['string', 'null']}, 'obligation_count': {'type': ['number', 'null']}}, 'additionalProperties': True}}, 'median_revenue': {'type': ['number', 'null']}, 'employees_total': {'type': ['number', 'null']}, 'emtak_requested': {'type': ['string', 'null']}, 'median_revenue_reason': {'type': ['string', 'null']}, 'company_count_national': {'type': ['number', 'null']}}, 'additionalProperties': True}
watch_companies
Jälgi ettevõtteid
Typed change events for a bounded list of registry codes: name, status, capital, succession, tax-debt, and distress moves. Returns an exceptions-oriented watch list with report status and current tax debt. Use check_counterparty for one code, and get_company sections tax_debt_history or distress_trend for deeper history on one company.
読み取り専用
入力スキーマ
{'type': 'object', 'title': 'watch_companiesArguments', 'required': ['registry_codes'], 'properties': {'since': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Since', 'default': None, 'description': 'Opaque change cursor (event id) or previous snapshot_id. Omit for the full typed change list in this snapshot.'}, 'cursor': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'title': 'Cursor', 'default': None, 'description': 'Opaque cursor from a previous next_cursor for the next page'}, 'registry_codes': {'type': 'array', 'items': {'type': 'string'}, 'title': 'Registry Codes', 'minItems': 1, 'description': 'One to fifty 8-digit registry codes (Büroo change feed)'}}}
出力スキーマ
{'type': 'object', 'title': 'watch_companiesOutput', 'required': ['snapshot_id', 'as_of', 'sources', 'disclaimer'], 'properties': {'rows': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'name': {'type': ['string', 'null']}, 'emtak': {'type': ['string', 'null']}, 'county': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'changes': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'id': {'type': ['number', 'string', 'null']}, 'date': {'type': ['string', 'null']}, 'kind': {'type': ['string', 'null']}, 'text': {'type': ['string', 'null']}, 'detail': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'tax_debt': {'type': ['object', 'null'], 'properties': {'as_of': {'type': ['string', 'null']}, 'amount': {'type': ['number', 'null']}, 'on_list': {'type': ['boolean', 'null']}, 'debt_amount': {'type': ['number', 'null']}}, 'additionalProperties': True}, 'registry_code': {'type': ['string', 'null']}, 'report_status': {'type': ['object', 'null'], 'properties': {'unit': {'type': ['string', 'null']}, 'filed': {'type': ['boolean', 'null']}, 'period': {'type': ['string', 'null']}, 'status': {'type': ['string', 'null']}, 'next_due': {'type': ['string', 'null']}, 'latest_year': {'type': ['number', 'null']}, 'overdue_days': {'type': ['number', 'null']}, 'latest_year_reason': {'type': ['string', 'null']}, 'overdue_days_reason': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'additionalProperties': True}}, 'as_of': {'type': ['string', 'null']}, 'since': {'type': ['string', 'null']}, 'sources': {'type': ['array', 'null'], 'items': {'type': ['object', 'null'], 'properties': {'url': {'type': ['string', 'null']}, 'name': {'type': ['string', 'null']}, 'licence': {'type': ['string', 'null']}, 'attribution': {'type': ['string', 'null']}, 'licence_url': {'type': ['string', 'null']}}, 'additionalProperties': True}}, 'requested': {'type': ['number', 'null']}, 'row_count': {'type': ['number', 'null']}, 'truncated': {'type': ['boolean', 'null']}, 'disclaimer': {'type': ['string', 'null']}, 'next_cursor': {'type': ['string', 'null']}, 'snapshot_id': {'type': ['string', 'null']}}, 'additionalProperties': True}
追加
watch_companies
2026年9月29日2:48
変更
risk_signals
2026年9月29日2:48
追加
company_procurement
2026年9月29日2:48
変更
procurement_notices
2026年9月29日2:48
変更
open_calls
2026年9月29日2:48
変更
region_stats
2026年9月29日2:48
変更
sector_stats
2026年9月29日2:48
変更
find_companies
2026年9月29日2:48
変更
compare_companies
2026年9月29日2:48
変更
check_counterparty
2026年9月29日2:48
変更
get_company
2026年9月29日2:48
変更
search_companies
2026年9月29日2:48
追加
risk_signals
2026年9月27日2:40
追加
procurement_notices
2026年9月27日2:40
追加
open_calls
2026年9月27日2:40
追加
region_stats
2026年9月27日2:40
追加
sector_stats
2026年9月27日2:40
追加
find_companies
2026年9月27日2:40
追加
compare_companies
2026年9月27日2:40
追加
check_counterparty
2026年9月27日2:40
追加
get_company
2026年9月27日2:40
追加
search_companies
2026年9月27日2:40