# FDIC Bank Changes and Failures Feed (`thoob/fdic-bank-changes-feed`) Actor

Returns FDIC BankFind bank structure change records (mergers, name changes, relocations, closings) or bank failure records, newest first, filtered by date, state and change code, with current institution details. No key needed. Only delivered bank change and failure rows are billed.

- **URL**: https://apify.com/thoob/fdic-bank-changes-feed.md
- **Developed by:** [Pono Data](https://apify.com/thoob) (community)
- **Categories:** Business, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 bank records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## FDIC Bank Changes and Failures Feed

This actor reads the FDIC BankFind Suite API and returns US bank structure changes (mergers, name changes, relocations, closings) or bank failures, newest first. It is for analysts, compliance teams, journalists and researchers who track US banks.

### Input

```json
{ "mode": "changes", "daysBack": 30, "maxRecords": 20, "onlyNew": false }
```

- `mode`: `changes` (history records) or `failures`.
- `daysBack`: window start, N days before today UTC. Default 30.
- `since`: window start as YYYY-MM-DD. Overrides `daysBack`.
- `states`: two-letter state codes, for example `CA`.
- `changeCodes`: FDIC change codes, for example `223`.
- `onlyNew`: deliver only records not delivered before with this option, tracked in the key-value store `fdic-bank-changes-feed-seen`.
- `maxRecords`: cap on billed rows. 0 means no cap.

In failures mode, `daysBack`, `since` and `changeCodes` are ignored and the failure list is read newest first.

### Output

Change rows hold the change code and description, effective and processed dates, location, former name and CERT, merger parties (`out*`, `acq*`, `sur*`) and office fields when the record has them, plus current name, assets, deposits, website and active status from the FDIC institutions endpoint. Failure rows hold name, location, fail date, cost, assets, deposits, resolution type, acquirer and charter class. Missing values are null.

Illustration only, values may differ:

```json
{
  "recordType": "change",
  "id": "987654",
  "cert": 12345,
  "institutionName": "Example State Bank",
  "changeCode": 223,
  "changeDescription": "Merger - Without Assistance",
  "effectiveDate": "2024-04-30",
  "processedDate": "2024-05-02",
  "city": "Springfield",
  "state": "IL",
  "county": "Sangamon",
  "classType": "State Nonmember Bank",
  "formerName": null,
  "formerCert": null,
  "currentName": "Example State Bank",
  "assetsThousands": 512000,
  "depositsThousands": 448000,
  "website": "www.example.com",
  "active": true,
  "institutionSourceUrl": "https://api.fdic.gov/banks/institutions?format=json&...",
  "sourceUrl": "https://api.fdic.gov/banks/history?format=json&...",
  "retrievedAt": "2024-05-03T12:00:00Z"
}
```

### Who uses it

- Bank M\&A analysts who track mergers using `acqName`, `outName` and `effectiveDate`.
- Banking software sales teams who watch `changeDescription` for name changes and relocations at prospects.
- Credit and risk teams who monitor failures with `failDate`, `assets` and `resolutionType`.
- Compliance teams who keep counterparty records current using `cert` and `currentName`.

### Pricing

Pay per event `bank-record`: USD 3.00 per 1,000 rows. You are charged only for delivered bank change and failure rows. Every other row is free, and this actor writes no other rows. Records skipped by `onlyNew` are not delivered and not charged.

### Limits

- The FDIC host allows one request at a time, so requests are spaced at least 1.1 seconds apart. Large windows take a while.
- A request that still fails after retries ends the run early. Rows already delivered stay.
- Values are copied as the FDIC gives them, with no unit claims beyond the FDIC field names.
- `onlyNew` remembers the newest 20,000 keys.

### FAQ

#### Is any input required?

No. `mode` chooses bank structure changes or bank failures. `daysBack`, `since`, `states` and `changeCodes` narrow the results.

#### Why are many fields empty in a row?

Change rows and failure rows use different fields, and `recordType` shows which one a row is. For example, `failDate` and `resolutionType` apply only to failure rows.

#### What does an empty result mean?

No record matched the mode, date window and filters. Searches with no match are not billed.

#### Can it run on a schedule or through the API?

Yes, through Apify Schedules or the Apify API. Turn on `onlyNew` for repeat runs so that only records not delivered before are returned.

### Compliance

- Public source only: the FDIC BankFind Suite API at api.fdic.gov.
- Documented public endpoints only: `history`, `institutions` and `failures`.
- No API key, login or proxy.
- Honest User-Agent: `PonoDataActors/1.0 (+https://ponodata.com)`.
- Retries only on 429 and 5xx, at 2, 4 and 8 seconds.
- Every row carries `sourceUrl` and `retrievedAt`.

# Actor input Schema

## `mode` (type: `string`):

changes returns bank structure change records from the FDIC history endpoint. failures returns bank failure records.

## `daysBack` (type: `integer`):

The window starts this many days before today (UTC). Changes mode only.

## `since` (type: `string`):

Window start as YYYY-MM-DD. Overrides Days back. A malformed or future date is an error. Changes mode only.

## `states` (type: `array`):

Two-letter state codes, for example CA. Other entries and duplicates are dropped.

## `changeCodes` (type: `array`):

FDIC change codes as integers, for example \[223, 810]. Changes mode only. Non-integers and duplicates are dropped.

## `onlyNew` (type: `boolean`):

Deliver only records not seen before, tracked in the key-value store fdic-bank-changes-feed-seen. Skipped records are not billed.

## `maxRecords` (type: `integer`):

Cap on delivered, billed rows. 0 means no cap. The platform spend cap is honored regardless.

## Actor input object example

```json
{
  "mode": "changes",
  "daysBack": 30,
  "onlyNew": false,
  "maxRecords": 20
}
```

# Actor output Schema

## `records` (type: `string`):

One row per delivered FDIC record.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "changes",
    "daysBack": 30,
    "maxRecords": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("thoob/fdic-bank-changes-feed").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "changes",
    "daysBack": 30,
    "maxRecords": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("thoob/fdic-bank-changes-feed").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "changes",
  "daysBack": 30,
  "maxRecords": 20
}' |
apify call thoob/fdic-bank-changes-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thoob/fdic-bank-changes-feed"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/4mfGye3GDt2eYYeCY/builds/cMbxLyxaNTaL0CxxZ/openapi.json
