Get Discord user information

GET /v1/discord/user

Query parameters

  • id string Required

    Discord user ID

    Format should match the following pattern: ^\d{17,19}$.

Responses

GET /v1/discord/user
curl \
 -X GET https://api.rimunace.xyz/v1/discord/user?id=string
Response examples (200)
{
  "success": true,
  "data": {
    "id": "string",
    "username": "string",
    "global_name": "string",
    "created_at": "string",
    "age": {
      "years": 42.0,
      "months": 42.0,
      "days": 42.0,
      "hours": 42.0,
      "minutes": 42.0,
      "seconds": 42.0
    },
    "avatar": {
      "id": "string",
      "link": {
        "128": "string",
        "256": "string",
        "512": "string",
        "1024": "string",
        "default": "string"
      },
      "isAnimated": true
    },
    "banner": {
      "id": "string",
      "link": {
        "128": "string",
        "256": "string",
        "512": "string",
        "1024": "string"
      },
      "isAnimated": true,
      "color": "string"
    },
    "badges": [
      "string"
    ]
  },
  "error": "string"
}