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

# Wallet Balance

> WaaS endpoint: get USDC balance for an ERC-8004 registered agent.

`agent_id` is the agent's wallet address (EVM 0x..., Base mainnet). The
wallet must be registered in the configured ERC-8004 Identity Registry;
a well-formed but unregistered wallet answers 404.

Fails closed rather than quoting a balance it could not read (#432):
503 wallet_registry_unconfigured when no registry address is configured,
503 wallet_rpc_unavailable when the Base read fails or the breaker is open.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/wallet/balance
openapi: 3.1.0
info:
  title: LimitGuard.ai
  description: Trust Intelligence API - Entity verification and risk scoring
  version: 0.1.0
servers:
  - url: https://api.limitguard.ai
security: []
paths:
  /v1/wallet/balance:
    get:
      summary: Wallet Balance
      description: >-
        WaaS endpoint: get USDC balance for an ERC-8004 registered agent.


        `agent_id` is the agent's wallet address (EVM 0x..., Base mainnet). The

        wallet must be registered in the configured ERC-8004 Identity Registry;

        a well-formed but unregistered wallet answers 404.


        Fails closed rather than quoting a balance it could not read (#432):

        503 wallet_registry_unconfigured when no registry address is configured,

        503 wallet_rpc_unavailable when the Base read fails or the breaker is
        open.
      operationId: wallet_balance_v1_wallet_balance_get
      parameters:
        - name: agent_id
          in: query
          required: true
          schema:
            type: string
            description: >-
              Agent's wallet address (EVM 0x…, Base mainnet); must be a
              registered ERC-8004 agent
            title: Agent Id
          description: >-
            Agent's wallet address (EVM 0x…, Base mainnet); must be a registered
            ERC-8004 agent
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````