# Asset Balances

Request asset balance info of the account. &#x20;

#### **Method**

```

GET https://api.ninjapay.me/tapi/v1/assetBalance

```

#### **Parameters**

// no parameters required&#x20;

#### **Response**

```json
{
    "status": <bool>, 
    "data": {
        "lbtc": <string>,//balance in BTC, not SAT
        "btc": <string>,//balance in BTC, not SAT
        "eth": <string>,//balance in Ethereum
        "sol": <string>,//balance in Solana
        "ltc": <string>,//balance in Litcoin
        "matic": <string>,//balance in Matic 
    },
    "message": <string>
}
 
```

#### **Example**

```jsx

const options = {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
    'x-api-key': 'API_KEY' // Invoice key
  },
  body: '{}'
};

fetch('https://api.ninjapay.me/tapi/v1/assetBalance', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
  
```

#### **Ex Response**

```json

{
    "status": true,
    "data": {
        "btc": "0.00000002" //balance in BTC, not SAT
        "eth": "1.20000000" 
    },
    "message": "last updated at 2:42pm, 12Jan 24"
}
 
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ninjapay.gitbook.io/ninjapay-api-docs/how-to/api-reference-btc/spot-trade/asset-balances.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
