---
updatedAt: 2026-05-07T14:21:27.000Z
agentTools:
  projectIndex: https://docs.noves.fi/llms.txt
---

# /xrpl/{chain}/tokens/balancesOf/{accountAddress}

Returns the current token balances (and optionally, prices) for the provided XRP Ledger account address.

You can optionally specify a ledger index or ledger hash to get historical balances at a specific point in time.
If neither is provided, the latest validated ledger will be used.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Translate API",
    "description": "Translate raw blockchain transactions into human-friendly, enriched form. Powered by Noves.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://translate.noves.fi/"
    }
  ],
  "paths": {
    "/xrpl/{chain}/tokens/balancesOf/{accountAddress}": {
      "get": {
        "tags": [
          "Xrpl"
        ],
        "summary": "/xrpl/{chain}/tokens/balancesOf/{accountAddress}",
        "description": "Returns the current token balances (and optionally, prices) for the provided XRP Ledger account address.\r\n\r\nYou can optionally specify a ledger index or ledger hash to get historical balances at a specific point in time.\r\nIf neither is provided, the latest validated ledger will be used.",
        "parameters": [
          {
            "name": "accountAddress",
            "in": "path",
            "description": "The XRP Ledger account address to fetch balances for (starts with 'r').",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string",
              "default": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
              "example": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn"
            }
          },
          {
            "name": "chain",
            "in": "path",
            "description": "Name of the chain.",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string",
              "default": "xrpl",
              "example": "xrpl"
            }
          },
          {
            "name": "includePrices",
            "in": "query",
            "description": "If true, the response will include the prices of each token in USD.",
            "style": "form",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "ledgerIndex",
            "in": "query",
            "description": "The ledger index to use for historical balance lookup. Can be a number or 'validated', 'current', 'closed'.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ledgerHash",
            "in": "query",
            "description": "The ledger hash to use for historical balance lookup. Alternative to ledgerIndex.",
            "style": "form",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apiKey",
            "in": "header",
            "description": "API Key for Translate API. To generate an API Key, visit https://noves.fi/pricing",
            "required": true,
            "style": "simple",
            "schema": {
              "type": "string",
              "default": "demokey"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {}
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      }
    }
  }
}
```