> For the complete documentation index, see [llms.txt](https://docs.localramp.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.localramp.co/crypto-off-ramp/direct-api-sell/get-crypto-balance.md).

# Get Crypto Balance

Before doing an instant sell transaction, you'll need to know how much is in your wallet balance for the cryptocurrency you want to sell. To do that, make a **GET** request to the following endpoint.

{% code overflow="wrap" %}

```url
https://api.localramp.co/v1/wallet/balances
```

{% endcode %}

With the following header

```
x-auth-token: <SECRET_KEY>
```

If the API call is successful, LocalRamp returns the following response:

```javascript

{
    "status": "success",
    "data": {
        "balances": [
            {
                "currency": "usdc",
                "balance": "0.0"
            },
            {
                "currency": "bnb",
                "balance": "0.0"
            }
        ]
    }
}

```
