---
title: GET /v1/usdhb/deposit-address
---

# `GET /v1/usdhb/deposit-address`

Get my USDhb deposit address

The account's USDhb receive address on the issuer wallet, allocated on first request; 503 token_rail_unavailable where no token rail is wired.

Money, price, rate and count fields cross the wire as decimal strings; units are shown beside each field ([Wire encoding](/api/wire-encoding)). Group: [Usdhb](/api/reference/usdhb/).

**Auth:** API key (`x-api-key`)

**Scope:** `read`

**Rate limit:** the `read` budget ([Rate limits](/api/rate-limits))

**Effect:** `read`: reads only

## Request

```bash [curl]
curl -fsS "$HB/v1/usdhb/deposit-address" \
  -H "x-api-key: $HB_KEY"
```

```python [Python]
import os

import requests

HB = os.environ.get("HB", "https://testnet.hardbasis.com")

resp = requests.get(
    f"{HB}/v1/usdhb/deposit-address",
    headers={
        "x-api-key": os.environ["HB_KEY"],
    },
)
resp.raise_for_status()
print(resp.json())
```

```ts [TypeScript]
const HB = process.env.HB ?? "https://testnet.hardbasis.com";

const res = await fetch(`${HB}/v1/usdhb/deposit-address`, {
  method: "GET",
  headers: {
    "x-api-key": process.env.HB_KEY!,
  },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());
```

## Responses

- **200**: OK
  - <span id="res-200-address"></span>`address` · string · required
  - <span id="res-200-accountNumber"></span>`accountNumber` · string · unit `int` · required
  - <span id="res-200-tokenIdentifier"></span>`tokenIdentifier` · string \| null · required

Example `200` response:

```json
{
  "address": "string",
  "accountNumber": "100000",
  "tokenIdentifier": "string"
}
```

## Errors

Every refusal carries a stable `code` from [`ErrorCode`](/api/reference/all#errorcode) beside human `error` prose; match on the code. See [Errors](/api/errors).

- **401**: A refusal carrying a stable machine `code` (ErrorCode) beside human `error` prose.
- **403**: A refusal carrying a stable machine `code` (ErrorCode) beside human `error` prose.
- **429**: A token bucket is exhausted.
