Quote many Stars quantities in one request
Quote a whole LIST of Stars quantities in a single request — built for storefronts that refresh preview prices for an entire pack catalog. One batch call consumes ONE unit of your request budget (and one probe unit), instead of one per pack.
Stars-only (type=stars). The quantity list is deduped and returned sorted ascending, up to 200 values per call. Each entry carries the same amount + fee itemisation as GET /v1/pricing for that quantity — the two endpoints agree cent-for-cent. Shared response fields (usdt_per_ton, quoted_at, valid_until) are hoisted to the top level.
Rate limit: same tighter 60 req/min per-tenant probe cap as GET /v1/pricing — but since a single call covers your whole catalog, one call per refresh window is all you need.
Query parameters
Comma-separated Stars quantities (each 50–1000000, max 200 values).
ton = GRAM (TON), usdt_ton = USDT on the TON chain.
Response
One quote per requested quantity (deduped, ascending).
Example response
{
"quotes": [
{
"quantity": 500,
"amount": "5.757",
"fee": {
"subtotal": "13.18",
"processing_fee": "0.92",
"total": "14.1",
"description": "1% swap + 0.5 GRAM gas"
}
}
],
"usdt_per_ton": "2.85"
}