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

# Balance

> gRPC: `cosmos.bank.v1beta1.Query/Balance` ([reference](/sdk/next/api-reference/grpc/bank#balance))

Balance queries the balance of a single coin for a single account.



## OpenAPI

````yaml /sdk/next/api-reference/rest/openapi.yaml get /cosmos/bank/v1beta1/balances/{address}/by_denom
openapi: 3.0.0
info:
  title: Cosmos SDK REST API
  description: >-
    HTTP bindings for the gRPC query services of the standard Cosmos SDK
    modules, documenting Cosmos SDK v0.55 (unreleased).


    Generated from cosmos/cosmos-sdk at commit
    c1126e4e5460571378bf9bd9c49cce476b0791e2 on ref `main`.


    A chain exposes only the modules its application registers, so it may serve
    a subset of these routes alongside routes of its own.
  version: v0.55 (unreleased)
servers:
  - url: https://cosmos-rest.publicnode.com
    description: >-
      Community-run public endpoint serving Cosmos Hub. Not operated by the
      Cosmos SDK team, and running a different SDK version than these pages
      document. Endpoints for modules the chain does not include return 501.
  - url: http://localhost:1317
    description: Your own node. Requires api.enable in app.toml.
security: []
tags:
  - name: auth
  - name: authz
  - name: bank
  - name: base
  - name: consensus
  - name: distribution
  - name: epochs
  - name: evidence
  - name: feegrant
  - name: gov
  - name: mint
  - name: slashing
  - name: staking
  - name: tx
  - name: upgrade
paths:
  /cosmos/bank/v1beta1/balances/{address}/by_denom:
    get:
      tags:
        - bank
      summary: Balance
      description: >-
        gRPC: `cosmos.bank.v1beta1.Query/Balance`
        ([reference](/sdk/next/api-reference/grpc/bank#balance))


        Balance queries the balance of a single coin for a single account.
      operationId: bank_v1beta1_Balance
      parameters:
        - name: address
          description: address is the address to query balances for.
          in: path
          required: true
          schema:
            type: string
        - name: denom
          description: denom is the coin denom to query balances for.
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: A successful response.
          content:
            '*/*':
              schema:
                type: object
                properties:
                  balance:
                    description: balance is the balance of the coin.
                    type: object
                    properties:
                      denom:
                        type: string
                      amount:
                        type: string
                    nullable: true
                    additionalProperties: false
                description: >-
                  QueryBalanceResponse is the response type for the
                  Query/Balance RPC method.
                additionalProperties: false
        default:
          description: An unexpected error response.
          content:
            '*/*':
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    format: int32
                  message:
                    type: string
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        '@type':
                          type: string
                      additionalProperties: {}

````