# Quote a send

`POST /api/send/quote` · Optional key

What sending USDT costs from a wallet with no TRX: energy, bandwidth and the fee in USDT.

For a single send and for 3- and 5-send sessions (`options`): the energy for the fee transfer and the sends, bandwidth when the free allowance doesn't cover it, the fee in USDT, the saving against GasFree and against burning TRX, and the sender's balances. Reads the chain live.

## Request

Base URL: `https://feebolt.com`. Works without a key (per-IP limits). With an API key the limits are per key and higher.

### Body parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `sender` | string | yes | The wallet that holds the USDT (and no TRX). |
| `recipient` | string | yes | Where the USDT goes. |
| `amount` | number | no | USDT to send. |
| `bundle` | 1 \| 3 \| 5 | no | Sends in the session. Default `1`. |

## Examples

```bash
# Optional: add -H "Authorization: Bearer $FEEBOLT_API_KEY" for per-key limits
curl -X POST https://feebolt.com/api/send/quote \
  -H "content-type: application/json" \
  -d '{"sender":"TKHuVq1oKVruCGLvqVexFs6dawKv6fQgFs","recipient":"TJRyWwFs9wTFGZg3JbrVriFbNfCug5tDeC","amount":250}'
```

```js
const res = await fetch("https://feebolt.com/api/send/quote", {
  method: "POST",
  headers: {
    // optional: Authorization: `Bearer ${process.env.FEEBOLT_API_KEY}`,
    "content-type": "application/json",
  },
  body: JSON.stringify({
    "sender": "TKHuVq1oKVruCGLvqVexFs6dawKv6fQgFs",
    "recipient": "TJRyWwFs9wTFGZg3JbrVriFbNfCug5tDeC",
    "amount": 250
  }),
});
const data = await res.json();
if (!res.ok) throw new Error(data.message);
```

```python
import requests

r = requests.post(
    "https://feebolt.com/api/send/quote",
    json={
        "sender": "TKHuVq1oKVruCGLvqVexFs6dawKv6fQgFs",
        "recipient": "TJRyWwFs9wTFGZg3JbrVriFbNfCug5tDeC",
        "amount": 250
    },
)
r.raise_for_status()
data = r.json()
```

## Response: 200 OK

The quote and the session options.

```json
{
  "quote": {
    "amountMicro": "250000000",
    "bundle": 1,
    "recipientHoldsUsdt": true,
    "energy": 128570,
    "bandwidth": 0,
    "feeMicro": "1650000",
    "feeUsdt": 1.65,
    "gasFreeUsdt": 1.5,
    "savingVsBurnUsdt": 2.3,
    "expiresAt": 1795895586725,
    "…": "…"
  },
  "options": [
    "…"
  ],
  "sender": {
    "usdt": 980.5,
    "trx": 0,
    "…": "…"
  }
}
```

## Errors

| HTTP | error | When |
| --- | --- | --- |
| 400 | `bad_request` | The body isn't a JSON object, or is over 4 KB. |
| 400 | `bad_sender` | The sender isn't a valid TRON address, or can't send this. |
| 400 | `bad_recipient` | recipient isn't holder or empty, or recipientAddress isn't a TRON address. |
| 400 | `bad_amount` | The amount is missing, too small, or more than the sender holds. |
| 400 | `bad_bundle` | bundle isn't 1, 3 or 5. |
| 400 | `same_address` | Sender and recipient are the same. |
| 429 | `rate_limited` | Too many calls (per IP, or per key with a key). Wait for Retry-After seconds. |
| 502 / 503 | `upstream` | The TRON node didn't answer (503 when it rate-limited us). Retry in a few seconds. |

## Rate limits

- Without a key: 30 at once, then 1 every 4 s, per IP.
- With an API key: 150 at once, then 1.25 per second, per key.

---

HTML: https://feebolt.com/developers/send-quote/ · OpenAPI: https://feebolt.com/developers/openapi.json · All docs as one Markdown file: https://feebolt.com/developers/full.md
