Playground

Add your API Key and endpoint below to get node-fetch code (Javascript) or plain HTTP URL (Browser).

index.js
const fetch = require('node-fetch');
//import fetch from 'node-fetch';

var endpoint = "";

fetch('https://api.dangweb.com' + endpoint)
    .then(response => {
        response.json();
    })
    .then(data => {
        console.log(data);
    })
    .catch({
        console.log();
    });

Discord

Member

Get information on a Discord user.

/discord/member/*

Required Parameters:

  • *Discord User ID (Snowflake)

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Member Tag

Get the specified Discord user’s tag.

/discord/member/*/tag

Required Parameters:

  • *Discord User ID (Snowflake)

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Member Username

Get the specified Discord user’s username.

/discord/member/*/username

Required Parameters:

  • *Discord User ID (Snowflake)

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Member Accent Color

Get the specified Discord user’s accent color.

/discord/member/*/hexAccentColor

Required Parameters:

  • *Discord User ID (Snowflake)

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Member Accent Color (CSS)

Get the specified Discord user’s accent color as a .CSS file.

/discord/member/*/hexAccentColor.css

Required Parameters:

  • *Discord User ID (Snowflake)

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Member Discriminator

Get the specified Discord user’s discriminator.

/discord/member/*/discriminator

Required Parameters:

  • *Discord User ID (Snowflake)

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Member Avatar URL

Get the specified Discord user’s avatar URL.

/discord/member/*/avatarurl

Required Parameters:

  • *Discord User ID (Snowflake)

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Member Avatar

Get the specified Discord user’s avatar.

/discord/member/*/avatar

Required Parameters:

  • *Discord User ID (Snowflake)

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Server

Get information on a Discord server.

/discord/server/*

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Name

Get the specified Discord server’s name.

/discord/server/*/name

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Description

Get the specified Discord server’s description.

/discord/server/*/description

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Members

Fetch the members in your Discord Server. Includes bots.

/discord/server/*/members

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Members Count

Fetch the total number of members in your Discord Server. Includes bots.

/discord/server/*/members/count

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Members Online Count

Fetch the number of online members in your Discord Server. Includes bots.

/discord/server/*/members/count/online

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Vanity

Get the specified Discord server’s vanity URL.

/discord/server/*/vanity

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Owner

Get the specified Discord server’s owner.

/discord/server/*/owner

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Icon URL

Get the specified Discord server’s icon URL.

/discord/server/*/iconurl

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Icon

Get the specified Discord server’s icon.

/discord/server/*/icon

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Banner URL

Get the specified Discord server’s banner URL.

/discord/server/*/bannerurl

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Banner

Get the specified Discord server’s banner.

/discord/server/*/banner

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Roles

Fetch the roles in your Discord Server.

/discord/server/*/roles

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Role

Fetch a specific role in your Discord Server.

/discord/server/*/roles/**

Required Parameters:

  • *Discord Server ID (Snowflake)
  • **Discord Role ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Channels

Fetch the channels in your Discord Server.

/discord/server/*/channels

Required Parameters:

  • *Discord Server ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Channel

Fetch a specific channel in your Discord Server.

/discord/server/*/channel/**

Required Parameters:

  • *Discord Server ID (Snowflake)
  • **Discord Channel ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Server Channel Messages

Fetch a specific channel in your Discord Server’s messages.

/discord/server/*/channel/**/messages

Required Parameters:

  • *Discord Server ID (Snowflake)
  • **Discord Channel ID (Snowflake)

Responses:

  • 200: Request successful
  • 401: Bot not in Guild
  • 404: Endpoint not found
  • 502: Internal error

Track & Redirect

Track IP

Redirect to a URL and track hits.

/redirect/track/*/**

Required Parameters:

  • *DangoID Username
  • **Link to redirect to (Without HTTP, 2 levels max.)

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

No Tracking

Redirect to a URL.

/redirect/*

Required Parameters:

  • *Link to redirect to (Without HTTP, 2 levels max.)

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Other

Date & Time

Fetch the date and time in UTC.

/date

Required Parameters:

  • None

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

CMS

Fetch public CMS site data, private by default.

/cms/*

Required Parameters:

  • *Site ID (Slug)

Required Body:

  • Type: JSON
  • Format: ["", ""]
  • Example: ["siteDetails"]

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

DangoID

Check API Key

Check if the API Key in your URL is valid.

Required Parameters:

  • *DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Get Account

Get your DangoID Account details.

Required Parameters:

  • *DangoID Username
  • **DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Get Account Image

Get your DangoID Account image as a gradient.

Required Parameters:

  • *DangoID Username
  • **DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Get Account First Name

Get your DangoID Account first name.

Required Parameters:

  • *DangoID Username
  • **DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Get Account Last Name

Get your DangoID Account last name.

Required Parameters:

  • *DangoID Username
  • **DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Get Account Discord Server

Get your DangoID Account linked Discord server.

Required Parameters:

  • *DangoID Username
  • **DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Get Account Discord Server Members

Get your DangoID Account linked Discord server’s member count. Includes bots.

Required Parameters:

  • *DangoID Username
  • **DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Logout

Remove your DangoAPI API Key from the cache.

/logout

Required Parameters:

  • None

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Better Uptime

Monitor Status

Fetch the status of a monitor on your account.

Required Parameters:

  • *DangoID Username
  • **Better Uptime Monitor ID
  • ***DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Monitor Status (PNG)

Fetch the status of a monitor on your account as a .png image.

Required Parameters:

  • *DangoID Username
  • **Better Uptime Monitor ID
  • ***DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Uptime Robot

Monitors

Fetch all monitors on your account.

Required Parameters:

  • *DangoID Username
  • **Uptime Robot Monitor ID
  • ***DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Monitor Status

Fetch the status of a monitor on your account.

Required Parameters:

  • *DangoID Username
  • **Uptime Robot Monitor ID
  • ***DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error

Monitor Status (PNG)

Fetch the status of a monitor on your account as a .png image.

Required Parameters:

  • *DangoID Username
  • **Uptime Robot Monitor ID
  • ***DangoAPI Key

Responses:

  • 200: Request successful
  • 404: Endpoint not found
  • 502: Internal error