Next patch 5.0.0 - Begins 24 march 2026 and will last around 72h
Currently disabled : sdk.api-fortnite.com, documentation.api-fortnite.com (API still operational)

20% discount on any subscription "IHATEMARCH" 💐 until 1st april

Dashboard
← Back to Blog

Getting Started with the Fortnite API

A beginner-friendly guide to setting up and making your first requests to the Fortnite API. Learn authentication, endpoints, and best practices.

tutorialbeginnergetting-started

Introduction


The Fortnite API by Royal Arena is one of the most comprehensive free APIs for accessing Fortnite game data. Whether you're building a stats tracker, a Discord bot, or a full-featured web application, this guide will help you get up and running in minutes.


Step 1: Create Your Account


Head over to api-fortnite.com and click Sign In. We use Discord OAuth for authentication, so you'll need a Discord account. Once logged in, you'll be redirected to your dashboard.


Step 2: Get Your API Key


In your dashboard, you'll find your unique API key. This key is used to authenticate all your requests. Keep it secret — never expose it in client-side code or public repositories.


Step 3: Make Your First Request


Here's a simple example using curl to fetch the current item shop:


curl -H "Authorization: YOUR_API_KEY" https://api-fortnite.com/v1/shop/current

You should receive a JSON response containing all items currently available in the Fortnite item shop.


Step 4: Explore the Endpoints


The API offers many endpoints covering different aspects of Fortnite:


  • Player Stats — Look up any player's stats by platform and username
  • Item Shop — Get the current and upcoming shop rotations
  • Cosmetics — Browse the full cosmetics catalog
  • Weapons — Access weapon stats and damage values
  • Leaderboards — Fetch global and regional rankings

  • Best Practices


  • Cache your responses — Use Redis or in-memory caching to reduce API calls and improve your app's performance.
  • Handle rate limits gracefully — Check the rate limit headers in responses and implement exponential backoff.
  • Use our SDKs — Official SDKs are available at sdk.api-fortnite.com for JavaScript, Python, and more.

  • What's Next?


    Now that you're set up, check out our other guides:

  • How to Track Player Stats in Real-Time
  • Item Shop API Complete Guide

  • Join our Discord community for support and to connect with other developers!