Fortnite Discord Bot API
The simplest way to add Fortnite data to your Discord server. Use our API to build a bot that looks up player stats, posts the daily item shop, and keeps your community up to date — all for free.
What Your Bot Can Do
/stats command
Resolve display name via /api/v1/account/displayName/{name}, then fetch /api/v2/stats/{accountId}
Daily shop post
Auto-post today's rotation via GET /api/v1/shop every day at midnight UTC
/news command
Post latest BR, STW, or Creative news via /api/v1/news/br
/weapons command
Show weapon stats via /api/v2/weapons with category and gamemode filters
/cosmetic search
Search skins by name via /api/v2/cosmetics/search?q=Raven
/season command
Display current season info and dates via /api/v1/season
Stats Command — 10 Lines of Code
// Step 1: resolve display name → Epic account ID
const accountRes = await fetch(
`https://prod.api-fortnite.com/api/v1/account/displayName/${username}`,
{ headers: { "x-api-key": API_KEY } }
);
const account = await accountRes.json();
// Step 2: fetch stats
const statsRes = await fetch(
`https://prod.api-fortnite.com/api/v2/stats/${account.id}`,
{ headers: { "x-api-key": API_KEY } }
);
const stats = await statsRes.json();
await interaction.reply(`Stats loaded for **${username}**!`);Supported Endpoints
GET /api/v1/account/displayName/{name}Resolve display name → account IDGET /api/v2/stats/{accountId}Player statsPOST /api/v2/stats/bulkStats for multiple playersGET /api/v1/shopToday's item shop (type, rarity, search filters)GET /api/v1/news/brBattle Royale in-game newsGET /api/v2/cosmetics/searchSearch cosmetics by nameGET /api/v2/weaponsWeapon stats (patch, category, gamemode)GET /api/v1/seasonCurrent season number and datesGET /api/v2/stats/leaderboard/{stat}Global leaderboard by stat keyRate Limits
The free tier is sufficient for most Discord bots. If your server is large or you need to handle many simultaneous requests, the Starter or Pro plans offer higher limits.
Compare plans →Full Tutorial
Step-by-step guide covering setup, slash commands, daily cron jobs, and deployment.
How to Build a Fortnite Discord Bot →