> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swippee.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a bank profile

> Full profile for one bank — SWIFT code, branch count, contact info, NRB paid-up capital, head office, and current Nepal market interest rates.



## OpenAPI

````yaml /openapi.json get /v1/banks/{code}
openapi: 3.1.0
info:
  title: Swippee API
  version: 1.0.0
  description: >-
    Convert Nepali bank statement PDFs into structured financial data, derive
    lending products from a parse, and read Nepal's public-sector financial
    datasets — over one REST API.
servers:
  - url: https://api.swippee.com
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/banks/{code}:
    get:
      tags:
        - Banks
      summary: Get a bank profile
      description: >-
        Full profile for one bank — SWIFT code, branch count, contact info, NRB
        paid-up capital, head office, and current Nepal market interest rates.
      operationId: getBank
      parameters:
        - name: code
          in: path
          required: true
          schema:
            type: string
          example: NABIL
      responses:
        '200':
          description: Bank profile
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Bank'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    Bank:
      type: object
      properties:
        code:
          type: string
          example: NABIL
        name:
          type: string
          example: Nabil Bank
        founded_year:
          type: integer
        swift_code:
          type: string
        nrb_class:
          type: string
          example: A
        nrb_class_name:
          type: string
          example: Commercial Bank
        website:
          type: string
        branches:
          type: integer
        supported:
          type: boolean
    Error:
      type: object
      description: >-
        Flat, industry-standard error envelope. Branch on error_code, not the
        HTTP status.
      properties:
        error_type:
          type: string
          example: AUTHENTICATION_ERROR
        error_code:
          type: string
          example: INVALID_API_KEY
        error_message:
          type: string
          example: Unknown API key.
        display_message:
          type: string
          nullable: true
          example: null
        request_id:
          type: string
          example: req_8f3c9b2e4a1d4f7c9e0b1a2c3d4e5f60
        documentation_url:
          type: string
          example: https://docs.swippee.com/concepts/errors#invalid_api_key
        suggested_action:
          type: string
          example: Check your API key in the Authorization header.
  responses:
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found on this organization
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your API key from the dashboard, sent as `Authorization: Bearer
        swippee_sk_live_...`.

````