Query a multi-bank financial panel
fdic_query_financialsPull a multi-institution, multi-quarter Call Report panel — one row per institution per quarter — filtered by CERTs, headquarters state, asset range, and thresholds on any catalog metric. Use it to screen (every bank in a state with a noncurrent-loan rate above 3%) or to build a trend panel for SQL. Returns one page of the panel sorted as requested, continued with offset; at offset 0 a panel larger than the page is also staged as a dataframe for fdic_dataframe_query. With no dates it covers the latest published quarter only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fdic_query_financials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| certs | No | Nonempty selection, at most 1000 raw CERTs. Deduplicated before querying the first 100; deferred_certs holds the rest for another call. Omit to screen every filer. | |
| limit | No | Positive count of rows per page, sliced from the already-fetched panel at offset. At offset 0 a larger panel is also staged whole as a dataframe when this deployment stages dataframes. | |
| state | No | Headquarters state: two-letter code in any case or full name. Branch locations are in fdic_get_deposits. | |
| offset | No | Fetched panel rows to skip; pass next_offset from the previous page. Only offset 0 stages a dataframe. | |
| metrics | No | At most 1000 raw metric names. Deduplicated before querying the first 30; deferred_metrics holds the rest. Sort/filter metrics are always added. Omit or pass [] for the default health set. | |
| sort_by | No | Metric to order the pages (and the staged table) by; added to metrics when absent. Omit to order by newest quarter, then CERT. | |
| to_date | No | Latest quarter, in the same forms as from_date. Omit for the latest published quarter; beside from_date, a later quarter is cut back to it. | |
| from_date | No | Earliest quarter: a quarter-end date (2024-03-31), the same without dashes, or a quarter label (2024Q1). Omit for to_date alone. | |
| max_assets | No | Maximum total assets in that quarter, thousands of US dollars; applied to each quarter's report. | |
| min_assets | No | Minimum total assets in that quarter, thousands of US dollars (1000000 = $1 billion); applied to each quarter's report. | |
| sort_order | No | desc (default, largest first) or asc; applies to sort_by. Rows without a value sort last. | desc |
| metric_filters | No | Up to 5 metric thresholds, all of which a row must meet. A threshold on a capital ratio or insured_deposit_share skips filers that did not report it. Each filtered metric is added to metrics. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The limit applied to this page. | |
| rows | No | One page of the fetched panel in the requested order, starting at offset. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | Rows on this page. | |
| notice | No | Guidance for zero matches, more pages remaining, a page past the end, a capped panel, or where the full panel is staged. | |
| dataset | No | The staged full panel; present only at offset 0 when the panel exceeded limit and this deployment staged it as a dataframe. | |
| truncated | No | True when fetched rows remain past this page (next_offset is set). | |
| data_as_of | No | When FDIC last rebuilt the financials index (ISO timestamp). | |
| next_offset | No | Offset of the next page; present while fetched rows remain past this page. | |
| report_dates | No | Quarter range as applied. | |
| rows_fetched | No | Rows fetched into the panel. | |
| panel_row_cap | No | This server's row cap for one panel. | |
| deferred_certs | No | CERTs not queried; pass these as certs (peer_certs for comparisons) in a new call. | |
| total_matching | No | Institution-quarter rows at FDIC matching the filters. | |
| panel_truncated | No | True when total_matching exceeded the panel row cap. Whole quarters are kept newest first, so a truncated panel is missing its oldest quarters — or, when the newest quarter alone exceeds the cap, the higher-numbered CERTs of that quarter. | |
| processed_certs | No | Deduplicated CERT selection actually queried; missing CERTs are a subset of these. | |
| deferred_metrics | No | Metrics not queried; pass these as metrics in a new call. | |
| selection_notice | No | Execution caps and how to retrieve deferred selections. | |
| processed_metrics | No | Metrics actually queried, including automatic panel sort/filter metrics. | |
| metric_definitions | No | Field, unit, and basis of each metric in rows. | |
| report_dates_defaulted | No | True when neither from_date nor to_date was given, so only the latest published quarter was covered. |