MightPulse API Update: 500× Faster Calls & Alliance Data

Summary

In 👑🦊 Tᕼᗴ ᖴO᙭'S ᗪᗴᑎ 🦊👑, this announcement covers a MightPulse API rebuild that cuts typical response times from 40–78 seconds to under 0.1 seconds and fixes player lookup errors. New features include full alliance member data in one request, bulk lookups for up to 50 players, and clearer background refresh status, helping the community build faster planners and tools.

This post is part of MightPulse updates Season 24 live · latest news Nov 29 · from posts in Discord communities
See the latest →
This post is part of MightPulse Kingshot updates API rebuilt · latest news Nov 15 · from posts in Discord communities
See the latest →

MightPulse API update: faster, plus whole-alliance calls

The API has been rebuilt behind the scenes. Most calls now answer in under 50 ms, and the "connection closed" errors on player lookups are fixed. Your keys and rate limits stay the same.

How much faster
- Average response: 40–78 seconds → under 0.1 seconds (over 500× faster)
- Slowest 5% of calls: ~90 seconds → about 0.5 seconds
- Asking for the latest data from the game (wait): 13–90 seconds → about 1.5 seconds
- The "connection closed" errors and timeouts on player lookups are fixed

** One change in behavior
Player and alliance calls no longer wait for the game when data is old. You get the stored copy straight away with "fresh": false, and the update runs in the background. Call again after retry_after seconds to get the new data.
That next call is free.**
If you want the old behavior, add wait=60. The call then holds until the data is updated.

New
- GET /v1/alliances/{kid}/{tag}?include=members_full&wait=60: every member's heroes, ranks, and gov gear in one request
- include=members_base: name, power, and TC for the whole roster
- GET /v1/players?ids=1,2,3: up to 50 players in one request
- max_age=: choose how old data may be before an update is queued (60s to 7 days)
- New response fields: refresh (none, queued, running, done) and retry_after
- A player we have never seen returns 202 with Retry-After if the lookup takes longer than 10s

Tips
- Set your client timeout above any wait you send (75s is safe)
- For alliance planners, use members_full instead of one call per member

Updated Docs: https://api.mightpulse.com

MightPulse API

Authenticated public API for Kingshot player, alliance, and kingdom stats. Sign in with Discord to create a key.

The latest from 👑🦊 Tᕼᗴ ᖴO᙭'S ᗪᗴᑎ 🦊👑

Season 24 KvK Matchups: Key Kingdom Battles

👑🦊 Tᕼᗴ ᖴO᙭'S ᗪᗴᑎ 🦊👑 shares Season 24 KvK matchups, with 2,508 kingdoms forming 1,250 pairs and eight byes. The announcement highlights undefeated castle records, …

Kingshot Halloween Fanart Contest Winners Revealed

👑🦊 Tᕼᗴ ᖴO᙭'S ᗪᗴᑎ 🦊👑 celebrates the Kingshot Halloween Ball Fanart Contest winners and their creative spooky artwork. The Spooktacular Creativity Prize was expanded to …

Discord Web Search Privacy: How to Opt Out

👑🦊 Tᕼᗴ ᖴO᙭'S ᗪᗴᑎ 🦊👑 explains Discord’s new feature that may surface messages from discoverable servers on public webpages, including Google Search. The announcement shares …