User Information API
The public user information endpoint is GET /openapi/user/info. Send your Bot App Key in the X-API-KEY header. The former follow-status and followers endpoints are no longer available in the public OpenAPI.
curl "https://open.debox.pro/openapi/user/info?user_id=uvg2p6ho" \
-H "X-API-KEY: YOUR_APP_KEY"
Provide an eight-character DeBox user_id, or use address with a valid EVM wallet address. When user_id is eight characters long, the server looks it up first, even if address is also present. Otherwise, it validates and uses address.
A successful response uses the standard envelope:
{
"code": 1,
"success": true,
"message": "success",
"data": {
"user_id": "uvg2p6ho",
"name": "Alice",
"pic": "https://example.com/avatar.png",
"address": "0x1234567890abcdef1234567890abcdef12345678",
"signature": "Hello",
"level": 1
}
}
level is present for a lookup by user_id when its value is nonzero. vip_info is returned only to authorized BotMother keys when nonempty. An address lookup does not populate these fields. See the full OpenAPI reference for the endpoint overview.