> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Summary

> State or national banking totals by year: how many banks a state had, total industry assets or deposits, net income, new charters or failures per year. For one institution use `financials`.

## Request contract

* **Method and path:** POST /apis/v1/banks-data-fdic-gov/bank-data/summary
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/banks-data-fdic-gov/bank-data/summary`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/banks-data-fdic-gov.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "banks-data-fdic-gov.bank-data.summary",
  "method": "POST",
  "path": "/apis/v1/banks-data-fdic-gov/bank-data/summary",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "state": "USA",
              "year": 2020
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "charter_group": {
              "description": "CB for commercial banks, SI for savings institutions. Omit for both (two records per state and year).\n\nProvider reference: allowed values [\"CB\", \"SI\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "CB",
                  "SI"
                ]
              }
            },
            "cursor": {
              "description": "next_cursor from the previous page of the same query (the record offset).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "fields": {
              "description": "Projection: column names to return instead of the default set, e.g. [\"BANKS\", \"ASSET\", \"DEP\", \"NETINC\"]. The identity columns are always added and every record carries `ID`. An unknown name is ignored. The FDIC's column definitions are at https://api.fdic.gov/banks/docs/.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "filters": {
              "description": "Raw BankFind filter, ANDed with the other inputs. Lucene-style: `FIELD:value`, `FIELD:\"two words\"`, `FIELD:(\"A\",\"B\")` for any of several, `FIELD:[low TO high]` for an inclusive range (`*` open), `!(FIELD:value)` to exclude, `AND`/`OR` between terms. Column names are upper case and values match exactly as stored, case included. An unknown column matches nothing (an empty result, not an error); a syntax error is invalid_input.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "from_year": {
              "description": "Earliest year to include.\n\nProvider reference: minimum 1934; maximum 2100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2100,
                "min": 1934
              }
            },
            "page_size": {
              "default": 25,
              "description": "Records per page.\n\nProvider reference: minimum 1; maximum 1000; default 25.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 1000,
                "min": 1
              }
            },
            "sort_by": {
              "description": "Columns to sort by, in priority order, e.g. [\"ASSET\"]. Defaults to `YEAR` descending (latest first). Unique tiebreak columns are always appended so offset paging is stable. An unsortable or unknown column is invalid_input.",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "sort_order": {
              "description": "Direction for every sort column. Defaults to the direction of the default sort.\n\nProvider reference: allowed values [\"asc\", \"desc\"].",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "asc",
                  "desc"
                ]
              }
            },
            "state": {
              "description": "State or territory code matched against `STALP`; `USA` for all states and territories, `US` for the 50 states and DC, `OT` for the territories. Pattern: ^[A-Za-z]{2,3}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "to_year": {
              "description": "Latest year to include.\n\nProvider reference: minimum 1934; maximum 2100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2100,
                "min": 1934
              }
            },
            "year": {
              "description": "One year. Not combinable with `from_year` / `to_year`.\n\nProvider reference: minimum 1934; maximum 2100.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 2100,
                "min": 1934
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/banks-data-fdic-gov.json POST /apis/v1/banks-data-fdic-gov/bank-data/summary
openapi: 3.1.0
info:
  description: ''
  title: FDIC BankFind Suite
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    banks-data-fdic-gov:
      description: ''
      title: FDIC BankFind Suite
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 1a121af68b256f6f99ec1b240112e9455162fda0e3d6b8a8a579e0146a361279
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/banks-data-fdic-gov/bank-data/deposits
    - /apis/v1/banks-data-fdic-gov/bank-data/failures
    - /apis/v1/banks-data-fdic-gov/bank-data/financials
    - /apis/v1/banks-data-fdic-gov/bank-data/history
    - /apis/v1/banks-data-fdic-gov/bank-data/institutions
    - /apis/v1/banks-data-fdic-gov/bank-data/locations
    - /apis/v1/banks-data-fdic-gov/bank-data/summary
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:9e01e72049940f21b23b310716985d471bed4f42b50bedfc9d9e3ea605d6ff5e
    facts_hash: 1a121af68b256f6f99ec1b240112e9455162fda0e3d6b8a8a579e0146a361279
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: banks-data-fdic-gov
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/banks-data-fdic-gov/bank-data/summary:
    post:
      tags:
        - FDIC BankFind Suite
      summary: Summary
      description: >-
        State or national banking totals by year: how many banks a state had,
        total industry assets or deposits, net income, new charters or failures
        per year. For one institution use `financials`.
      operationId: banks-data-fdic-gov.bank-data.summary
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  state: USA
                  year: 2020
            schema:
              additionalProperties: true
              properties:
                charter_group:
                  description: >-
                    CB for commercial banks, SI for savings institutions. Omit
                    for both (two records per state and year).


                    Provider reference: allowed values ["CB", "SI"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - CB
                      - SI
                cursor:
                  description: >-
                    next_cursor from the previous page of the same query (the
                    record offset).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                fields:
                  description: >-
                    Projection: column names to return instead of the default
                    set, e.g. ["BANKS", "ASSET", "DEP", "NETINC"]. The identity
                    columns are always added and every record carries `ID`. An
                    unknown name is ignored. The FDIC's column definitions are
                    at https://api.fdic.gov/banks/docs/.
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                filters:
                  description: >-
                    Raw BankFind filter, ANDed with the other inputs.
                    Lucene-style: `FIELD:value`, `FIELD:"two words"`,
                    `FIELD:("A","B")` for any of several, `FIELD:[low TO high]`
                    for an inclusive range (`*` open), `!(FIELD:value)` to
                    exclude, `AND`/`OR` between terms. Column names are upper
                    case and values match exactly as stored, case included. An
                    unknown column matches nothing (an empty result, not an
                    error); a syntax error is invalid_input.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                from_year:
                  description: |-
                    Earliest year to include.

                    Provider reference: minimum 1934; maximum 2100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2100
                    min: 1934
                page_size:
                  default: 25
                  description: |-
                    Records per page.

                    Provider reference: minimum 1; maximum 1000; default 25.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 1000
                    min: 1
                sort_by:
                  description: >-
                    Columns to sort by, in priority order, e.g. ["ASSET"].
                    Defaults to `YEAR` descending (latest first). Unique
                    tiebreak columns are always appended so offset paging is
                    stable. An unsortable or unknown column is invalid_input.
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                sort_order:
                  description: >-
                    Direction for every sort column. Defaults to the direction
                    of the default sort.


                    Provider reference: allowed values ["asc", "desc"].
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - asc
                      - desc
                state:
                  description: >-
                    State or territory code matched against `STALP`; `USA` for
                    all states and territories, `US` for the 50 states and DC,
                    `OT` for the territories. Pattern: ^[A-Za-z]{2,3}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                to_year:
                  description: |-
                    Latest year to include.

                    Provider reference: minimum 1934; maximum 2100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2100
                    min: 1934
                year:
                  description: |-
                    One year. Not combinable with `from_year` / `to_year`.

                    Provider reference: minimum 1934; maximum 2100.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 2100
                    min: 1934
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-08.
                  summary: Official provider example
                  value:
                    count: 2
                    dataset: summary
                    filters: STALP:USA AND YEAR:"2020"
                    index_created_at: '2026-09-16T13:42:38Z'
                    next_cursor: null
                    observed_at_ms: 1791422161870
                    offset: 0
                    records:
                      - ASSET: 1377928851
                        CB_SI: SI
                        DEP: 1139336074
                        EQ: 134267848
                        ID: SI_2020_USA
                        NETINC: 10664006
                        OFFICES: 7622
                        STALP: USA
                        STNAME: All States and Territories
                        YEAR: '2020'
                      - ASSET: 20490824680
                        CB_SI: CB
                        DEP: 16684222687
                        EQ: 2090100958
                        ID: CB_2020_USA
                        NETINC: 136466931
                        OFFICES: 77486
                        STALP: USA
                        STNAME: All States and Territories
                        YEAR: '2020'
                    search: null
                    sort_by:
                      - YEAR
                      - STNAME
                      - CB_SI
                    sort_order: desc
                    source_url: >-
                      https://api.fdic.gov/banks/summary?filters=STALP%3AUSA%20AND%20YEAR%3A%222020%22&sort_by=YEAR%2CSTNAME%2CCB_SI&sort_order=DESC&limit=25&offset=0
                    total_count: 2
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Annual aggregate financial and structure data for all FDIC-insured
            institutions from BankFind's summary dataset (Historical Statistics
            on Banking), by state or territory and year since 1934, split
            between commercial banks (CB) and savings institutions (SI): number
            of institutions, offices and branches, new charters, mergers and
            failures, and the year-end totals of assets, deposits, loans,
            equity, income and expense (thousands of dollars). STALP `USA` is
            all states and territories, `US` the 50 states and DC, `OT` the
            territories. YEAR is a string. Latest year first.


            The response contains the tool result directly.


            The provider identifies `records` as the primary payload key.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `ID` | string | BankFind's record id: the CERT for an institution,
            CERT_REPDTE for a financials record, YEAR_CERT_BRNUM for a Summary
            of Deposits branch. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.