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.
Fetch state information by passing a specific country code.
| Parameter | Type | Required |
|---|---|---|
| apiKey | String | YES |
| YourID | String | YES |
| country_code | String | No |
{
"name": "Uzbekistan 🇺🇿",
"code_Num": "40",
"code": "UZ",
"qty": 6450
"price": "0.80"
}
Retrieve the list of countries where numbers are available.
| Parameter | Type | Required |
|---|---|---|
| apiKey | String | YES |
| YourID | String | YES |
{
"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"
}
}
}
Check your current balance in the system.
| Parameter | Type | Required |
|---|---|---|
| apiKey | String | YES |
| YourID | String | YES |
{
"status": "ok",
"balance": "260.5 USD"
}
Purchase a phone number from a specific country.
| Parameter | Type | Required |
|---|---|---|
| apiKey | String | YES |
| YourID | String | YES |
| country_code | String | YES |
| maxPrice | String | NO |
{
"status": "ok",
"name": "Uzbekistan 🇺🇿",
"Number": "+99800000000",
"price": "0.80",
"new_balance": 140.5
}
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
| Parameter | Type | Required |
|---|---|---|
| apiKey | String | YES |
| YourID | String | YES |
| number | String | YES |
{
"status": "ok",
"Number": "+99800000000",
"code": "47607",
"pass": "2345GD8R"
}