Noble

Noble agent API: login, users, game list, enter game, recharge, redeem and records.

Sections
6

Store Login#

URL

https://agentserver.noble777.com/api/agent/login

Request Method

POST

Content-Type

form-data

Request Body Parameters

Parameter nameExample valueParameter type
usernameaa444string
password123456string

Response example

  • Success(200)
{
    "status_code": 200,
    "message": "Users login succeeded",
    "data": {
        "userName": "aa444",
        "nickname": "ab444",
        "money": "1931.00",
        "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9nYW1ldmF1bHQuY29tXC9hcGlcL2FnZW50XC9sb2dpbiIsImlhdCI6MTc1MjcyODY0OSwiZXhwIjoxNzUyNzUwMjQ5LCJuYmYiOjE3NTI3Mjg2NDksImp0aSI6IkQyaldmMXVBckNOY0NyaUUiLCJzdWIiOjUsInBydiI6ImI4YjY1YTM0YmVjZWI3YzdlNWRiYmEyMTJmNmRkZGEyNjRkMzIwYjkifQ.IgywtGjxvTild68OQRXEFpaArm2A_7_EfS4CuYYR-8Q",
        "expires_time": 1752750249
    }
}

Get player list#

URL

https://agentserver.noble777.com/api/player/playerList?limit=10&page=1

Request Method

GET

Query request parameters

Parameter nameExample valueParameter type
limit10string
page1number

Authentication method

Bearer Token

Add the parameter Authorization to the header, whose value is concatenated with spaces and access tokens after Bearer

Authorization: Bearer your_access_token

Response example

  • Success(200)
{
    "status_code": 200,
    "message": "Query successful",
    "count": 1,
    "data": [
        {
            "Account": "dd001",
            "nickname": "User2967938",
            "AddDate": "2022-09-16 20:29:04",
            "LoginCount": 154,
            "lasttime": "2025-9-3 15:11:36",
            "loginip": "43.231.187.162",
            "account_using": 1,
            "id": 13537,
            "score": 0,
            "total_balance": 0,
            "winning": 0
        }
    ]
}

Add player#

URL

https://agentserver.noble777.com/api/player/insertPlayer

Request Method

POST

Content-Type

form-data

Query request parameters

Parameter nameExample valueParameter type
usernamead003string
nickname-string
password123456string
money0string

Authentication method

Bearer Token

Add the parameter Authorization to the header, whose value is concatenated with spaces and access tokens after Bearer

Authorization: Bearer your_access_token

Response example

  • Success(200)
{
    "status_code": 200,
    "message": "Insert successful",
    "data": {
        "id": 422450,
        "account": "ad002",
        "password": "123456",
        "balance": "0",
        "time": "2025-12-31 15:32:40"
    }
}

Get player scores#

URL

https://agentserver.noble777.com/api/player/getScore?id=13537

Request Method

GET

Query request parameters

Parameter nameExample valueParameter type
id13537string

Authentication method

Bearer Token

Add the parameter Authorization to the header, whose value is concatenated with spaces and access tokens after Bearer

Authorization: Bearer your_access_token

Response example

  • Success(200)
{
    "status_code": 200,
    "message": "Query successful",
    "data": {
        "username": "dd001",
        "balance": 100,
        "is_game": false,
        "winning": 100

    }
}

Player recharge#

URL

https://agentserver.noble777.com/api/player/playerRecharge

Request Method

POST

Content-Type

form-data

Query request parameters

Parameter nameExample valueParameter type
id13537string
balance10string
remarkteststring

Authentication method

Bearer Token

Add the parameter Authorization to the header, whose value is concatenated with spaces and access tokens after Bearer

Authorization: Bearer your_access_token

Response example

  • Success(200)
{
    "status_code": 200,
    "message": "Recharge successful",
    "data": {
        "game_id": 13537,
        "username": "dd001",
        "balance": 110,
        "remark": "test",
        "time": "2026-02-09 07:20:26"
    }
}
  • Fail(404)
{
    "code": 1,
    "status_code": 400,
    "message": "The player is still in the game, please let him return to the game lobby!"
}

Player withdrawal#

URL

https://agentserver.noble777.com/api/player/playerWithdraw

Request Method

POST

Content-Type

form-data

Query request parameters

Parameter nameExample valueParameter typeparameter description
id13543string-
balance15string-
winning10stringWinning limit
remarkteststring-

Authentication method

Bearer Token

Add the parameter Authorization to the header, whose value is concatenated with spaces and access tokens after Bearer

Authorization: Bearer your_access_token

Response example

  • Success(200)
{
    "status_code": 200,
    "message": "Withdraw successful",
    "data": {
        "game_id": 13537,
        "username": "dd001",
        "balance": 85,
        "winning": 90,
        "remark": "test",
        "time": "2025-07-16 23:02:28"
    }
}