Fragment Stars API
A production endpoint for Telegram Stars and Premium purchases with backend-only wallet signing, queue status, and permanent 0% API commission in KYC mode.
Production API Endpoint
https://fragment-api.ydns.eu:8443base URL{
"username": "@client",
"amount": 50,
"kyc_commission": "0%"
}Never expose seed or Fragment cookies in frontend code. Do not retry blindly after a transaction may have been signed or sent.
Ready-made Telegram shop
Use the open-source Telegram bot/shop example to sell Stars and Premium through this API.
/api/v1/stars/buy/api/v1/premium/buy/api/v1/commission/ratesCommission Rates
KYC mode is permanently free. If you want to double-check before using the API, call the public commission rates endpoint.
Check current rates via GET /api/v1/commission/rates
Safe instructions for vibe coding clients.
Give Codex, Claude, Cursor, or another coding agent the prepared context before it writes code. It prevents invented API tokens, frontend seed leaks, and duplicate-purchase retry logic.
Small entrypoint with the canonical endpoint, links, and hard rules.
Detailed REST examples, SDK notes, queue behavior, and failure handling.
Drop this into a Codex project or reference it from AGENTS.md.
Copy this into CLAUDE.md or ask Claude to read it before coding.