Ärikratt

Estonian companies, EMTAK, grants and tenders from public registers.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
83%
Calidad de los nombres
88%
Riesgo de envenenamiento
80%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (2)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool description contains suspicious base64-like encoded stringen check_counterparty

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~15,140Tokens (definiciones de herramientas)
~13.3 KBTamaño de respuesta típico
Impacto significativo en la atención (11.83% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "arikratt": {
      "url": "https://arikratt.ee/mcp"
    }
  }
}

Puntos de conexión remotos

https://arikratt.ee/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (12)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢search_companies(query, county, emtak, include_inactive, cursor, ...)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Company name or 8-digit registry code",
      "title": "Query",
      "type": "string"
    },
    "county": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "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.",
      "title": "County"
    },
    "emtak": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "EMTAK code or prefix",
      "title": "Emtak"
    },
    "include_inactive": {
      "default": false,
      "description": "Include liquidated, bankrupt, and deleted companies. Default false.",
      "title": "Include Inactive",
      "type": "boolean"
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Opaque cursor from a previous next_cursor for the next page",
      "title": "Cursor"
    },
    "limit": {
      "default": 10,
      "description": "At most 25 companies",
      "maximum": 25,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "query"
  ],
  "title": "search_companiesArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "companies": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "municipality": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue": {
            "type": [
              "number",
              "null"
            ]
          },
          "revenue_year": {
            "type": [
              "number",
              "null"
            ]
          },
          "employees": {
            "type": [
              "number",
              "null"
            ]
          },
          "net_profit": {
            "type": [
              "number",
              "null"
            ]
          }
        }
      }
    },
    "row_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "search_companiesOutput"
}
🟢get_company(registry_code, sections)

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, procurement wins with repeat-pair and exact-date debt indicators, former_ownership (observed links, history from 2026-07-29), shared_board (at most 20 companies and total; no person data), and appointments (anonymous counts/dates). Distress includes top stored contributions and evidence keys. Sources retain freshness clock types where available. 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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "registry_code": {
      "description": "8-digit commercial register code",
      "title": "Registry Code",
      "type": "string"
    },
    "sections": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "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 (totals and dated award context), former_ownership (observed organisation links), shared_board (company counts only), appointments (anonymous counts/dates). Default omits these and returns latest financials only.",
      "title": "Sections"
    }
  },
  "required": [
    "registry_code"
  ],
  "title": "get_companyArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "found": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "registry_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "profile": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "registry_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        },
        "legal_form": {
          "type": [
            "string",
            "null"
          ]
        },
        "county": {
          "type": [
            "string",
            "null"
          ]
        },
        "municipality": {
          "type": [
            "string",
            "null"
          ]
        },
        "emtak_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "emtak_label": {
          "type": [
            "string",
            "null"
          ]
        },
        "address": {
          "type": [
            "string",
            "null"
          ]
        },
        "website": {
          "type": [
            "string",
            "null"
          ]
        },
        "founded": {
          "type": [
            "string",
            "null"
          ]
        },
        "capital": {
          "type": [
            "number",
            "null"
          ]
        },
        "vat_number": {
          "type": [
            "string",
            "null"
          ]
        },
        "is_active": {
          "type": [
            "number",
            "null"
          ]
        },
        "size_band": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "financials": {
      "type": [
        "object",
        "array",
        "null"
      ],
      "additionalProperties": true
    },
    "tax": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "year": {
            "type": [
              "number",
              "null"
            ]
          },
          "quarter": {
            "type": [
              "number",
              "null"
            ]
          },
          "taxes_paid": {
            "type": [
              "number",
              "null"
            ]
          },
          "taxes_paid_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "labour_taxes": {
            "type": [
              "string",
              "number",
              "boolean",
              "null"
            ]
          },
          "labour_taxes_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "turnover": {
            "type": [
              "number",
              "null"
            ]
          },
          "turnover_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "employee_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "employee_count_reason": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "tax_debt": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "snapshot_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "debt_amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "debt_amount_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "disputed_amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "disputed_amount_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "scheduled_amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "scheduled_amount_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "threshold_eur": {
          "type": [
            "number",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "on_list": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "schedule_end_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "schedule_end_date_reason": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "state_aid": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "count": {
          "type": [
            "number",
            "null"
          ]
        },
        "total_eur": {
          "type": [
            "number",
            "null"
          ]
        },
        "latest": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "decision_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "provider": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "measure": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount_unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "aid_form": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "legal_basis": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "null"
                ]
              },
              "is_vta": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "url": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          }
        }
      },
      "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"
            ]
          },
          "valid_until": {
            "type": [
              "string",
              "number",
              "boolean",
              "null"
            ]
          },
          "inactive_at": {
            "type": [
              "string",
              "number",
              "boolean",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "announcements": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "publication_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "type_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_current_risk": {
            "type": [
              "boolean",
              "null"
            ]
          }
        }
      }
    },
    "owners": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "country_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "foreign": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "participation_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "participation_pct_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "participation_pct_unit": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "holdings": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "country": {
            "type": [
              "string",
              "null"
            ]
          },
          "country_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "foreign": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "participation_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "participation_pct_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "participation_pct_unit": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "similar": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "employees": {
            "type": [
              "number",
              "null"
            ]
          },
          "employees_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue": {
            "type": [
              "number",
              "null"
            ]
          },
          "revenue_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue_unit": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "report_status": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "latest_year": {
          "type": [
            "number",
            "null"
          ]
        },
        "latest_year_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "filed": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "next_due": {
          "type": [
            "string",
            "null"
          ]
        },
        "overdue_days": {
          "type": [
            "number",
            "null"
          ]
        },
        "overdue_days_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        },
        "period": {
          "type": [
            "string",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "permits": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "kind": {
            "type": [
              "string",
              "null"
            ]
          },
          "number": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "url_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "valid_from": {
            "type": [
              "string",
              "null"
            ]
          },
          "valid_until": {
            "type": [
              "string",
              "number",
              "boolean",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "permits_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "activities": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "emtak_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_primary": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "activities_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "grants": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "provider": {
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "type": [
              "number",
              "null"
            ]
          },
          "amount_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "grants_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "history": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": [
              "string",
              "null"
            ]
          },
          "detail": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "history_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "state_contracts": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "contract_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "role": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "valid_from": {
            "type": [
              "string",
              "null"
            ]
          },
          "valid_until": {
            "type": [
              "string",
              "number",
              "boolean",
              "null"
            ]
          },
          "amount_eur": {
            "type": [
              "number",
              "null"
            ]
          },
          "amount_eur_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "amount_unit": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "state_contracts_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "financials_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "tax_debt_history": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "on_list": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "first_seen": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_seen": {
          "type": [
            "string",
            "null"
          ]
        },
        "days_on_list": {
          "type": [
            "number",
            "null"
          ]
        },
        "episodes": {
          "type": [
            "number",
            "null"
          ]
        },
        "peak_amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "peak_amount_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "oldest_debt_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "clear_absences": {
          "type": [
            "number",
            "null"
          ]
        },
        "series": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "debt_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          }
        },
        "events": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "kind": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "previous_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          }
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "threshold_eur": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "tax_debt_history_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "distress_trend": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "score": {
          "type": [
            "number",
            "null"
          ]
        },
        "score_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "score_unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "risk_level": {
          "type": [
            "string",
            "null"
          ]
        },
        "calculated_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "rise_threshold": {
          "type": [
            "number",
            "null"
          ]
        },
        "history": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "properties": {
              "date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "score": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "risk_level": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "events": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "properties": {
              "kind": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "score": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "previous_score": {
                "type": [
                  "number",
                  "null"
                ]
              }
            }
          }
        }
      },
      "additionalProperties": true
    },
    "distress_trend_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "de_minimis": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "sum_3y": {
          "type": [
            "number",
            "null"
          ]
        },
        "sum_3y_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "cap": {
          "type": [
            "number",
            "null"
          ]
        },
        "remaining": {
          "type": [
            "number",
            "null"
          ]
        },
        "window_start": {
          "type": [
            "string",
            "null"
          ]
        },
        "window_end": {
          "type": [
            "string",
            "null"
          ]
        },
        "decisions": {
          "type": [
            "number",
            "null"
          ]
        },
        "indicative": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "regulation": {
          "type": [
            "string",
            "null"
          ]
        },
        "regulation_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "categories": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "kind": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "sum_3y": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "sum_3y_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "cap": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "remaining": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "decisions": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "regulation": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "regulation_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          }
        }
      },
      "additionalProperties": true
    },
    "de_minimis_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "successions": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "relation": {
            "type": [
              "string",
              "null"
            ]
          },
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "counterpart_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "counterpart_name": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "successions_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "peers": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "group": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "emtak": {
              "type": [
                "string",
                "null"
              ]
            },
            "county": {
              "type": [
                "string",
                "null"
              ]
            },
            "year": {
              "type": [
                "number",
                "null"
              ]
            },
            "n": {
              "type": [
                "number",
                "null"
              ]
            },
            "suppressed": {
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "additionalProperties": true
        },
        "metrics": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "revenue": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "p25": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "p50": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "p75": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "n": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "suppressed": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "pct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "pct_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "period": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "employees": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "p25": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "p50": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "p75": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "n": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "suppressed": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "pct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "pct_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "period": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "net_profit": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "p25": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "p50": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "p75": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "n": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "suppressed": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "pct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "pct_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "period": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "equity": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "p25": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "p50": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "p75": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "n": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "suppressed": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "pct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "pct_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "period": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "additionalProperties": true
        }
      },
      "additionalProperties": true
    },
    "procurement_wins": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true,
      "properties": {
        "available": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "dedupe_key": {
          "type": [
            "string",
            "array",
            "object",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "number",
              "null"
            ]
          },
          "additionalProperties": true
        },
        "value_note": {
          "type": [
            "string",
            "null"
          ]
        },
        "win_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "value_eur": {
          "type": [
            "number",
            "null"
          ]
        },
        "value_eur_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "value_unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_award_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "framework_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "framework_flag_note": {
          "type": [
            "string",
            "null"
          ]
        },
        "tenders_known_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "shared_multi_winner": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true
        },
        "by_year": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          }
        },
        "by_year_total": {
          "type": [
            "number",
            "null"
          ]
        },
        "top_buyers": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          }
        },
        "top_buyers_total": {
          "type": [
            "number",
            "null"
          ]
        },
        "flags": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true
        },
        "state_dependence": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true,
          "properties": {
            "rows": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": true
              }
            },
            "rows_total": {
              "type": [
                "number",
                "null"
              ]
            },
            "explanation": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "group_totals": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": true,
          "properties": {
            "subsidiaries": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": true
              }
            },
            "subsidiaries_total": {
              "type": [
                "number",
                "null"
              ]
            }
          }
        }
      }
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "pledges": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true,
      "properties": {
        "present": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "pledge_count": {
          "type": [
            "number",
            "null"
          ]
        },
        "total_amount_eur": {
          "type": [
            "number",
            "null"
          ]
        },
        "total_amount_eur_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "latest_start_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "latest_start_date_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "note": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "majority_foreign_owned": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "unnamed_foreign_owner_count": {
      "type": [
        "integer",
        "null"
      ]
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "get_companyOutput"
}
🟢check_counterparty(registry_code)

Status, tax debt (missing means unknown, with no date), last filed report, overdue days, bankruptcy/liquidation/restructuring/enforcement notice flags with dates and ametlikudteadaanded.ee links, and distress with top stored contributions, component evidence keys and methodology version for one registry code (indicator, not a finding). 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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "registry_code": {
      "description": "8-digit commercial register code",
      "title": "Registry Code",
      "type": "string"
    }
  },
  "required": [
    "registry_code"
  ],
  "title": "check_counterpartyArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "found": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "registry_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": [
        "string",
        "null"
      ]
    },
    "legal_form": {
      "type": [
        "string",
        "null"
      ]
    },
    "tax_debt": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "snapshot_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "debt_amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "debt_amount_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "disputed_amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "disputed_amount_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "scheduled_amount": {
          "type": [
            "number",
            "null"
          ]
        },
        "scheduled_amount_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "threshold_eur": {
          "type": [
            "number",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "on_list": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "schedule_end_date": {
          "type": [
            "string",
            "null"
          ]
        },
        "schedule_end_date_reason": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "report": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "latest_year": {
          "type": [
            "number",
            "null"
          ]
        },
        "latest_year_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "filed": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "next_due": {
          "type": [
            "string",
            "null"
          ]
        },
        "overdue_days": {
          "type": [
            "number",
            "null"
          ]
        },
        "overdue_days_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": [
            "string",
            "null"
          ]
        },
        "period": {
          "type": [
            "string",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "insolvency_announcements": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "kind": {
            "type": [
              "string",
              "null"
            ]
          },
          "publication_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          },
          "type_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "distress": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "risk_level": {
          "type": [
            "string",
            "null"
          ]
        },
        "score": {
          "type": [
            "number",
            "null"
          ]
        },
        "score_unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "calculated_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "components": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "tax_debt": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "value": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "financial_health": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "value": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "board_churn": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "value": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "insolvency_announcements": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "value": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "license_loss": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "value": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "adverse_media": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "value": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "additionalProperties": true
        }
      },
      "additionalProperties": true
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "flags": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true,
      "properties": {
        "bankruptcy": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "liquidation": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "restructuring": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "enforcement": {
          "type": [
            "boolean",
            "null"
          ]
        }
      }
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "check_counterpartyOutput"
}
🟢compare_companies(registry_codes, year)

Compare up to four companies for one year: accounts, tax debt, distress, and revenue percentile. Missing tax debt is unknown and undated; only explicit on_list=false with a company-specific list date establishes absence. Use find_companies to discover codes first, and sector_stats for the industry median rather than named peers.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "registry_codes": {
      "description": "One to four 8-digit registry codes",
      "items": {
        "type": "string"
      },
      "maxItems": 4,
      "minItems": 1,
      "title": "Registry Codes",
      "type": "array"
    },
    "year": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Financial year. Defaults to the snapshot year.",
      "title": "Year"
    }
  },
  "required": [
    "registry_codes"
  ],
  "title": "compare_companiesArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "year": {
      "type": [
        "number",
        "null"
      ]
    },
    "partial": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "companies": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "founded": {
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "type": [
              "number",
              "null"
            ]
          },
          "metrics": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "revenue": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "revenue_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "net_profit": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "equity": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "total_assets": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "employees_avg": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "unit_revenue": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "tax_debt": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "snapshot_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "debt_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "debt_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "disputed_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "disputed_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "scheduled_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "scheduled_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "threshold_eur": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "on_list": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "first_seen": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "last_seen": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "days_on_list": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "episodes": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "peak_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "peak_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "oldest_debt_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "clear_absences": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "series": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true
                }
              },
              "events": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true
                }
              },
              "schedule_end_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "schedule_end_date_reason": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "distress": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "score": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "score_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "score_unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "risk_level": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "calculated_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "components": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "tax_debt": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "financial_health": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "board_churn": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "insolvency_announcements": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "license_loss": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "adverse_media": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "additionalProperties": true
              },
              "history": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true,
                  "properties": {
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "risk_level": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "events": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true,
                  "properties": {
                    "kind": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "previous_score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  }
                }
              },
              "rise_threshold": {
                "type": [
                  "number",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "tax_last4q": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "value": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "turnover_last4q": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "value": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "report_status": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "latest_year": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "latest_year_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "filed": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "next_due": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "overdue_days": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "overdue_days_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "state_aid_3y": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "value": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "licence_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "revenue_percentile": {
            "type": [
              "number",
              "null"
            ]
          },
          "series": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "revenue": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "year": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              },
              "net_profit": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "year": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              },
              "employees_q": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      }
    },
    "missing": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "compare_companiesOutput"
}
🟢find_companies(county, emtak, min_revenue, max_revenue, min_employees, ...)

Company list capped at 50 (no continuation cursor; at most 40 candidate pages, or 80 tax-debt checks, subject to distinct-code allowance), sorted by the selected metric/direction (default revenue descending; missing last), filtered by county, EMTAK, revenue, employees, or no current tax debt. County aliases accepted. Includes label_en and label_en_method with Eurostat attribution; nace_parent_fallback means a broader NACE label. No personal emails or phone numbers. Use search_companies for a name lookup, and get_company on a code from this list.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "county": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "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.",
      "title": "County"
    },
    "emtak": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "EMTAK code or prefix",
      "title": "Emtak"
    },
    "min_revenue": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Minimum annual revenue, EUR",
      "title": "Min Revenue"
    },
    "max_revenue": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Maximum annual revenue, EUR",
      "title": "Max Revenue"
    },
    "min_employees": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Minimum average employees",
      "title": "Min Employees"
    },
    "max_employees": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Maximum average employees",
      "title": "Max Employees"
    },
    "no_tax_debt": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Keep only companies with no current tax debt",
      "title": "No Tax Debt"
    },
    "year": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Financial year",
      "title": "Year"
    },
    "limit": {
      "default": 25,
      "description": "At most 50 companies",
      "maximum": 50,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    },
    "sort": {
      "default": "revenue",
      "enum": [
        "revenue",
        "profit",
        "employees",
        "growth"
      ],
      "title": "Sort",
      "type": "string"
    },
    "dir": {
      "default": "desc",
      "enum": [
        "asc",
        "desc"
      ],
      "title": "Dir",
      "type": "string"
    }
  },
  "title": "find_companiesArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "companies": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "municipality": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue": {
            "type": [
              "number",
              "null"
            ]
          },
          "revenue_year": {
            "type": [
              "number",
              "null"
            ]
          },
          "employees": {
            "type": [
              "number",
              "null"
            ]
          },
          "net_profit": {
            "type": [
              "number",
              "null"
            ]
          }
        }
      }
    },
    "row_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "year": {
      "type": [
        "number",
        "null"
      ]
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "find_companiesOutput"
}
🟢sector_stats(emtak, county, year)

Sector medians, percentiles, and company counts for one EMTAK 2025 code (aggregate, not a directory; no 50-division cap). Legal-act lists are capped at 10 per group. Includes label_en and label_en_method (nace_parent_fallback disclosed) and Eurostat attribution. Acts carry derived company-subject extractions, coverage incomplete; missing or legacy counts are unavailable. The act list is incomplete (DL #306). 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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "emtak": {
      "description": "EMTAK 2025 code or division. EMTAK 2008 codes are resolved via the snapshot crosswalk.",
      "title": "Emtak",
      "type": "string"
    },
    "county": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "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.",
      "title": "County"
    },
    "year": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Year",
      "title": "Year"
    }
  },
  "required": [
    "emtak"
  ],
  "title": "sector_statsArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "emtak": {
      "type": [
        "string",
        "null"
      ]
    },
    "level": {
      "type": [
        "string",
        "null"
      ]
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "year": {
      "type": [
        "number",
        "null"
      ]
    },
    "partial": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "company_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "company_count_national": {
      "type": [
        "number",
        "null"
      ]
    },
    "median_revenue": {
      "type": [
        "number",
        "null"
      ]
    },
    "median_revenue_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "revenue_sum": {
      "type": [
        "number",
        "null"
      ]
    },
    "employees_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "percentiles": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "p25": {
          "type": [
            "number",
            "null"
          ]
        },
        "p50": {
          "type": [
            "number",
            "null"
          ]
        },
        "p75": {
          "type": [
            "number",
            "null"
          ]
        },
        "n": {
          "type": [
            "number",
            "null"
          ]
        },
        "suppressed": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "period": {
          "type": [
            "string",
            "null"
          ]
        },
        "excludes_zero_revenue": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "histogram": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "bin_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "count": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "trend": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "year": {
            "type": [
              "number",
              "null"
            ]
          },
          "median_county": {
            "type": [
              "number",
              "null"
            ]
          },
          "median_national": {
            "type": [
              "number",
              "null"
            ]
          },
          "n_county": {
            "type": [
              "number",
              "null"
            ]
          },
          "n_national": {
            "type": [
              "number",
              "null"
            ]
          },
          "unit": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "licence_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "acts": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "act_id": {
            "type": [
              "number",
              "string",
              "null"
            ]
          },
          "rt_id": {
            "type": [
              "number",
              "string",
              "null"
            ]
          },
          "global_id": {
            "type": [
              "number",
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "obligation_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "amended_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "derived": {
            "type": [
              "boolean",
              "null"
            ]
          }
        }
      }
    },
    "acts_universal": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "act_id": {
            "type": [
              "number",
              "string",
              "null"
            ]
          },
          "rt_id": {
            "type": [
              "number",
              "string",
              "null"
            ]
          },
          "global_id": {
            "type": [
              "number",
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "obligation_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "amended_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "derived": {
            "type": [
              "boolean",
              "null"
            ]
          }
        }
      }
    },
    "found": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "emtak_requested": {
      "type": [
        "string",
        "null"
      ]
    },
    "emtak_note": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true,
      "properties": {
        "from_emtak": {
          "type": [
            "string",
            "null"
          ]
        },
        "to_emtak": {
          "type": [
            "string",
            "null"
          ]
        },
        "notice": {
          "type": [
            "string",
            "null"
          ]
        },
        "notice_en": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "sector_statsOutput"
}
🟢region_stats(county, year)

County figures, or every county when county is omitted: medians, employment, and aid. County sector rows include label_en and label_en_method with Eurostat attribution; nace_parent_fallback means a broader NACE label. Use sector_stats when the question is an EMTAK rather than a place.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "county": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "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.",
      "title": "County"
    },
    "year": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Year",
      "title": "Year"
    }
  },
  "title": "region_statsArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "found": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "county": {
      "type": [
        "string",
        "null"
      ]
    },
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "year": {
      "type": [
        "number",
        "null"
      ]
    },
    "partial": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "year_label": {
      "type": [
        "string",
        "null"
      ]
    },
    "company_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "company_count_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "share_pct": {
      "type": [
        "number",
        "null"
      ]
    },
    "share_pct_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "delta_pct": {
      "type": [
        "number",
        "null"
      ]
    },
    "delta_pct_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "median_revenue": {
      "type": [
        "number",
        "null"
      ]
    },
    "median_revenue_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "median_revenue_unit": {
      "type": [
        "string",
        "null"
      ]
    },
    "median_series": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "year": {
            "type": [
              "number",
              "null"
            ]
          },
          "median_revenue": {
            "type": [
              "number",
              "null"
            ]
          },
          "reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "unit": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "employees_total": {
      "type": [
        "number",
        "null"
      ]
    },
    "employees_total_reason": {
      "type": [
        "string",
        "null"
      ]
    },
    "employees_unit": {
      "type": [
        "string",
        "null"
      ]
    },
    "unemployment": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "value": {
          "type": [
            "number",
            "null"
          ]
        },
        "period": {
          "type": [
            "string",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "type": [
            "string",
            "null"
          ]
        },
        "reason": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "aid": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "sum": {
          "type": [
            "number",
            "null"
          ]
        },
        "sum_reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "decisions": {
          "type": [
            "number",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "year": {
          "type": [
            "number",
            "null"
          ]
        },
        "period": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "open_call_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "sectors": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "emtak": {
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "revenue_sum": {
            "type": [
              "number",
              "null"
            ]
          },
          "revenue_sum_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "employees": {
            "type": [
              "number",
              "null"
            ]
          },
          "employees_reason": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "municipalities": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "median_revenue": {
            "type": [
              "number",
              "null"
            ]
          },
          "median_revenue_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "unit": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "largest": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue": {
            "type": [
              "number",
              "null"
            ]
          },
          "revenue_unit": {
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "demography": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "year": {
            "type": [
              "number",
              "null"
            ]
          },
          "new": {
            "type": [
              "number",
              "null"
            ]
          },
          "deleted": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": true
      }
    },
    "transactions": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "median_price_m2": {
          "type": [
            "number",
            "null"
          ]
        },
        "unit": {
          "type": [
            "string",
            "null"
          ]
        },
        "period": {
          "type": [
            "string",
            "null"
          ]
        },
        "property_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "frozen_at": {
          "type": [
            "string",
            "null"
          ]
        },
        "partial": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "reason": {
          "type": [
            "string",
            "null"
          ]
        },
        "note_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "note_params": {
          "type": [
            "object",
            "null"
          ],
          "properties": {},
          "additionalProperties": true
        },
        "note": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "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
      }
    },
    "gross_wage": {
      "type": [
        "string",
        "number",
        "boolean",
        "null"
      ]
    },
    "wage_municipalities": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "value": {
            "type": [
              "number",
              "null"
            ]
          },
          "unit": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "bankruptcies": {
      "type": [
        "string",
        "number",
        "boolean",
        "null"
      ]
    },
    "counties": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "median_revenue": {
            "type": [
              "number",
              "null"
            ]
          },
          "employees": {
            "type": [
              "number",
              "null"
            ]
          },
          "aid_sum": {
            "type": [
              "number",
              "null"
            ]
          }
        }
      }
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "region_statsOutput"
}
🟢open_calls(emtak, county, provider, deadline_within_days)

Open funding calls from EIS, PRIA, and KIK. Use procurement_notices for public tenders. This tool does not draft an application.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "emtak": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "EMTAK code. Matched on the division when the call has rules.",
      "title": "Emtak"
    },
    "county": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "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.",
      "title": "County"
    },
    "provider": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Funder, for example EIS",
      "title": "Provider"
    },
    "deadline_within_days": {
      "anyOf": [
        {
          "maximum": 3650,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Keep calls whose deadline is within this many days",
      "title": "Deadline Within Days"
    }
  },
  "title": "open_callsArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "calls": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "id": {
            "type": [
              "number",
              "null"
            ]
          },
          "provider": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "deadline": {
            "type": [
              "string",
              "null"
            ]
          },
          "measure": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": [
              "string",
              "null"
            ]
          },
          "source_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "max_grant": {
            "type": [
              "number",
              "null"
            ]
          },
          "category": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "row_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "open_callsOutput"
}
🟢procurement_notices(query, cpv, buyer, days, open_only, ...)

Public procurement notices with buyer, deadline, CPV, value, and open-only filters. Estimate coverage gives n of N matching notices with an estimate; partial, potentially repeated source estimates are not spend. Award amounts are ceilings, not payments. 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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Title or buyer text (contains match on folded title/authority)",
      "title": "Query"
    },
    "cpv": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "CPV code prefix",
      "title": "Cpv"
    },
    "buyer": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Buyer name or registry code",
      "title": "Buyer"
    },
    "days": {
      "anyOf": [
        {
          "maximum": 3650,
          "minimum": 1,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Published within this many days",
      "title": "Days"
    },
    "open_only": {
      "default": false,
      "description": "Keep open contract notices (cn-*) with deadline on/after today; exclude award notices",
      "title": "Open Only",
      "type": "boolean"
    },
    "min_value_eur": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Minimum estimated value in EUR (finite, 0..1e15)",
      "title": "Min Value Eur"
    },
    "max_value_eur": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Maximum estimated value in EUR (finite, 0..1e15)",
      "title": "Max Value Eur"
    },
    "include_null_value": {
      "default": false,
      "description": "When min/max value filters are set, also keep notices with no estimated value",
      "title": "Include Null Value",
      "type": "boolean"
    },
    "deadline_within_days": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Keep notices whose submission deadline is within this many days (0..3650)",
      "title": "Deadline Within Days"
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Opaque cursor from a previous next_cursor for the next page",
      "title": "Cursor"
    },
    "limit": {
      "default": 15,
      "description": "At most 25 notices",
      "maximum": 25,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "procurement_noticesArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "notices": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "notice_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "authority_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "authority_registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "cpv_main": {
            "type": [
              "string",
              "null"
            ]
          },
          "estimated_value_eur": {
            "type": [
              "number",
              "null"
            ]
          },
          "submission_deadline": {
            "type": [
              "string",
              "null"
            ]
          },
          "issue_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "notice_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "procedure_type": {
            "type": [
              "string",
              "null"
            ]
          },
          "eu_funded": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "row_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "procurement_noticesOutput"
}
🟢company_procurement(registry_code, cursor, limit)

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. Includes dated context: repeat-pair procedure counts and exact-date tax-debt indicators with evidence (observation, not a finding). 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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "registry_code": {
      "description": "8-digit commercial register code",
      "title": "Registry Code",
      "type": "string"
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Opaque cursor from a previous next_cursor for the next page",
      "title": "Cursor"
    },
    "limit": {
      "default": 15,
      "description": "At most 25 awards",
      "maximum": 25,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "registry_code"
  ],
  "title": "company_procurementArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "rows": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "notice_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "lot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "buyer_registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "buyer_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": [
              "string",
              "null"
            ]
          },
          "cpv_main": {
            "type": [
              "string",
              "null"
            ]
          },
          "value_eur": {
            "type": [
              "number",
              "null"
            ]
          },
          "value_eur_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "value_unit": {
            "type": [
              "string",
              "null"
            ]
          },
          "award_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "tenders_received": {
            "type": [
              "number",
              "null"
            ]
          },
          "tenders_received_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "is_framework": {
            "type": [
              "boolean",
              "null"
            ]
          }
        }
      }
    },
    "row_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "found": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "registry_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "available": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "dedupe_key": {
      "anyOf": [
        {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        {
          "type": [
            "string",
            "number",
            "boolean",
            "null"
          ]
        }
      ]
    },
    "value_note": {
      "type": [
        "string",
        "null"
      ]
    },
    "framework_flag_note": {
      "type": [
        "string",
        "null"
      ]
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "company_procurementOutput"
}
🟢risk_signals(kind, county, emtak, cursor, limit)

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.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "kind": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "tax_debt, bankruptcy, liquidation, enforcement, restructuring, distress_high, or distress_moderate",
      "title": "Kind"
    },
    "county": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "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.",
      "title": "County"
    },
    "emtak": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "EMTAK code or prefix",
      "title": "Emtak"
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Opaque cursor from a previous next_cursor for the next page",
      "title": "Cursor"
    },
    "limit": {
      "default": 15,
      "description": "At most 25 signals",
      "maximum": 25,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "risk_signalsArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "signals": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "kind": {
            "type": [
              "string",
              "null"
            ]
          },
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "score": {
            "type": [
              "number",
              "null"
            ]
          },
          "risk_level": {
            "type": [
              "string",
              "null"
            ]
          },
          "amount": {
            "type": [
              "number",
              "null"
            ]
          },
          "amount_unit": {
            "type": [
              "string",
              "null"
            ]
          },
          "event_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "row_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "risk_signalsOutput"
}
🟢watch_companies(registry_codes, since, cursor)

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. Missing tax debt is unknown with no date, never an off-list assurance. Use check_counterparty for one code, and get_company sections tax_debt_history or distress_trend for deeper history on one company.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "registry_codes": {
      "description": "One to fifty 8-digit registry codes (Büroo change feed)",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "title": "Registry Codes",
      "type": "array"
    },
    "since": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Opaque change cursor (event id) or previous snapshot_id. Omit for the full typed change list in this snapshot.",
      "title": "Since"
    },
    "cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Opaque cursor from a previous next_cursor for the next page",
      "title": "Cursor"
    }
  },
  "required": [
    "registry_codes"
  ],
  "title": "watch_companiesArguments"
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "snapshot_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "additionalProperties": true,
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "url": {
            "type": [
              "string",
              "null"
            ]
          },
          "attribution": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence": {
            "type": [
              "string",
              "null"
            ]
          },
          "licence_url": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "disclaimer": {
      "type": [
        "string",
        "null"
      ]
    },
    "rows": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak": {
            "type": [
              "string",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "tax_debt": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "debt_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "as_of": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "on_list": {
                "type": [
                  "boolean",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "report_status": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "latest_year": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "latest_year_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "filed": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "next_due": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "overdue_days": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "overdue_days_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "changes": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "id": {
                  "type": [
                    "number",
                    "string",
                    "null"
                  ]
                },
                "kind": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "text": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "detail": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          }
        },
        "additionalProperties": true
      }
    },
    "row_count": {
      "type": [
        "number",
        "null"
      ]
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "since": {
      "type": [
        "string",
        "null"
      ]
    },
    "requested": {
      "type": [
        "number",
        "null"
      ]
    },
    "truncated": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "snapshot_id",
    "as_of",
    "sources",
    "disclaimer"
  ],
  "additionalProperties": true,
  "title": "watch_companiesOutput"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada12 herramientas
verificadoversión no registrada12 herramientas