> ## 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.

# Auto Bandwidth Quote

> Price of 24 hours and of one transfer for a subscription volume

## Auto Bandwidth Quote

Returns what a subscription with this `volume` costs your account: the fee per 24 hours and the fee per transfer, with the transfer fee split into bandwidth and fixed fee. Nothing is created or charged. Requires the `view` scope. See [Cost](https://docs.tronrental.com/api-reference/auto-bandwidth/overview.md#cost) for when each fee is charged.

Without `subscription_id` the price depends on how you call it: with an API key, it is the price of a subscription created with that key; from the website, of one created on the website. With `subscription_id`, it is the price for that subscription, priced by the key it was created with — use it to see what a new `volume` would cost. It does not include activating an address that does not exist on-chain yet.

### Query parameters

**volume** `number` *required*

Bandwidth to keep on the address. From 1 to 5,000.

**subscription\_id** `number`

ID of one of your subscriptions. Optional.

### Response

**volume** `number`

The volume you asked about

**daily\_trx** `string`

Subscription fee per 24 hours

**transfer\_trx** `string`

Fee per transfer that uses up the delegated bandwidth: `transfer_bw_trx` + `transfer_fee_trx`

**transfer\_bw\_trx** `string`

The bandwidth part of the transfer fee

**transfer\_fee\_trx** `string`

The fixed fee part of the transfer fee. `"0.000000"` when your account has no fixed fee on bandwidth.

### Example

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

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

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

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

```json Response theme={null}
{
  "volume": 350,
  "daily_trx": "0.340000",
  "transfer_trx": "0.340000",
  "transfer_bw_trx": "0.140000",
  "transfer_fee_trx": "0.200000"
}
```

### Errors

| Status | Code | When |
| - | - | - |
| `403` | `FORBIDDEN` | The API key lacks the `view` scope |
| `404` | `NOT_FOUND` | `subscription_id` is not one of your subscriptions |
| `422` | — | `volume` is missing or outside 1 – 5,000 |


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