{"id":108,"library":"fdic-api","title":"FDIC API Python Wrapper","description":"Python wrapper for the FDIC BankFind Suite API, providing access to FDIC banking data including institution details, financial reports, history, failures, and summary statistics. Simplifies querying the public FDIC REST API with Pythonic interfaces.","status":"active","version":"N/A","language":"python","source_language":"en","source_url":"https://github.com/dpanagop/fdic-api","tags":["fdic","banking","finance","api-wrapper","government-data","python"],"install":[{"cmd":"pip install requests","lang":"bash","label":"HTTP client (no official PyPI package)"}],"dependencies":[{"reason":"Used for making HTTP requests to the FDIC BankFind Suite API.","package":"requests","optional":false}],"imports":[{"wrong":"from requests import InstitutionsQuery","symbol":"InstitutionsQuery","correct":"from requests.api import InstitutionsQuery"}],"quickstart":{"code":"import requests\n\n# No API key required - FDIC API is public\nresp = requests.get(\n    \"https://api.fdic.gov/banks/institutions\",\n    params={\"filters\": \"STNAME:California\", \"limit\": 5, \"fields\": \"NAME,CITY,STNAME,ASSET\"}\n)\nresp.raise_for_status()\ndata = resp.json()\nfor inst in data[\"data\"]:\n    print(f\"{inst['data']['NAME']} - {inst['data']['CITY']}, {inst['data']['STNAME']}\")","lang":"python","description":"Query FDIC for banks in California. No authentication required."},"warnings":[{"fix":"Use 'from fdic_api import InstitutionsQuery' not 'from fdic-api import ...' or 'from fdic import ...'.","message":"The pip package name uses a hyphen (fdic-api) but the Python import uses an underscore (fdic_api).","severity":"gotcha","affected_versions":"all"},{"fix":"Implement your own retry logic with exponential backoff, or add delays between requests using time.sleep().","message":"The FDIC API has rate limits and may return 429 errors if too many requests are made in quick succession. The library does not implement automatic retry or backoff.","severity":"gotcha","affected_versions":"all"},{"fix":"Use query.filter('STNAME:\"California\"') with escaped double quotes around string values.","message":"Filter syntax uses the FDIC API's own query language, not Python expressions. String values in filters must be wrapped in escaped double quotes.","severity":"gotcha","affected_versions":"all"},{"fix":"Access fields via result['data']['FIELD_NAME'] not result['FIELD_NAME'].","message":"Results are returned as a list of dictionaries with nested 'data' keys, not flat dictionaries.","severity":"gotcha","affected_versions":"all"},{"fix":"Use query.limit(10000) for larger result sets or implement pagination with query.offset().","message":"The default limit on results is small. If you need all matching records, you must handle pagination manually or set a higher limit.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'access':14 'api':2,12,35,43 'api-wrapp':42 'bank':17,40 'bankfind':10 'data':18,47 'detail':21 'failur':25 'fdic':1,9,16,33,39 'financ':41 'financi':22 'govern':46 'government-data':45 'histori':24 'includ':19 'institut':20 'interfac':38 'provid':13 'public':32 'python':3,5,37,48 'queri':30 'report':23 'rest':34 'simplifi':29 'statist':28 'suit':11 'summari':27 'wrapper':4,6,44","created_at":"2026-03-18T03:08:17.788447+00:00","updated_at":"2026-04-16T18:53:29.571468+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'InstitutionsQuery' from 'requests.api' (/tmp/tmpfx2_adwv/venv/lib/python3.12/site-packages/requests/api.py)"},"ecosystem":"rest","meta_description":null,"install_score":0,"quickstart_score":80,"quickstart_tag":"verified","pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data","http-networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-08-26","next_check":"2026-07-10","install_tag":"stale"}}