봇으로 할 수 있는 것
/stats 명령어
/api/v1/account/displayName/{name}으로 닉네임을 변환한 뒤 /api/v2/stats/{accountId}로 전적 조회
상점 매일 게시
매일 UTC 자정에 GET /api/v1/shop으로 오늘의 상점 목록 자동 게시
/news 명령어
/api/v1/news/br로 배틀로얄·세이브 더 월드·크리에이티브 최신 뉴스 게시
/weapons 명령어
/api/v2/weapons로 무기 스탯 표시(category·gamemode 필터 지원)
/cosmetic 검색
/api/v2/cosmetics/search?q=Raven처럼 이름으로 스킨 검색
/season 명령어
/api/v1/season으로 현재 시즌 정보와 일정 표시
Stats 명령어 — 코드 10줄이면 충분
// 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}**!`);지원 엔드포인트
GET /api/v1/account/displayName/{name}닉네임 → 계정 ID 변환GET /api/v2/stats/{accountId}플레이어 전적POST /api/v2/stats/bulk여러 플레이어 전적 일괄 조회GET /api/v1/shop오늘의 아이템 상점(type·rarity·search 필터)GET /api/v1/news/br배틀로얄 게임 내 뉴스GET /api/v2/cosmetics/search이름으로 코스튬 검색GET /api/v2/weapons무기 스탯(patch·category·gamemode)GET /api/v1/season현재 시즌 번호와 일정GET /api/v2/stats/leaderboard/{stat}스탯 키 기준 글로벌 리더보드요청 한도
대부분의 Discord 봇은 무료 플랜으로 충분합니다. 서버 규모가 크거나 다수의 동시 요청을 처리해야 한다면, Pro 플랜(월 8.49 €, 9.99 $, 1499 ¥, 7.49 £)으로 모든 엔드포인트를 하루 500,000회까지 요청할 수 있습니다.
플랜 비교하기 →전체 튜토리얼
설정, 슬래시 명령어, 매일 실행되는 cron 작업, 배포까지 단계별로 안내합니다.
포트나이트 Discord 봇 만드는 법 →