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

# Check Credit Balance

> Returns the credit balance for the authenticated wallet.



## OpenAPI

````yaml GET /credits/balance
openapi: 3.0.3
info:
  title: Mako API
  description: >-
    OpenAI-compatible API with autonomous tool orchestration for on-chain data,
    web search, and more.
  version: 1.0.0
  contact:
    name: DeepMako
    url: https://deepmako.com
servers:
  - url: https://gateway.deepmako.com
    description: Production
security:
  - walletAddress: []
    bearerAuth: []
paths:
  /credits/balance:
    get:
      tags:
        - Overview
      summary: Check Credit Balance
      description: Returns the credit balance for the authenticated wallet.
      operationId: getCredits
      parameters:
        - name: x-wallet-address
          in: header
          required: true
          description: Your EVM wallet address.
          schema:
            type: string
            example: '0x0000000000000000000000000000000000000001'
      responses:
        '200':
          description: Credit balance
          content:
            application/json:
              schema:
                type: object
                properties:
                  address:
                    type: string
                    example: '0x0000000000000000000000000000000000000001'
                  credits:
                    type: integer
                    example: 4950
                  total_deposited:
                    type: integer
                    example: 5000
                  total_spent:
                    type: integer
                    example: 50
components:
  securitySchemes:
    walletAddress:
      type: apiKey
      in: header
      name: x-wallet-address
      description: Your EVM wallet address for authentication and credit tracking.
    bearerAuth:
      type: http
      scheme: bearer
      description: API key obtained from the gateway. Not required in free mode.

````