Discord - API Documentation

Comprehensive API documentation for Nexos Creation projects and tools.

Published: | Updated:

Discord Data

Fetch Discord Server Information

Retrieves information about a specific Discord server.

  • Endpoint: /discord/guilds/:serverId
  • Method: GET
  • Parameters:
  • serverId (required): The ID of the Discord server

Example Request:

GET https://api.nexoscrafting.live/discord/guilds/832187937675804683

Example Response:

{
  "guildId": "832187937675804683",
  "name": "NEXOS CREATION",
  "icon": "https://cdn.discordapp.com/icons/832187937675804683/0843b365305ae4dafe4708a9f83f7da8.png",
  "banner": null,
  "description": "Join us to stay updated on the latest projects, engage in insightful discussions, and connect with fellow creators!",
  "owner": "1261339199777538048",
  "status": "4",
  "memberCount": "0"
}

Fetch Discord Server Members

Retrieves a list of members for a specific Discord server.

  • Endpoint: /discord/guilds/:serverId/members
  • Method: GET
  • Parameters:
  • serverId (required): The ID of the Discord server

Example Request:

GET https://api.nexoscrafting.live/guilds/832187937675804683/members

Example Response:

[
  {
    "id": "282859044593598464",
    "username": "ProBot ✨",
    "discriminator": "5803",
    "icon": "https://cdn.discordapp.com/avatars/282859044593598464/156a0d2872579f1ffcaa5d2127239bfd.png",
    "description": "No description available",
    "_id": "674facdd77af72a630397ba1"
  }
]