MyStars Fragment as a Service
MyStars Fragment as a Service (FaaS) is a public fulfillment API for Telegram Stars and Telegram Premium. Create an order for any @username, pay in GRAM or USDT on the TON network, and the Stars or Premium land on that account in under 60 seconds — no KYC, no card, works globally. Built for bots, storefronts and resellers: quote pricing (single or batch, up to 200 quantities), check recipient…
MyStars Fragment as a Service endpoints
| Method | Endpoint | Description |
|---|---|---|
| default | ||
| GET |
getBatchPricingUpTo200Quantities /v1/pricing/batch |
Batch quotes for storefronts refreshing a whole pack catalog in one request. Added in v1.10.0. See https://mystars.tg/docs for the exact parameter schema. |
| POST |
cancelOrder /v1/orders/ord_example/cancel |
Cancel a still-cancellable order. Returns 409 `OrderNotCancellableError` if the order has already progressed. Order-lifecycle calls (create/get/cancel) are metered by a dedicated… |
| GET |
getOrder /v1/orders/ord_example |
Order status & details: `status` (pending → paid → delivered / failed / expired / reversed), `amount_ton`, `payment_tx`, `purchase_tx`, `failure_reason`, `reversal_tx`. |
| POST |
createOrder /v1/orders |
Creates a non-custodial order. Response echoes `type` + `quantity`/`months` and includes a `payment` block (PaymentInstruction): pay `payment.amount` to `payment.pay_to_address`… |
| GET |
listOrders /v1/orders |
Paginated order list. The SDKs expose async iteration (`aiter_orders`). |
| POST |
checkRecipientEligibility /v1/recipients/check |
Verify a @username can receive the product BEFORE creating an order. `type` is required — e.g. a recipient with an active Premium subscription can't be gifted Premium (`eligible:… |
| GET |
listProducts /v1/products |
Price-free product catalog: the two product types (`stars`, `premium`) and the buyable shape of each — stars: continuous quantity range 50–1,000,000; premium: fixed tiers 3/6/12… |
| GET |
getPricingQuote /v1/pricing |
All-in quote. Returns `amount` + `currency` (the full total to pay), `quoted_at`, `valid_until` (re-quote hint), `usdt_per_ton` rate, and echoes `type` + `quantity`/`months`. For… |
MyStars Fragment as a Service pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|