Retrieve MiniMax API accounts configuration
September 25, 2024 (March 17, 2025)
Table of contents
For your convenience, you can specify your MiniMax configuration values under your MiniMax account. If you specify multiple MiniMax accounts, the API will automatically perform load balancing by randomly selecting an account with available capacity before making calls to MiniMax.
This endpoint retrieves the complete list of configured API accounts for MiniMax.
https://api.useapi.net/v1/minimax/accounts
Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
- API tokenis required, see Setup useapi.net for details.
Responses
-   { "123456": { "account": "123456", "jwt": { "token": "abc…secured…xyz", "user": { "deviceID": "123456789", "id": "123456", "isAnonymous": true, "name": "<name>", "avatar": "<url>" }, "exp": 1734858598.864, "iat": 1732266598.864, "host": "hailuoai.video", "searchParams": "device_platform=web&app_id=3001&version_code=22201&uuid=b5df53d1-4c0d-4c77-8422-87e3f3b1a1d6&device_id=123456789&os_name=Windows&browser_name=chrome&device_memory=8&cpu_core_num=4&browser_language=en-US&browser_platform=Win32&screen_width=1920&screen_height=1080&unix=1732266598000", "iat_Issued": "2024-01-01T00:00:00.000Z", "exp_Expire": "2024-12-01T00:00:00.000Z" }, "maxJobs": 1, "supportVideo": true, "supportChat": true, "supportAudio": true }, "78910": { "account": "78910", "jwt": { "token": "edf…secured…lmn", "user": { "deviceID": "987654321", "id": "78910", "isAnonymous": true, "name": "<name>", "avatar": "<url>" }, "host": "hailuoai.com", "exp": 1744858598.864, "iat": 1742266598.864, "searchParams": "device_platform=web&app_id=3001&version_code=22201&uuid=92f1a65c-3e9e-4a37-8bd7-8615a6cf60ee&device_id=987654321&os_name=Windows&browser_name=firefox&device_memory=16&cpu_core_num=8&browser_language=en-US&browser_platform=Win64&screen_width=2560&screen_height=1440&unix=1742266598000", "iat_Issued": "2025-01-01T00:00:00.000Z", "exp_Expire": "2025-12-01T00:00:00.000Z" }, "maxJobs": 1, "supportVideo": true, "supportChat": true, "supportAudio": true } }
-   { "error": "Unauthorized", "code": 401 }
-   Configuration not found. To create configuration use POST /accounts. 
Model
{ // TypeScript, all fields are optional
    [account: string]: {
        account: string
        jwt: {
            token: string
            user: {
                deviceID: string
                id: string
                isAnonymous: boolean
                name: string
                avatar: string
            },
            exp: number
            iat: number
            host: string
            searchParams: string
            iat_Issued: string
            exp_Expire: string
        }
        maxJobs: number
        supportVideo: boolean 
        supportChat: boolean 
        supportAudio: boolean 
        supportMusic: boolean
    }
}
Examples
-  curl https://api.useapi.net/v1/minimax/accounts \ -H "Accept: application/json" \ -H "Authorization: Bearer …"
-  const token = "API token"; const apiUrl = "https://api.useapi.net/v1/minimax/accounts"; const response = await fetch(apiUrl, { headers: { "Authorization": `Bearer ${token}`, }, }); const result = await response.json(); console.log("response", {response, result});
-  import requests token = "API token" apiUrl = "https://api.useapi.net/v1/minimax/accounts" headers = { "Content-Type": "application/json", "Authorization" : f"Bearer {token}" } response = requests.get(apiUrl, headers=headers) print(response, response.json())