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

# List Token Contracts

> Your TRC-20 token contracts for Auto Bandwidth

## List Token Contracts

Returns the TRC-20 contracts you have added for Auto Bandwidth. A subscription with `token: "CUSTOM"` or `"OWN"` can use any of them in `contract`. Requires the `view` scope.

USDT and USDD are built in and never appear here: choose them with `token`.

### Response

**contracts** `array`

Your contracts.

**contract object**

**address** `string`

Contract address

**symbol** `string`

Token symbol, as the contract reports it (up to 16 characters)

**name** `string | null`

Token name, as the contract reports it (up to 40 characters); `null` if it has none

**decimals** `number`

Token decimals

**bandwidth** `number`

Bandwidth one transfer of this token takes — a guide for the subscription `volume`

> [!WARNING]
>
> `symbol` and `name` come from the contract itself, and anyone can deploy a token that calls itself "Tether USD". Always identify a token by its `address`.

### Example

```bash cURL theme={null}
curl https://api.tronrental.com/v1/bandwidth/auto/contracts \
  -H "X-API-Key: your_api_key"
```

```python Python theme={null}
import requests

resp = requests.get(
    "https://api.tronrental.com/v1/bandwidth/auto/contracts",
    headers={"X-API-Key": "your_api_key"},
)
print(resp.json())
```

```javascript JavaScript theme={null}
const resp = await fetch("https://api.tronrental.com/v1/bandwidth/auto/contracts", {
  headers: { "X-API-Key": "your_api_key" },
});
console.log(await resp.json());
```

```json Response theme={null}
{
  "contracts": [
    {
      "address": "TYourTokenContract1234567890abcdef",
      "symbol": "MTK",
      "name": "My Token",
      "decimals": 6,
      "bandwidth": 345
    }
  ]
}
```

### Errors

| Status | Code | When |
| - | - | - |
| `403` | `FORBIDDEN` | The API key lacks the `view` scope |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.