Get balance
curl --request GET \
--url https://api.maxapi.ai/api/v1/user/count \
--header 'Authorization: <authorization>'import requests
url = "https://api.maxapi.ai/api/v1/user/count"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.maxapi.ai/api/v1/user/count', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/api/v1/user/count"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.maxapi.ai/api/v1/user/count")
.header("Authorization", "<authorization>")
.asString();{
"code": 0,
"msg": "成功",
"data": {
"count": 94
}
}Get balance
GET
https://api.maxapi.ai
/
api
/
v1
/
user
/
count
Get balance
curl --request GET \
--url https://api.maxapi.ai/api/v1/user/count \
--header 'Authorization: <authorization>'import requests
url = "https://api.maxapi.ai/api/v1/user/count"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://api.maxapi.ai/api/v1/user/count', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.maxapi.ai/api/v1/user/count"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.maxapi.ai/api/v1/user/count")
.header("Authorization", "<authorization>")
.asString();{
"code": 0,
"msg": "成功",
"data": {
"count": 94
}
}