Free
$0
- All public read routes
- Player-consented read scopes
- 5 requests/s, burst of 10, per key
- 20,000 requests per key per day
- 3 apps, 2 keys per app, 5 members
- Signed webhooks
For Discord bots, guild tools and fan sites
Players, guilds, leaderboards, events and game data through one keyed, cached and rate-limited REST API. With a player's consent, your bot can read their own account too, and it never sees their game credentials.
Free plan · no card required · 20,000 requests per key per day
$ curl https://api.swgoh-api.dev/v1/players/123-456-789 \
-H "Authorization: Bearer $SWGOH_API_KEY"
{
"data": { "name": "…", "level": 85, "rosterUnit": [ … ] },
"meta": {
"route": "players.get",
"cache": "hit",
"data_age_secs": 42,
"stale": false
}
}
Stop running your own game client, juggling guest accounts and guessing at rate limits.
Player and arena profiles, guilds, leaderboards, events, game data, localization and enums on the Free plan, with a clear daily quota per key.
Players link their game account in our portal and grant your bot read scopes through OAuth 2.1 with PKCE. Revoking access takes effect in under a second.
A shared cache absorbs repeat reads, cached data is served when the game is down, and a fair queue keeps any one organisation from crowding out the rest.
Grant, quota and upstream-status events signed with HMAC-SHA256, retried for 24 hours, with a delivery log and one-click redelivery.
Every error is an RFC 9457 problem with a stable type you can switch on, and every
response carries an X-Request-Id for support.
TypeScript, Python and Rust clients with auth, request ids, Retry-After-aware retries, an OAuth helper and a webhook verifier built in.
Use GitHub, Discord or an email link at the developer portal, then add a passkey.
Each bot or integration gets its own app, keys and usage dashboard.
Send the key as a bearer token, or let an SDK handle retries and errors for you.
Reads are free. Paid plans will add higher limits, fresher data and, for reviewed apps, player-approved write access.
$0
Coming soon
Custom
To keep the free tier free, a new free organisation needs a GitHub or Discord account at least 30 days old.
When a bot asks to see your account, you link it in our player portal, never in the bot. Your EA one-time code is entered only on our site, and bots never see it.
Open the player portalNo. swgoh-api is an independent service and is not affiliated with, endorsed by or sponsored by Electronic Arts, Capital Games, Lucasfilm or Disney.
Not today: player-consented access is read-only. Write access is planned only for reviewed apps, only with scopes you approve one at a time, and you'll be able to freeze all writes from the player portal.
Every response tells you whether it came from the cache and how old it is
(meta.cache, meta.data_age_secs). Cache lifetimes per route
are listed in the caching guide.
No. A comlink-compatible endpoint accepts existing comlink clients for guest and session reads, so you can move over first and adopt the REST API at your own pace.
The status page shows live results from synthetic checks we run against every part of the API each minute.
Questions, partnerships or enterprise plans:
hello@swgoh-api.dev.
Security reports: security@swgoh-api.dev.
Takedown and rights-holder requests:
legal@swgoh-api.dev.