MightPulse API Update: 500× Faster Calls & Alliance Data
Resumo
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.
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.