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

# Get Account Balance



## OpenAPI

````yaml https://api.mynth.io/openapi.json get /balance
openapi: 3.1.0
info:
  title: Mynth
  description: Mynth API
  version: 1.0.0
servers: []
security: []
paths:
  /balance:
    get:
      tags:
        - Account
      summary: Get Account Balance
      operationId: getBalance
      responses:
        '200':
          description: Account balance and API key spending limit usage
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      available:
                        type: string
                        description: 'Spendable balance: balance minus reserved.'
                      balance:
                        type: string
                        description: Current account balance in USD.
                      currency:
                        const: usd
                      reserved:
                        type: string
                        description: Amount reserved by in-flight tasks.
                      apiKey:
                        type: object
                        description: >-
                          Present when authenticated with an API key that has a
                          spending limit configured.
                        properties:
                          remainingInPeriod:
                            type: string
                          spendingLimit:
                            type: string
                          spendingLimitPeriod:
                            enum:
                              - day
                              - month
                              - week
                          usedInPeriod:
                            type: string
                        required:
                          - remainingInPeriod
                          - spendingLimit
                          - spendingLimitPeriod
                          - usedInPeriod
                    required:
                      - available
                      - balance
                      - currency
                      - reserved
                required:
                  - data
      security:
        - apiKeyAuth: []
        - oauthAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: 'Mynth API key sent as `Authorization: Bearer <api-key>`.'
    oauthAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'OAuth access token sent as `Authorization: Bearer <access-token>`.'

````