{
 "openapi": "3.1.0",
 "info": {
  "title": "Bank Explorer data API",
  "version": "2026-09",
  "description": "Read-only JSON for every U.S. bank from FFIEC Call Reports (Q1 2016 to Q3 2026) and FDIC data. No key; CORS open to any origin. Amounts in US dollars. Bank list: https://www.usbankexplorer.com/banks.json"
 },
 "servers": [
  {
   "url": "https://bank-explorer-api.cu-explorer-leads.workers.dev"
  }
 ],
 "paths": {
  "/cu/{rssd}.json": {
   "get": {
    "summary": "A bank: identity, quarterly metrics, statements, structure history",
    "parameters": [
     {
      "in": "path",
      "name": "rssd",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^[0-9]{1,8}$"
      },
      "description": "Federal Reserve RSSD id of the bank (see /banks.json)."
     }
    ],
    "responses": {
     "200": {
      "description": "JSON document",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "description": "Unknown bank or file"
     }
    }
   }
  },
  "/cu/{rssd}.fields.json": {
   "get": {
    "summary": "Every published Call Report item for a bank, latest and history",
    "parameters": [
     {
      "in": "path",
      "name": "rssd",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^[0-9]{1,8}$"
      },
      "description": "Federal Reserve RSSD id of the bank (see /banks.json)."
     }
    ],
    "responses": {
     "200": {
      "description": "JSON document",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "description": "Unknown bank or file"
     }
    }
   }
  },
  "/reco/{rssd}.json": {
   "get": {
    "summary": "Market Growth and Strategic Partnerships for a bank",
    "parameters": [
     {
      "in": "path",
      "name": "rssd",
      "required": true,
      "schema": {
       "type": "string",
       "pattern": "^[0-9]{1,8}$"
      },
      "description": "Federal Reserve RSSD id of the bank (see /banks.json)."
     }
    ],
    "responses": {
     "200": {
      "description": "JSON document",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "description": "Unknown bank or file"
     }
    }
   }
  },
  "/manifest.json": {
   "get": {
    "summary": "The release: quarter, bank ids, peer groups and their band files",
    "responses": {
     "200": {
      "description": "JSON document",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "description": "Unknown bank or file"
     }
    }
   }
  },
  "/bands/{group}.json": {
   "get": {
    "summary": "Peer-group quartiles of every metric and statement line",
    "parameters": [
     {
      "in": "path",
      "name": "group",
      "required": true,
      "schema": {
       "type": "string"
      },
      "description": "File name from manifest.json `groups`, e.g. all"
     }
    ],
    "responses": {
     "200": {
      "description": "JSON document",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "description": "Unknown bank or file"
     }
    }
   }
  },
  "/news": {
   "get": {
    "summary": "Recent headlines: banking industry, or one bank",
    "parameters": [
     {
      "in": "query",
      "name": "cu",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "RSSD id"
     }
    ],
    "responses": {
     "200": {
      "description": "JSON document",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "description": "Unknown bank or file"
     }
    }
   }
  }
 }
}