Framework Agnostic
Support for popular frameworks, including React, Vue, Svelte, Astro, Solid, Next.js, Nuxt, Tanstack Start, Hono, and more.
Enable your users to purchase Telegram Stars and Premium subscriptions directly through your application.
Our API provides a comprehensive set of features to enable Telegram Stars and Premium purchases.
Support for popular frameworks, including React, Vue, Svelte, Astro, Solid, Next.js, Nuxt, Tanstack Start, Hono, and more.
Allow your users to purchase Telegram Stars directly through your application with a simple API call.
Enable users to subscribe to Telegram Premium with various subscription plans and manage their premium features.
All transactions are processed securely with industry-standard encryption, authentication, and TLS protection.
Our REST API works with any programming language or framework. Easy integration with just a few API calls.
Access detailed transaction history and reports for all purchases made through your application.
Our API lets developers easily integrate Telegram Stars and Premium purchases, enabling users to buy and manage premium features with just a few calls.
010203040506070809101112131415161718192021async function purchaseTelegramPremium(userId, plan) { try { const response = await fetch('', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_API_KEY' }, body: JSON.stringify({ quantity, recipient_hash: 'user_telegram_hash', username: 'user_telegram_username' }) }); const data = await response.json(); return data; } catch (error) { console.error('Error purchasing Telegram Premium:', error); throw error; }}