Docs/API Reference/Get Bot Info

Get Bot Info

Fetch public information about any listed bot.

Fetch public information about any bot listed on DiscordForge. This endpoint does not require authentication.

GEThttps://discordforge.org/api/bots/:id

Authentication

None required. This is a public endpoint.

Path Parameters

  • :id – The bot's Discord application ID

Response

Returns public data including the bot's name, description, vote count, server count, tags, and more.

SDK Usage

get-bot.ts
1import { ForgeClient } from "discordforge-sdk";
2 
3const forge = new ForgeClient(process.env.FORGE_API_KEY, process.env.FORGE_BOT_ID);
4 
5const bot = await forge.getBot();
6 
7console.log(bot.name);
8console.log(`Votes: ${bot.voteCount}`);
9console.log(`Servers: ${bot.serverCount}`);