• TG-Lion | API •

A: Documentation Overview

Welcome to the TG-Lion API documentation! This section will guide you on how to integrate your system efficiently and securely. It is characterized by ease, speed and high efficiency.

What API functions do we offer?

• Get Country Information

Fetch state information by passing a specific country code.

ParameterTypeRequired
apiKeyStringYES
YourIDStringYES
country_codeStringNo

Example 1: Get all countries

https://TG-Lion.net?action=country_info&apiKey=YOUR_API_KEY&YourID=Your_ID

Example 2: Get information for a specific country

https://TG-Lion.net?action=country_info&apiKey=YOUR_API_KEY&YourID=Your_ID&country_code=uz

Response Example:

{
  "name": "Uzbekistan 🇺🇿",
  "code_Num": "40",  
  "code": "UZ", 
  "qty": 6450
  "price": "0.80"
}
    

• Get Available Countries

Retrieve the list of countries where numbers are available.

ParameterTypeRequired
apiKeyStringYES
YourIDStringYES

Example:

https://TG-Lion.net?action=available_countries&apiKey=YOUR_API_KEY&YourID=Your_ID

Response Example:

{
  "status": "ok",
  "countries": {
    "UA": {
      "name": "Ukraine 🇺🇦", 
      "code_Num": "1",
      "code": "UA",
      "qty": 425,
      "price": "1.5"
    },
    "SA": {
      "name": "Saudi Arabia 🇸🇦", 
      "code_Num": "53",
      "code": "SA",
      "qty": 630,
      "price": "1.1"
    },
    "TR": {
      "name": "Türkiye 🇹🇷", 
      "code_Num": "62",
      "code": "TR",
      "qty": 1601,
      "price": "1"
    },
    "HK": {
      "name": "Hong Kong 🇭🇰", 
      "code_Num": "14",
      "code": "HK",
      "qty": 365,
      "price": "0.65"
    }
  }
}
    

• Get Account Balance

Check your current balance in the system.

ParameterTypeRequired
apiKeyStringYES
YourIDStringYES

Example:

https://TG-Lion.net?action=get_balance&apiKey=YOUR_API_KEY&YourID=Your_ID

Response Example:

{
  "status": "ok",
  "balance": "260.5 USD"
}
    

• Buy Number

Purchase a phone number from a specific country.

ParameterTypeRequired
apiKeyStringYES
YourIDStringYES
country_codeStringYES
maxPriceStringNO

Example:

https://TG-Lion.net?action=getNumber&apiKey=YOUR_API_KEY&YourID=Your_ID&country_code=uz

Response Example:

{
  "status": "ok", 
  "name": "Uzbekistan 🇺🇿",
  "Number": "+99800000000",
  "price": "0.80",
  "new_balance": 140.5
}
    

• Get code

Get the code requires you to pass the number only

By default, when you get a login code bot does disables the account password, Do you want the bot to disable the password after Get the Code? All you have to do is Go to: Advanced Settings→Disable 2FA: then stop

ParameterTypeRequired
apiKeyStringYES
YourIDStringYES
numberStringYES

Example 1: Get the code Just

https://TG-Lion.net?action=getCode&number=+99800000000&apiKey=YOUR_API_KEY&YourID=Your_ID

Response Example:

{
  "status": "ok", 
  "Number": "+99800000000",
  "code": "47607",
  "pass": "2345GD8R"
}
    

• Do you want examples?

• Do you want support?