API V2 Documentation
| API URL | https://tangmatlive.org/api/v2 |
| API Key | Please login to get API Key |
| HTTP Method | POST |
| Content-Type | application/x-www-form-urlencoded |
| Response | JSON |
| Parameters | Description |
| key | API Key |
| action | "services" |
Example response
[
{
"service": 1,
"name": "Facebook views",
"type": "Default",
"category": "Facebook",
"rate": "2.5",
"min": "200",
"max": "10000",
"refill": true
}, {
"service": 2,
"name": "Tiktok views",
"type": "Default",
"category": "Tiktok",
"rate": "4",
"min": "10",
"max": "1500",
"refill": false
}
]
| Parameters | Description |
| key | API Key |
| action | "add" |
| service | Service ID |
| link | Url |
| quantity | Needed quantity |
| minute | Needed minute |
| reaction | Include: "like", "love", "haha", "wow", "sad", "angry" |
Example response
{
"order": 99999
}
| Parameters | Description |
| key | API Key |
| action | "status" |
| order | Order ID |
Example response
{
"charge": "2.5",
"start_count": "168",
"status": "Completed",
"remains": "-2"
}
Status: Pending, Processing, In progress, Completed, Partial, Canceled
| Parameters | Description |
| key | API Key |
| action | "status" |
| orders | Order IDs separated by comma (E.g: 123,456,789) (Limit 100) |
Example response
{
"123": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157"
},
"456": {
"error": "Incorrect order ID"
},
"789": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10"
}
}
| Parameters | Description |
| key | API Key |
| action | "balance" |
Example response
{
"balance": "343.22",
"currency": "USD"
}
| Parameters | Description |
| key | API Key |
| action | "refill" |
| order | Order ID |
Example response
{
"refill": "1"
}
| Parameters | Description |
| key | API Key |
| action | "refill" |
| orders | Order IDs separated by comma (E.g: 123,456,789) (Limit 100) |
Example response
[
{
"order": 1,
"refill": 1
},
{
"order": 2,
"refill": 2
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]
| Parameters | Description |
| key | API Key |
| action | "refill_status" |
| refill | Refill ID |
Example response
{
"status": "Completed"
}
| Parameters | Description |
| key | API Key |
| action | "refill_status" |
| refills | Refill IDs separated by comma (E.g: 123,456,789) (Limit 100) |
Example response
[
{
"refill": 1,
"status": "Completed"
}, {
"refill": 2,
"status": "Rejected"
}, {
"refill": 3,
"status": {
"error": "Incorrect refill ID"
}
}
]
| Parameters | Description |
| key | API Key |
| action | "refill_status" |
| refills | Refill IDs separated by comma (E.g: 123,456,789) (Limit 100) |
Example response
[
{
"refill": 1,
"status": "Completed"
}, {
"refill": 2,
"status": "Rejected"
}, {
"refill": 3,
"status": {
"error": "Incorrect refill ID"
}
}
]
| Parameters | Description |
| key | API Key |
| action | "cancel" |
| refills | Order IDs separated by comma (E.g: 123,456,789) (Limit 100) |
Example response
[
{
"order": 123,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 456,
"cancel": 1
}
]
| Parameters | Description | ||
| key | API Key | ||
| action | "buy_proxy" | ||
| proxy | v4static | v6static | v4rotate |
| type | |||
| quantity | Needed quantity | ||
| days | Min 1 | Min 30 | |
| protocol | "HTTP" or "SOCKS5" | ||
| user | Optional - Custom username for proxy authentication | ||
| password | Optional - Custom password for proxy authentication |
Example response
{
"status": "success",
"data": [
{
"id": 279,
"proxy_type": "Proxy v4 static",
"protocol": "HTTPS",
"data": "206.125.175.230:13271:bUMBYc:YbhrHU",
"data2": "114.256.712.19:13271:bUMBYc:YbhrHU",
"status": "success",
"expired_at": "18-05-2025 22:14:17"
},
{
"id": 280,
"proxy_type": "Proxy v4 static",
"protocol": "HTTPS",
"data": "14.224.198.65:20693:user20694:AXYAE",
"data2": "114.256.712.19:14221:user20694:AXYAE",
"status": "success",
"expired_at": "18-05-2025 22:14:17"
}
],
"payment": 1152,
"balance": 965567
}
| Parameters | Description |
| key | API Key |
| action | "get_proxy" |
| proxy_id | Example: 37775 |
Example response
{
"status": "success",
"order": {
"proxy_id": 37775,
"proxy_type": "Proxy v4 static",
"protocol": "HTTPS",
"data": "172.111.171.99:14288:10md12:123456",
"data2": "114.122.09.99:11218:10md12:123456",
"status": "success",
"expired_at": "18-05-2025 22:14:17"
}
}
| Parameters | Description |
| key | API Key |
| action | "get_rotate_proxy" |
| key_rotate | Key proxy rotate |
| operator | |
| location |
Example response
{
"status": "success",
"message": "Proxy này sẽ die sau 1021s",
"data": {
"key_rotate": "KFBlsUezBtRMKTmiHdlhHY",
"http": "42.114.164.224:20841:khljtiNj3Kd:fdkm3nbjg45d",
"socks5": "42.114.164.224:30841:khljtiNj3Kd:fdkm3nbjg45d",
"operator": "viettel",
"location": "HaiDuong1",
"expired_at": "18-05-2025 22:14:17"
}
}
| Parameters | Description |
| key | API Key |
| action | "get_all_proxy" |
Example response
{
"status": "success",
"order": [
{
"id": 251,
"proxy_type": "Proxy v4 static",
"protocol": "HTTP",
"operator": "FPT",
"day": 89,
"data": "206.125.175.230:13271:bUMBYc:YbhrHU",
"data2": "114.256.712.19:13271:bUMBYc:YbhrHU",
"status": "success",
"expired_at": "18-05-2025 22:14:17"
"auto_renew": 0
},
{
"id": 252,
"proxy_type": "Proxy v4 static",
"protocol": "HTTP",
"operator": "FPT",
"day": 89,
"data": "14.224.198.65:20693:user20694:AXYAE",
"data2": "",
"status": "success",
"expired_at": "18-05-2025 22:14:17"
"auto_renew": 0
},
{
"id": 253,
"proxy_type": "Proxy v4 static",
"protocol": "HTTP",
"operator": "FPT",
"day": 89,
"data": "172.111.171.99:14288:10md12:123456",
"data2": "114.122.09.99:11218:10md12:123456",
"status": "success",
"expired_at": "18-05-2025 22:14:17"
"auto_renew": 0
}
]
}
| Parameters | Description |
| key | API Key |
| action | "renew_proxy" |
| proxy_id | Proxy ID(s). Single: 37775 or Multiple: 123,456,789 |
| days | Number of days (required) |
Example response
{
"status": "success",
"data": [
{
"proxy_id": 37775,
"proxy_type": "Proxy v4 static",
"protocol": "SOCKS5",
"operator": "FPT",
"data": "172.111.171.99:14288:newuser:newpass",
"data2": "114.122.09.99:11218:newuser:newpass",
"status": "success",
"expired_at": "18-05-2025 22:14:17"
}
],
"totalPrice": 5000
}
| Parameters | Description |
| key | API Key |
| action | "download_package" |
| proxy_id | Example: 37775 |
| mode | 1 = source proxy, 2 = forward proxy |
Example response
{
"status": "success",
"type": "HTTP",
"count": 3,
"list": [
"1.1.1.1:1010:user:pass",
"2.2.2.2:2020:user:pass",
"3.3.3.3:3030:user:pass"
]
}
| Parameters | Description |
| key | API Key |
| action | "change_auth_proxy" |
| proxy_id | Proxy ID(s). Single: 251 or Multiple: 251,252,253 |
| protocol | "HTTP" or "SOCKS5" (optional, default: keep current) |
| user | New username (optional, default: "random") |
| password | New password (optional, default: "random") |
Example response
{
"status": "success",
"data": [
{
"proxy_id": 251,
"proxy_type": "Proxy v4 static",
"protocol": "SOCKS5",
"operator": "FPT",
"data": "172.111.171.99:14288:newuser:newpass",
"data2": "114.122.09.99:11218:newuser:newpass",
"status": "success",
"expired_at": "18-05-2025 22:14:17"
}
]
}
Note: This action costs 1,500đ per proxy.
| Parameters | Description |
| key | API Key |
| action | "change_proxy" |
| proxy_id | Proxy ID(s). Single: 251 or Multiple: 251,252,253 |
| loaiproxy | |
| protocol | "HTTP" or "SOCKS5" (optional, default: keep current) |
| user | New username (optional, default: "random") |
| password | New password (optional, default: "random") |
Example response
{
"status": "success",
"data": [
{
"proxy_id": 251,
"proxy_type": "Proxy v4 static",
"protocol": "HTTP",
"operator": "VNPT",
"data": "42.115.123.45:12345:user123:pass456",
"data2": "103.82.45.67:12345:user123:pass456",
"status": "success",
"expired_at": "18-05-2025 22:14:17"
}
]
}