SkillAgentSearch skills...

FragmentAPI

๐Ÿงฉ Fast and Secure API for Fragment (fragment.com): Purchase of Telegram Stars and Premium without KYC โญ

Install / Use

/learn @NightStrang6r/FragmentAPI
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<h1 align="center"> โšก๏ธ Fragment API โšก๏ธ </h1> <h4 align="center"> ๐Ÿงฉ API for Fragment (<a href="https://fragment.com">fragment.com</a>): purchase of Telegram Stars and Premium ๐Ÿงฉ </h4> <p align="center"> <img src="https://i.ibb.co/YNxYtn7/2025-01-25-213756244.png" alt="Fragment API"/> </p> <p align="center"> <img src="https://i.ibb.co/9bG0D5Q/2025-01-25-214508436-1.png" alt="Fragment API"/> </p> <p align="center"> <img src="https://i.ibb.co/hWwfFy0/2025-01-25-214704759.png" alt="Fragment API"/> </p>

๐Ÿš€ Features

  • ๐Ÿ’ธ Purchase Telegram Stars & Premium

  • โšก๏ธ Works with or without KYC

  • ๐Ÿ”‚ Bypass Fragment purchase limits

  • ๐Ÿ” Full end-to-end encryption

  • ๐Ÿงฉ No API key or registration required

  • ๐Ÿ’™ No TON API required

  • ๐Ÿ“ˆ Multi-transaction support

  • ๐Ÿ” Simple integration

  • ๐Ÿ“ˆ Optimized for automation

  • ๐Ÿง  Developer-friendly

๐ŸŒ Documentation & Endpoints

Online documentation is available here: https://fragment-api.net

๐Ÿ“Œ Requirements

  • โœ… TON Wallet v4r2 ๐Ÿช™

  • โœ… TON Wallet should be Active (send any transaction from it) ๐Ÿช™

  • โœ… Seed should be base64-encoded ๐Ÿ”

๐Ÿ“Œ Requirements if you use your own Fragment account

  • โœ… Fragment account with linked TON wallet and Telegram account ๐Ÿ”—

  • โœ… KYC verification on Fragment ๐Ÿ†”

  • โœ… Export cookies from Fragment ๐Ÿช (as Header String using Cookie Editor extension)

  • โœ… Fragment cookies should be base64-encoded ๐Ÿ”

โ˜‘๏ธ Examples

โœจ Purchase Telegram Stars

import requests
import base64

url = "https://api.fragment-api.net/buyStars"
headers = {
    "Content-Type": "application/json"
}

username = "@durov"  # Replace with the Telegram username
amount = 100  # Replace with the number of stars to purchase
fragment_cookies = base64.b64encode(b"your_fragment_cookies").decode("utf-8")  # Replace with Fragment cookies (Copy from Cookie Editor extension as "Header String")
seed = base64.b64encode(b"your_seed").decode("utf-8")  # Replace with TON seed

# Request payload
data = {
    "username": username,
    "amount": amount,
    "fragment_cookies": fragment_cookies,
    "seed": seed
}

try:
    # Sending POST request
    response = requests.post(url, headers=headers, json=data)

    # Handling success responses
    if response.status_code == 200:
        result = response.json()
        if result.get("success"):
            print("\n๐ŸŽ‰ Purchase completed successfully!")
            print(f"๐Ÿ‘ค Username: {username}")
            print(f"โœจ Stars purchased: {amount}")
        else:
            print("\nโš ๏ธ Purchase failed.")
            print(f"โŒ Reason: {result.get('message', 'Unknown error')}")

    # Handling other responses
    elif response.status_code == 400:
        print("\nโš ๏ธ Bad Request.")
        print(f"Message: {response.json().get('message', 'Invalid request data')}")
    elif response.status_code == 422:
        print("\nโš ๏ธ Validation Error.")
        print(f"Message: {response.json().get('message', 'Validation failed')}")
    elif response.status_code == 500:
        print("\n๐Ÿ’ฅ Server Error.")
        print(f"Message: {response.json().get('message', 'Internal server error')}")
    else:
        print("\nโ“ Unexpected status code:", response.status_code)
        print("Response:", response.json())

# Handling request exceptions
except requests.RequestException as e:
    print("\n๐Ÿšจ Request failed:", str(e))

โ–ถ๏ธ Quickstart & Fees

Fees depend on your daily turnover and needs. To get more information, contact the developer: https://t.me/NightStrang6r

๐ŸŽ‰ Like it? Star it!

Please rate this repository by giving it a star rating in the top right corner of the GitHub page (you must be logged in to your account). Thank you โค๏ธ

๐Ÿ“„ License

ยฉ Leonid Tsaruk 2025

This repository is licensed under GNU GENERAL PUBLIC LICENSE.

Related Skills

View on GitHub
GitHub Stars34
CategoryDevelopment
Updated1mo ago
Forks1

Security Score

90/100

Audited on Feb 24, 2026

No findings