End Close Bank Account Balances API

The Bank Account Balances API from End Close — 2 operation(s) for bank account balances.

Operations 3

GET /bank_account_balances List bank account balances #
POST /bank_account_balances Create or update a bank account balance #
POST /bank_account_balances/bulk Bulk create or update bank account balances #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/end-close:end-close-bank-account-balances-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

end-close-bank-account-balances-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: End Close Bank Account Balances API
  description: REST API is used to interact with the End Close platform.
  license:
    name: MIT
  version: 1.0.0
servers:
- url: https://api.endclose.com/v1
security:
- ApiKeyAuth: []
tags:
- name: Bank Account Balances
paths:
  /bank_account_balances:
    get:
      summary: List bank account balances
      description: Returns all balances for a bank account, ordered by date descending.
      parameters:
      - in: query
        name: bank_account_id
        required: true
        schema:
          type: string
        description: The bank account to list balances for
      responses:
        '200':
          description: List of bank account balances
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BankAccountBalance'
        '401':
          description: Unauthorized
        '422':
          description: bank_account_id is required
      tags:
      - Bank Account Balances
      operationId: getBankAccountBalances
      x-operation-id-source: derived
    post:
      summary: Create or update a bank account balance
      description: Creates a balance for the specified bank account. If a balance already exists for the same date and balance type, it will be updated with the new amount (upsert behavior).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - bank_account_id
              - date
              - balance_type
              - amount_cents
              properties:
                bank_account_id:
                  type: string
                  description: ID of the bank account
                date:
                  type: string
                  format: date
                  description: The date of the balance
                balance_type:
                  type: string
                  enum:
                  - opening_ledger
                  - closing_ledger
                  - current_ledger
                  - opening_available
                  - opening_available_next_business_day
                  - closing_available
                  - current_available
                  - previously_closed_book
                  - other
                  description: The type of balance
                amount_cents:
                  type: integer
                  description: The balance amount in cents (e.g., 1234 = $12.34)
      responses:
        '201':
          description: Balance created or updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BankAccountBalance'
        '401':
          description: Unauthorized
        '422':
          description: Validation error
      tags:
      - Bank Account Balances
      operationId: postBankAccountBalances
      x-operation-id-source: derived
  /bank_account_balances/bulk:
    post:
      summary: Bulk create or update bank account balances
      description: Submit up to 1,000 balances for a bank account in a single request. Each balance is upserted — if a balance already exists for the same date and balance type, it will be updated with the new amount. All balances are processed in a single transaction.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - bank_account_id
              - balances
              properties:
                bank_account_id:
                  type: string
                  description: ID of the bank account
                balances:
                  type: array
                  minItems: 1
                  maxItems: 1000
                  items:
                    type: object
                    required:
                    - date
                    - balance_type
                    - amount_cents
                    properties:
                      date:
                        type: string
                        format: date
                        description: The date of the balance
                      balance_type:
                        type: string
                        enum:
                        - opening_ledger
                        - closing_ledger
                        - current_ledger
                        - opening_available
                        - opening_available_next_business_day
                        - closing_available
                        - current_available
                        - previously_closed_book
                        - other
                        description: The type of balance
                      amount_cents:
                        type: integer
                        description: The balance amount in cents (e.g., 1234 = $12.34)
      responses:
        '201':
          description: Balances created or updated
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    description: Number of balances processed
                  balances:
                    type: array
                    items:
                      $ref: '#/components/schemas/BankAccountBalance'
        '401':
          description: Unauthorized
        '422':
          description: Validation error (e.g. exceeds 1,000 balances)
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
      tags:
      - Bank Account Balances
      operationId: postBankAccountBalancesBulk
      x-operation-id-source: derived
components:
  schemas:
    BankAccountBalance:
      type: object
      required:
      - bank_account_id
      - date
      - balance_type
      - amount_cents
      properties:
        id:
          type: integer
          description: Unique numeric identifier
        bank_account_id:
          type: integer
          description: ID of the bank account this balance belongs to
        date:
          type: string
          format: date
          description: The date of the balance
        balance_type:
          type: string
          enum:
          - opening_ledger
          - closing_ledger
          - current_ledger
          - opening_available
          - opening_available_next_business_day
          - closing_available
          - current_available
          - previously_closed_book
          - other
          description: The type of balance
        amount_cents:
          type: integer
          description: The balance amount in cents (e.g., 1234 = $12.34)
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY