★ API
A simpler alternative to the Fragment API
Fragment has no public API for reselling Stars and Premium. PayStars gives you a stable REST API on top of it, with balances and statuses handled for you.
Automatic deliverymost orders in minutes
Username checkbefore you pay
Open pricessame on site, bot, API
Public ledgerevery order gets a TxId
What you avoid
- Managing a TON wallet and Toncoin rates
- Session handling and scraping that breaks on UI changes
- Building retries, refunds and recipient validation yourself
What you get
HTTPS endpoints with API keys, recipient checks, idempotency, a UZS or USD balance and a public TxId for every order.
Frequently asked questions
Is this an official Fragment API?
No. PayStars is an independent service that delivers through Telegram's official purchase flow and exposes its own API.
Do I need a TON wallet?
No. Top up in UZS or USDT; we handle the rest.
Related pages
Telegram Stars APISell Telegram Stars and Premium inside your own bot, shop or app.Telegram Stars API: Python quickstartA minimal, production-safe flow in Python with the requests library.Telegram Stars API: Node.js quickstartNode 18+ has fetch built in — no extra packages needed.Telegram Stars API: PHP quickstartA compact cURL helper you can drop into any PHP project or bot.USD pricing for the APIRun your Stars business in dollars: a USD balance funded with USDT, live quotes and a price cap on every order.Buy Telegram StarsSend Stars to yourself or anyone with a public @username.
Ready to order?
Sign in with Telegram — your StarKerak balance works on the site, in the WebApp and through the API.
