# List your orders

`GET /api/me/orders` · API key (scope `read`)

Your orders from the app, the Telegram bot and the API, newest first, with status and Tronscan links.

`funding` says how each was paid: `balance`, `deposit` (on chain) or `credit` (a free transfer). For the full order, [retrieve it](https://feebolt.com/developers/retrieve-order/) by id.

## Request

Base URL: `https://feebolt.com`. Needs an API key: Authorization: Bearer fb_live_…

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer | no | How many, newest first: 1 to 50 (default 50). Default `50`. |

## Examples

```bash
curl https://feebolt.com/api/me/orders \
  -H "Authorization: Bearer $FEEBOLT_API_KEY"
```

```js
const res = await fetch("https://feebolt.com/api/me/orders", {
  headers: {
    Authorization: `Bearer ${process.env.FEEBOLT_API_KEY}`,
  },
});
const data = await res.json();
if (!res.ok) throw new Error(data.message);
```

```python
import os, requests

r = requests.get(
    "https://feebolt.com/api/me/orders",
    headers={"Authorization": f"Bearer {os.environ['FEEBOLT_API_KEY']}"},
)
r.raise_for_status()
data = r.json()
```

## Response: 200 OK

Orders, newest first.

```json
{
  "orders": [
    {
      "id": "ord_3k9x2m7q1v8b4n6c0z5w",
      "kind": "rent",
      "funding": "balance",
      "source": "site",
      "currency": "TRX",
      "amount": "1.82",
      "transfers": 1,
      "createdAt": 1795895286725,
      "settled": "delivered",
      "status": "delivered",
      "stage": "ready",
      "address": "TKHuVq1oKVruCGLvqVexFs6dawKv6fQgFs",
      "energy": 64285,
      "durationSec": 3600,
      "payTo": null,
      "expiresAt": 1795896186725,
      "txs": [
        {
          "txId": "5b02c0f8e9d1a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8091ae19c",
          "url": "https://tronscan.org/#/transaction/5b02c0f8e9d1a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d6e7f8091ae19c"
        }
      ]
    }
  ]
}
```

## Errors

| HTTP | error | When |
| --- | --- | --- |
| 400 | `bad_limit` | limit isn't a whole number in range. |
| 401 | `missing_api_key` | This endpoint needs an API key: `Authorization: Bearer fb_live_…`. |
| 401 | `invalid_api_key` | The key is malformed or unknown. A bad key is refused on every endpoint that takes keys, never ignored. |
| 401 | `api_key_revoked` | The key was revoked in Settings › API keys. |
| 403 | `account_closed` | The key's account is closed. |
| 403 | `insufficient_scope` | The key lacks the scope this endpoint needs (`read` or `order`). |
| 429 | `rate_limited` | Too many calls (per IP, or per key with a key). Wait for Retry-After seconds. |

## Rate limits

- With an API key: 120 at once, then 2 per second, per key.

---

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