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

# Get balance and budget information for the authenticated API key



## OpenAPI

````yaml /api-reference/openapi-v2.yaml get /api/v2/balance
openapi: 3.0.3
info:
  title: DumplingAI Unified API
  version: 2.0.0
  description: >
    Transport reference for DumplingAI's Unified API under `/api/v2`.

    These endpoints cover search, details, execution, usage, and balance for
    capabilities, providers, and endpoints.
servers:
  - url: https://app.dumplingai.com
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Catalog
    description: Search and inspect capabilities and provider endpoints.
  - name: Execution
    description: Execute capabilities and provider endpoints.
  - name: Usage
    description: Inspect balance, usage, and transactions for a specific API key.
paths:
  /api/v2/balance:
    get:
      tags:
        - Usage
      summary: Get balance and budget information for the authenticated API key
      responses:
        '200':
          description: Balance information
        '401':
          description: Authentication failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        requestId:
          type: string
        error:
          type: string
        code:
          type: string
      required:
        - success
        - requestId
        - error
        - code
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````