Skip to main content

Python interface to the FDIC's API for publically available bank data

Project description

Python interface to the FDIC's API for publically available bank data

Build Status Coverage Package version


Documentation: https://bankfind.dpguthrie.com

Source Code: https://github.com/dpguthrie/bankfind

FDIC Documentation: https://banks.data.fdic.gov/docs/


Overview

bankfind is a python interface to publically available bank data from the FDIC.

There are currently, as of 8/11/20, five endpoints that the FDIC has exposed to the public:

  • failures - returns detail on failed financial institutions
  • institutions - returns a list of financial institutions
  • history - returns detail on structure change events
  • locations - returns locations / branches of financial institutions
  • summary - returns aggregate financial and structure data, subtotaled by year, regarding financial institutions

Requirements

Python 2.7, 3.5+

  • Requests - The elegant and simple HTTP library for Python, built for human beings.
  • Pandas - Fast, powerful, flexible and easy to use open source data analysis and manipulation tool

Installation

pip install bankfind Successfully installed bankfind restart ↻

Example

import bankfind as bf

# Get Institutions
data = bf.get_institutions()

# Get Institutions from Colorado with high ROE
data = bf.get_institutions(filters="STNAME:Colorado AND ROE:[25 TO *]")

# Get Commercial Banks from Colorado that aren't S-Corps
data = bf.get_institutions(filters="STNAME:Colorado AND SUBCHAPS:0 AND CB:1")

License

This project is licensed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bankfind-0.0.1.tar.gz (90.9 kB view hashes)

Uploaded Source

Built Distribution

bankfind-0.0.1-py2.py3-none-any.whl (47.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page