> ## 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

# History

> What happened to a bank or its branches over time: when it opened, merged, changed its name or charter, or opened and closed branches. Filter by `cert`, by `change_code` (110 new institution, 211 failure, 223 merger without assistance, 510 name change, 711 branch opening, 721 branch closing...) and by effective date with `from` / `to`.

## Request contract

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

[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.history",
  "method": "POST",
  "path": "/apis/v1/banks-data-fdic-gov/bank-data/history",
  "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": {
              "cert": 24735,
              "change_code": 110
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "cert": {
              "description": "FDIC certificate number, the institution id shared by every BankFind dataset (3511 = Wells Fargo Bank, N.A.; 628 = JPMorgan Chase Bank, N.A.). Find it with `institutions`. A number no institution has ever held is not_found.\n\nProvider reference: minimum 1; maximum 9999999.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 9999999,
                "min": 1
              }
            },
            "change_code": {
              "description": "Event code: 110 new institution, 211 failure of the whole institution, 213 assisted merger, 221 absorption, 223 merger without assistance, 240 voluntary closing, 420 change of chartering agency, 510 legal name change, 520 relocation, 711 branch opening, 712 branch purchased, 721 branch closing, 722 branch sold, 810 participated in a merger, among others. CHANGECODE_DESC says each in words.\n\nProvider reference: minimum 1; maximum 999.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 999,
                "min": 1
              }
            },
            "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. [\"INSTNAME\", \"EFFDATE\", \"CHANGECODE_DESC\", \"ACQ_INSTNAME\", \"OFF_NAME\"]. 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": {
              "description": "Earliest effective date to include, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "name": {
              "description": "Fuzzy institution name search (BankFind `search=NAME:...`). Pattern: ^[^\"\\\\]+$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "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. [\"PROCDATE\"]. Defaults to `EFFDATE` descending (most recent 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": "Two-letter state or territory code, matched against `PSTALP`, the institution's headquarters state. Pattern: ^[A-Za-z]{2,3}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "to": {
              "description": "Latest effective date to include, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "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/history
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/history:
    post:
      tags:
        - FDIC BankFind Suite
      summary: History
      description: >-
        What happened to a bank or its branches over time: when it opened,
        merged, changed its name or charter, or opened and closed branches.
        Filter by `cert`, by `change_code` (110 new institution, 211 failure,
        223 merger without assistance, 510 name change, 711 branch opening, 721
        branch closing...) and by effective date with `from` / `to`.
      operationId: banks-data-fdic-gov.bank-data.history
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  cert: 24735
                  change_code: 110
            schema:
              additionalProperties: true
              properties:
                cert:
                  description: >-
                    FDIC certificate number, the institution id shared by every
                    BankFind dataset (3511 = Wells Fargo Bank, N.A.; 628 =
                    JPMorgan Chase Bank, N.A.). Find it with `institutions`. A
                    number no institution has ever held is not_found.


                    Provider reference: minimum 1; maximum 9999999.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 9999999
                    min: 1
                change_code:
                  description: >-
                    Event code: 110 new institution, 211 failure of the whole
                    institution, 213 assisted merger, 221 absorption, 223 merger
                    without assistance, 240 voluntary closing, 420 change of
                    chartering agency, 510 legal name change, 520 relocation,
                    711 branch opening, 712 branch purchased, 721 branch
                    closing, 722 branch sold, 810 participated in a merger,
                    among others. CHANGECODE_DESC says each in words.


                    Provider reference: minimum 1; maximum 999.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 999
                    min: 1
                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. ["INSTNAME", "EFFDATE", "CHANGECODE_DESC",
                    "ACQ_INSTNAME", "OFF_NAME"]. 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:
                  description: >-
                    Earliest effective date to include, YYYY-MM-DD. Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                name:
                  description: >-
                    Fuzzy institution name search (BankFind `search=NAME:...`).
                    Pattern: ^[^"\\]+$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                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. ["PROCDATE"].
                    Defaults to `EFFDATE` descending (most recent 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: >-
                    Two-letter state or territory code, matched against
                    `PSTALP`, the institution's headquarters state. Pattern:
                    ^[A-Za-z]{2,3}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                to:
                  description: >-
                    Latest effective date to include, YYYY-MM-DD. Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              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: 1
                    dataset: history
                    filters: CERT:24735 AND CHANGECODE:110
                    index_created_at: '2026-10-02T10:19:48Z'
                    next_cursor: null
                    observed_at_ms: 1791422161868
                    offset: 0
                    records:
                      - CERT: 24735
                        CHANGECODE: 110
                        CHANGECODE_DESC: New Institution
                        CLASS: SM
                        EFFDATE: '1983-10-17T00:00:00'
                        ID: 830002924_110_17167__
                        INSTNAME: Silicon Valley Bank
                        ORG_ROLE_CDE: FI
                        PCITY: San Jose
                        PROCDATE: '1983-10-18T00:00:00'
                        PSTALP: CA
                    search: null
                    sort_by:
                      - EFFDATE
                      - TRANSNUM
                      - CHANGECODE
                      - UNINUM
                    sort_order: desc
                    source_url: >-
                      https://api.fdic.gov/banks/history?filters=CERT%3A24735%20AND%20CHANGECODE%3A110&sort_by=EFFDATE%2CTRANSNUM%2CCHANGECODE%2CUNINUM&sort_order=DESC&limit=25&offset=0
                    total_count: 1
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Structure change events for FDIC-insured institutions and their
            offices from BankFind's history dataset: new institutions, mergers
            and acquisitions (with the acquiring, outgoing and surviving
            institutions), charter and class conversions, name changes,
            relocations, failures, and branch openings, closings and sales. One
            record per event with change code and description (CHANGECODE /
            CHANGECODE_DESC), effective and processed dates (ISO timestamps),
            the institution and office involved, and their addresses. Most
            recent effective date 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.