D2 Health Club API
A simple, read-only JSON API for the step leaderboards in the D2 Health Club app. Use it to show the Global leaderboard on a website, rank crews against each other, or run a community challenge for a creator's crew — with the same numbers players see in the app.
Base URL
https://d2health.club/api/v1- All endpoints are GET and return JSON (UTF-8).
- Every response has a
metaobject (what you asked for and when the data was built) plusentries(a ranked list) orcrew. - Players who use incognito mode in the app never appear. Rows carry public profile fields only.
Authentication
None. The API is public and needs no key or headers. CORS is open (Access-Control-Allow-Origin: *), so you can call it straight from a browser.
There is no hard rate limit, but responses are cached (see below), so polling more often than every few minutes gains nothing. Planning something with heavy traffic? Talk to us.
Time & timezones
D2 is a global game: every player's day runs on their own local clock. "Today" on the Global leaderboard
means "N hours into each player's own day", where N is the viewer's local hour — so a viewer in London at 11:00
sees everyone's first 11 hours, wherever they live. Pass the viewer's timezone as tz
to get exactly what they would see in the app. Without it, UTC is used.
In a browser, the viewer's timezone is Intl.DateTimeFormat().resolvedOptions().timeZone.
Weeks run Monday–Sunday (ISO weeks). weekKey looks like 2026_W46. Past weeks keep their final standings; on those, players who qualified for the weekly draw are listed first, as on Last Week in the app.
Freshness & caching
| Data | Updated |
|---|---|
| Global today / yesterday | Hourly, a few minutes past the hour |
| Weekly leaderboards | Hourly |
| Crew ranking & crew details | Every 10 minutes |
| Crew members (today) | Hourly |
Each response's Cache-Control header says how long it stays valid; it's safe to cache for that long on your side too.
Finding a crew
Crew endpoints take {crew}, which can be any of these:
- id: never changes, so it's the safest choice for integrations that run for a long time. The crew's share link starts with it:
d2health.club/crew/{id}/… - slug: the crew name in lowercase, with spaces turned into dashes and everything except letters, numbers and dashes removed. Yinsu's kittens →
yinsus-kittens. - name: the crew name as written, URL-encoded, e.g.
Yinsu's%20kittens. It's turned into the slug for you, so capitals and apostrophes don't matter.
Every crew in GET /crews includes its id and slug. Or search the crews that are active this week here:
Loading crews…
Errors
Errors use standard HTTP status codes and a JSON body with a readable message:
{ "error": "timeframe must be one of: today, yesterday, week, lastweek" } | Status | Meaning | How to fix |
|---|---|---|
| 400 | Bad request | A parameter has an unsupported value (unknown timeframe, invalid tz, hour outside 0–23, game together with verified). The error message says which. |
| 404 | Not found | Unknown endpoint, or no crew with that ID or slug. |
| 405 | Method not allowed | Only GET (and OPTIONS for CORS preflight) is supported. |
| 500 | Internal error | Something went wrong on our side. Retry after a short wait. |
Global
Global leaderboard
/api/v1/global The Global leaderboard exactly as players see it in the app: the top 150 players for today, yesterday, this week, last week, or any past week by weekKey. Optionally narrowed to one game or to verified players. Incognito players are never included.
Parameters
timeframe string · query · default today Which leaderboard. today and yesterday return daily player rows; week and lastweek return weekly player rows.
Values: today, yesterday, week, lastweek
weekKey string · query A specific ISO week, e.g. 2026_W45 — for a campaign that ran in a fixed week. Use it alone or with timeframe=week; it can't be combined with today or yesterday. Player weeks are available from 2026_W41.
tz string · query · default UTC IANA timezone of the viewer, e.g. Europe/London or America/New_York. Decides which local hour, date and week "today" and "this week" mean — the same way the app picks them for each player.
hour integer 0–23 · query Override the local hour for today. Normally leave this out and pass tz.
game string · query Only players whose main game is this one.
Values: fortnite, valorant
verified boolean · query Only verified players (creators). Can't be combined with game.
Values: 1
Try it
Request
curl "https://d2health.club/api/v1/global?timeframe=today&tz=Europe%2FLondon"
Response example · 200
{
"meta": {
"apiVersion": 1,
"scope": "global",
"timeframe": "today",
"hour": 11,
"filter": null,
"totalPlayers": 289,
"builtAt": "2026-11-11T11:01:07.335Z"
},
"entries": [
{
"rank": 1,
"username": "stepqueen",
"displayName": "Step Queen",
"avatarURL": "https://firebasestorage.googleapis.com/…/avatar.jpg",
"isVerified": false,
"mainGame": "fortnite",
"steps": 14173,
"dailyGoal": 10000,
"currentStreak": 12,
"goalCompletedToday": true,
"tz": "Europe/Berlin",
"country": "DE"
},
…
]
} Display example live · loading…
The first three results, styled like the D2 app's leaderboard.
Crews
Crew ranking
/api/v1/crews All crews ranked by the steps their members walked (top 100) — today, yesterday, this week, last week, or any past week by weekKey.
Parameters
timeframe string · query · default today Rank by the steps of this day or week.
Values: today, yesterday, week, lastweek
weekKey string · query A specific ISO week, e.g. 2026_W45 — for a campaign that ran in a fixed week. Use it alone or with timeframe=week; it can't be combined with today or yesterday.
tz string · query · default UTC IANA timezone of the viewer, e.g. Europe/London or America/New_York. Decides which local hour, date and week "today" and "this week" mean — the same way the app picks them for each player.
game string · query Only crews for this game.
Values: fortnite, valorant, any
Try it
Request
curl "https://d2health.club/api/v1/crews?timeframe=week&tz=Europe%2FLondon"
Response example · 200
{
"meta": {
"apiVersion": 1,
"scope": "crews",
"timeframe": "week",
"weekKey": "2026_W46",
"filter": null,
"tz": "Europe/London"
},
"entries": [
{
"rank": 1,
"id": "dFx8yoA6Bn0BToCrRiU4",
"name": "Corsairs",
"iconURL": "https://firebasestorage.googleapis.com/…/icon.jpg",
"game": "any",
"memberCount": 123,
"creator": {
"displayName": "CORSAIR",
"username": null,
"avatarURL": "https://firebasestorage.googleapis.com/…/logo.jpg",
"isVerified": true
},
"steps": 1187811
},
…
]
} Display example live · loading…
The first three results, styled like the D2 app's leaderboard.
Crew details
/api/v1/crews/{crew} One crew's profile and totals: name, icon, description, social links, member count, and all-time, today's and this week's steps.
Parameters
crew string · path required Which crew: its id, its slug (e.g. yinsus-kittens) or its name (URL-encoded, e.g. Yinsu's%20kittens). See Finding a crew.
tz string · query · default UTC IANA timezone of the viewer, e.g. Europe/London or America/New_York. Decides which local hour, date and week "today" and "this week" mean — the same way the app picks them for each player.
Try it
Request
curl "https://d2health.club/api/v1/crews/corsairs?tz=Europe%2FLondon"
Response example · 200
{
"meta": {
"apiVersion": 1,
"scope": "crew",
"date": "2026-11-11",
"weekKey": "2026_W46",
"tz": "Europe/London"
},
"crew": {
"id": "dFx8yoA6Bn0BToCrRiU4",
"slug": "corsairs",
"name": "Corsairs",
"iconURL": "https://firebasestorage.googleapis.com/…/icon.jpg",
"game": "any",
"memberCount": 123,
"creator": {
"displayName": "CORSAIR",
"username": null,
"avatarURL": "https://firebasestorage.googleapis.com/…/logo.jpg",
"isVerified": true
},
"description": "Built to move, geared to win.",
"heroImageURL": "https://firebasestorage.googleapis.com/…/hero.jpg",
"channelLinks": [
{
"platform": "discord",
"url": "https://discord.gg/corsair"
}
],
"totalSteps": 48210331,
"todaySteps": 99159,
"weekSteps": 1187811
}
} Display example live · loading…
How D2 shows this crew.
Crew members leaderboard
/api/v1/crews/{crew}/members A single crew's members ranked by steps — the app's Crew filter, for any day or week (weekKey for past weeks). Use it to run a community challenge or show a creator's crew on stream. Incognito members are never included.
Parameters
crew string · path required Which crew: its id, its slug (e.g. yinsus-kittens) or its name (URL-encoded, e.g. Yinsu's%20kittens). See Finding a crew.
timeframe string · query · default today Which leaderboard. today and yesterday return daily player rows; week and lastweek return weekly player rows.
Values: today, yesterday, week, lastweek
weekKey string · query A specific ISO week, e.g. 2026_W45 — for a campaign that ran in a fixed week. Use it alone or with timeframe=week; it can't be combined with today or yesterday. Player weeks are available from 2026_W41.
tz string · query · default UTC IANA timezone of the viewer, e.g. Europe/London or America/New_York. Decides which local hour, date and week "today" and "this week" mean — the same way the app picks them for each player.
hour integer 0–23 · query Override the local hour for today. Normally leave this out and pass tz.
Try it
Request
curl "https://d2health.club/api/v1/crews/corsairs/members?timeframe=week&tz=Europe%2FLondon"
Response example · 200
{
"meta": {
"apiVersion": 1,
"scope": "crewMembers",
"timeframe": "week",
"weekKey": "2026_W46",
"crew": {
"id": "dFx8yoA6Bn0BToCrRiU4",
"slug": "corsairs",
"name": "Corsairs",
"iconURL": "https://firebasestorage.googleapis.com/…/icon.jpg",
"game": "any",
"memberCount": 123,
"creator": {
"displayName": "CORSAIR",
"username": null,
"avatarURL": "https://firebasestorage.googleapis.com/…/logo.jpg",
"isVerified": true
}
}
},
"entries": [
{
"rank": 1,
"username": "stepqueen",
"displayName": "Step Queen",
"avatarURL": "https://firebasestorage.googleapis.com/…/avatar.jpg",
"isVerified": false,
"mainGame": "fortnite",
"steps": 60257,
"dayStatus": "GGGPNNN",
"streakOnTrack": true,
"raffleQualified": false
},
…
]
} Display example live · loading…
The first three results, styled like the D2 app's leaderboard.
Objects
Player (daily)
In entries for timeframe=today and yesterday.
| Field | Type | Description |
|---|---|---|
| rank | integer | Position on this leaderboard, starting at 1. |
| username | string | The player's public handle. Stable; use it as the player's key. |
| displayName | string | null | Display name. |
| avatarURL | string | null | Profile picture URL. |
| isVerified | boolean | Verified creator. |
| mainGame | string | null | The player's main game (fortnite, valorant, …). D2 shows it as a small badge after the username. |
| steps | integer | Steps for this timeframe. Today is the count as of the latest hourly update. |
| dailyGoal | integer | null | The player's own daily step goal (they choose it, minimum 5,000). |
| currentStreak | integer | Consecutive days the player has hit their own daily step goal. |
| goalCompletedToday | boolean | Hit their daily step goal on this day. |
| tz | string | null | The player's IANA timezone. |
| country | string | null | ISO 3166 country code derived from tz (e.g. GB). Use it for flags. |
Player (weekly)
In entries for timeframe=week and lastweek.
| Field | Type | Description |
|---|---|---|
| rank | integer | Position on this leaderboard, starting at 1. |
| username | string | The player's public handle. Stable; use it as the player's key. |
| displayName | string | null | Display name. |
| avatarURL | string | null | Profile picture URL. |
| isVerified | boolean | Verified creator. |
| mainGame | string | null | The player's main game (fortnite, valorant, …). D2 shows it as a small badge after the username. |
| steps | integer | Steps for this timeframe. Today is the count as of the latest hourly update. |
| dayStatus | string | 7 characters, Monday→Sunday: G goal met, F saved by a streak patch, M missed, P pending (today, or a day still inside its 12-hour grace period), N no data yet / future day. |
| streakOnTrack | boolean | Has hit the goal on every finished day so far this week. |
| raffleQualified | boolean | Hit the goal all 7 days — qualified for the weekly draw (meaningful once the week is over). |
Crew
In the crew ranking (with rank and steps), in crew details (plus description, heroImageURL, channelLinks, totalSteps, todaySteps, weekSteps) and in crew members' meta.crew.
| Field | Type | Description |
|---|---|---|
| id | string | Crew ID. Accepted wherever {crew} is. |
| slug | string | null | URL-friendly crew name (Yinsu's kittens → yinsus-kittens), also accepted as {crew}. |
| name | string | Crew name. |
| iconURL | string | null | Crew icon. |
| game | string | null | fortnite, valorant or any. |
| memberCount | integer | Members right now. |
| creator | object | The crew owner: displayName, username, avatarURL, isVerified. |
| channelLinks | array | Crew details only. The social links D2 shows on the crew page — the creator's channels (YouTube, Twitch, Discord, …), then any links set on the crew. Each is { platform, url }; platform can be null. |
meta
Echoes the request (scope, timeframe, tz, hour, date or weekKey, filter) and adds totalPlayers (on the unfiltered Global board: everyone on it, not just the top 150; otherwise the number of entries) and builtAt (ISO time the data was built) where available. apiVersion is always 1 on this version.
Changelog
- 2026-11-11 — v1: Global leaderboard, crew ranking, crew details, crew members, with
weekKeyon every weekly leaderboard.
New fields may be added to v1 at any time; ignore fields you don't know. Breaking changes ship as /api/v2.