Deadlock
v0.2.0Deadlock match and player stats from the Deadlock API, game knowledge from the Deadlock Wiki
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ability_order Ability upgrade orders
A hero's most common and best-winning ability upgrade orders.
| Parameter | Type | Description |
|---|---|---|
hero * | string | The hero: a name (or a unique part of it) or a hero id. |
days | integer | Only matches of the last this many days. |
limit | integer | How many orders per list. |
max_rank | string | null | Only matches whose average rank is at most this rank: "Ascendant" is up to Ascendant VI. |
min_matches | integer | Leave out orders played in fewer matches. |
min_rank | string | null | Only matches whose players' average rank is at least this rank, named as `player_overview` names it: "Ascendant" (from Ascendant I), "Eternus III"; "Obscurus" is unranked. |
builds Hero builds
Popular in-game builds of a hero, or one build by its id: name, author, the build id to import in game, favorites, items, and matches and win rate with the build selected. `matches` and `win_rate` are null when fewer than 20 matches of the last 30 days had the build selected; they come from replay analysis, which covers part of the matches.
| Parameter | Type | Description |
|---|---|---|
hero * | string | The hero: a name (or a unique part of it) or a hero id. |
build_id | integer | null | Only the build with this id, e.g. a player's `hero_build_id` from `match_player`; the answer then lists the build's items. An id the API's build database lacks (often a low one, such as 3 or 27) gives… |
language | Only builds written in this language; all languages when left out. | |
limit | integer | How many builds to list. |
search | string | null | Only builds whose name contains this text. |
game_lookup Look up a hero, ability or item
Heroes (with their abilities), abilities and shop items by name or id.
| Parameter | Type | Description |
|---|---|---|
query * | string | Part of a hero, ability or item name (e.g. "arctic", "kelvin"), or an id from match data. |
hero_counters Hero counters
The enemy heroes a hero wins most and least against. `win_rate` is the asked-about hero's; `hardest_place` 1 is the enemy it loses to most.
| Parameter | Type | Description |
|---|---|---|
hero * | string | The hero: a name (or a unique part of it) or a hero id. |
days | integer | Only matches of the last this many days. |
heroes | array | Also place these heroes among all pairs, e.g. a match's lane opponents for `hero_counters` or the lane partner for `hero_synergies`: names or ids. |
limit | integer | How many heroes per list. |
max_rank | string | null | Only matches whose average rank is at most this rank: "Ascendant" is up to Ascendant VI. |
min_matches | integer | Leave out pairs with fewer matches. |
min_rank | string | null | Only matches whose players' average rank is at least this rank, named as `player_overview` names it: "Ascendant" (from Ascendant I), "Eternus III"; "Obscurus" is unranked. |
same_lane | boolean | Only pairs that shared a lane (lane opponents, lane partners); all matches when false. |
hero_items Items on a hero
Which shop items win on a hero, optionally against given enemy heroes. The win rates are raw and favour items bought by players already ahead; `item_timings` adjusts for that. Items bought late also win more often, since only players whose match lasted buy them: compare items of one tier.
| Parameter | Type | Description |
|---|---|---|
hero * | string | The hero: a name (or a unique part of it) or a hero id. |
days | integer | Only matches of the last this many days. |
enemy_heroes | array | Only matches against at least one of these heroes (names or ids). |
limit | integer | How many items to list. |
max_rank | string | null | Only matches whose average rank is at most this rank: "Ascendant" is up to Ascendant VI. |
min_matches | integer | Leave out items bought in fewer matches. |
min_rank | string | null | Only matches whose players' average rank is at least this rank, named as `player_overview` names it: "Ascendant" (from Ascendant I), "Eternus III"; "Obscurus" is unranked. |
hero_stats Hero win and pick rates
Win rate, pick rate and matches per hero over all players' matches.
| Parameter | Type | Description |
|---|---|---|
days | integer | Only matches of the last this many days. |
limit | integer | How many heroes to list. |
max_hero_matches | integer | null | Only players with at most this many matches on the hero they played, counted like `min_hero_matches`: 5 shows how heroes do for players new to them. At least `min_hero_matches`. |
max_rank | string | null | Only matches whose average rank is at most this rank: "Ascendant" is up to Ascendant VI. |
min_hero_matches | integer | null | Only players with at least this many matches on the hero they played, over their whole history in normal mode (the API refreshes the counts every 30 minutes). With either of these, only those players… |
min_matches | integer | Leave out heroes with fewer matches. |
min_rank | string | null | Only matches whose players' average rank is at least this rank, named as `player_overview` names it: "Ascendant" (from Ascendant I), "Eternus III"; "Obscurus" is unranked. |
sort | `win_rate` (default) or `pick_rate`. |
hero_synergies Hero synergies
The teammates a hero wins most and least with. `win_rate` is the asked-about hero's; `best_place` 1 is the teammate it wins most with.
| Parameter | Type | Description |
|---|---|---|
hero * | string | The hero: a name (or a unique part of it) or a hero id. |
days | integer | Only matches of the last this many days. |
heroes | array | Also place these heroes among all pairs, e.g. a match's lane opponents for `hero_counters` or the lane partner for `hero_synergies`: names or ids. |
limit | integer | How many heroes per list. |
max_rank | string | null | Only matches whose average rank is at most this rank: "Ascendant" is up to Ascendant VI. |
min_matches | integer | Leave out pairs with fewer matches. |
min_rank | string | null | Only matches whose players' average rank is at least this rank, named as `player_overview` names it: "Ascendant" (from Ascendant I), "Eternus III"; "Obscurus" is unranked. |
same_lane | boolean | Only pairs that shared a lane (lane opponents, lane partners); all matches when false. |
ingest_status Match ingestion status
Whether the player runs the API's ingest tool, which sends their matches as they play.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The player's account id (Steam32 id), from `player_search`. |
item_timings Item timings on a hero
Which shop items win on a hero in each phase of a match (0-9, 9-20, 20-30, 30+ minutes), by win rate adjusted for the buyer's net worth at purchase, next to the raw one. Read `adjusted_win_rate` against the phase's own `win_rate`; late phases hold only the matches that lasted.
| Parameter | Type | Description |
|---|---|---|
hero * | string | The hero: a name (or a unique part of it) or a hero id. |
days | integer | Only matches of the last this many days. |
limit | integer | How many items to list per phase. |
max_rank | string | null | Only matches whose average rank is at most this rank: "Ascendant" is up to Ascendant VI. |
min_matches | integer | Leave out items bought in a phase in fewer matches. A rarely bought item's rate is noisy: raise this for a steadier list, and say how many matches a rate rests on. |
min_rank | string | null | Only matches whose players' average rank is at least this rank, named as `player_overview` names it: "Ascendant" (from Ascendant I), "Eternus III"; "Obscurus" is unranked. |
lane_matchups Lane matchups
A lane duo against an enemy duo (or any duo): soul lead with its spread and damage lead at each stats snapshot, and the win rate. Upstream marks the data as subject to change. `soul_lead_spread` is the spread between single lanes (about two thirds lie within it), not the error of the mean; `win_rate` is for the whole match. Snapshots fewer than `min_matches` lanes lasted to are left out; `matches: 0` with no points means too few lanes, not no data.
| Parameter | Type | Description |
|---|---|---|
heroes * | array | The two heroes of the lane duo: names (or unique parts of them) or hero ids. |
days | integer | Only matches of the last this many days. |
enemy_heroes | array | The two heroes they laned against; leave out for the duo against any duo. |
max_rank | string | null | Only matches whose average rank is at most this rank: "Ascendant" is up to Ascendant VI. |
min_matches | integer | Answer with `matches` 0 and no points when the duos met in fewer lanes, and leave out the late snapshots fewer of them lasted to. Few lanes give a rough mean: say how many the answer rests on. |
min_rank | string | null | Only matches whose players' average rank is at least this rank, named as `player_overview` names it: "Ascendant" (from Ascendant I), "Eternus III"; "Obscurus" is unranked. |
leaderboard Leaderboard
The top players of a region's ranked leaderboard, optionally for one hero. `possible_account_ids` are matched by name, so not always the player.
| Parameter | Type | Description |
|---|---|---|
region * | The leaderboard's region. | |
hero | string | null | One hero's leaderboard: a name (or a unique part of it) or a hero id. |
limit | integer | How many players to list from the top. |
match_damage Damage in a match
Who damaged a player and whom they damaged, with what, and who finished them: per hero and for the non-heroes together, damage both ways by ability, weapon and item, killing damage and seconds of crowd control received. `killing_damage` is their damage in the ~40 s before each time the player's health reached 0, Rejuvenator revives included. `damage_received` counts heroes only; `non_heroes` holds troopers, neutrals, objectives, the Midboss and summons in one.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The account id (Steam32 id) of a player in that match. |
match_id * | integer | The match id, e.g. from `player_overview`. |
until_minute | integer | null | Count only up to this minute of game time (15 = the laning phase); the match end when left out. The game samples damage every 3 minutes, so it is rounded down to a sample (14 gives 12:00); the answer'… |
match_distance Distances in a match
How close a player stood to each other player: seconds within 10 to 60 m of each hero while both were alive, over a window of the match. The counts are cumulative (`within_20m_s` includes `within_10m_s`) and out of `both_alive_s`; times can be a few seconds off.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The account id (Steam32 id) of a player in that match. |
match_id * | integer | The match id, e.g. from `player_overview`. |
from_minute | integer | The window's start, in minutes of game time. |
until_minute | integer | null | The window's end, in minutes of game time (15 = the laning phase); the match end when left out. |
match_lanes Match lanes
The three lanes of a match: who laned against whom and the soul lead every 3 minutes up to 15:00. `soul_lead` is the first team's duo minus the second's: positive means the first team in `teams` is ahead.
| Parameter | Type | Description |
|---|---|---|
match_id * | integer | The match id, e.g. from `player_overview`. |
match_player Player in a match
One player's match in depth: result and why, net worth over time, souls by source, unspent souls, deaths with killers, positions and the nearest objective, the build selected, purchases, ability upgrades and permanent buffs. `unspent.rank_in_match` counts leavers, whose souls pile up while away (`leavers_above`). `hero_build_id: null` usually means the API hasn't analysed the match's replay, not that the player had no build: ask. Read assists against `kill_participation`: few assists in a team with few kills is not staying out of fights. `awards` holds only the stats the game picked for this p…
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The account id (Steam32 id) of a player in that match. |
match_id * | integer | The match id, e.g. from `player_overview`. |
match_summary Match summary
A match's mode, length, winner, objectives destroyed and Midboss kills, and every player's hero, lane, K/D/A, souls, damage and own result. A team that claims the Midboss's Rejuvenator holds one revive per crystal it claimed for `rejuvenator_s` seconds: a player of it who dies comes back where they died a few seconds later, each at most once, so the team can lose a fight without deaths. `killed_by` or `claimed_by` null means the match doesn't say.
| Parameter | Type | Description |
|---|---|---|
match_id * | integer | The match id, e.g. from `player_overview`. |
patches Patch notes
Patch notes and news: the list, or one patch's notes as text.
| Parameter | Type | Description |
|---|---|---|
limit | integer | How many patches to list, newest first. |
link | string | null | A patch's link from the list: returns that patch's notes as text instead of the list. |
performance_curve Performance curve
The average player's course of a match: net worth, K/D/A, last hits, damage and souls by source at each stats snapshot (every 3 minutes up to 15:00, then every 5). Values are totals up to each snapshot; times fewer than 5% of the matches reach are left out.
| Parameter | Type | Description |
|---|---|---|
days | integer | Only matches of the last this many days. |
hero | string | null | Only matches of this hero: a name (or a unique part of it) or a hero id; all heroes when left out. |
max_rank | string | null | Only matches whose average rank is at most this rank: "Ascendant" is up to Ascendant VI. |
min_rank | string | null | Only matches whose players' average rank is at least this rank, named as `player_overview` names it: "Ascendant" (from Ascendant I), "Eternus III"; "Obscurus" is unranked. |
player_deaths_map Player's death map
Where on the map a player dies and kills most: hotspots in `match_player`'s map coordinates, with the objective nearby.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The player's account id (Steam32 id), from `player_search`. |
days | integer | Only matches of the last this many days. |
hero | string | null | Only matches on this hero: a name (or a unique part of it) or a hero id. |
limit | integer | How many hotspots per list. |
player_enemies Player's opponents
The opponents a player met most and lost to most, with Steam names.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The player's account id (Steam32 id), from `player_search`. |
days | integer | null | Only matches of the last this many days; all the API has when left out. |
limit | integer | How many opponents per list. |
min_matches | integer | Leave out opponents met fewer times. |
player_heroes Player's heroes
A player's stats per hero: matches, win rate, K/D/A per match, souls and damage per minute. Only the matches the Deadlock API has the full data of, so fewer than `player_overview`.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The player's account id (Steam32 id), from `player_search`. |
days | integer | null | Only matches of the last this many days; all the API has when left out. |
limit | integer | How many heroes to list, most played first. |
player_mates Player's teammates
Who a player plays with: matches together and the win rate, with Steam names.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The player's account id (Steam32 id), from `player_search`. |
days | integer | null | Only matches of the last this many days; all the API has when left out. |
limit | integer | How many mates to list. |
min_matches | integer | Leave out mates with fewer matches together. |
same_party | boolean | Only mates who queued in the same party (friends), not random teammates. |
player_overview Player overview
A player's rank, win rate over counted matches, most played heroes and recent matches. `rank: null` means none of the player's recent ranked matches the API holds carries a rank (none sent, or still in placement games): unknown, not unranked.
| Parameter | Type | Description |
|---|---|---|
account_id * | integer | The player's account id (Steam32 id), from `player_search`. |
recent | integer | How many recent matches to list. |
player_search Find a player
Find a player's account id by Steam name, `SteamID64` or profile link.
| Parameter | Type | Description |
|---|---|---|
query * | string | A Steam name, an account id, a `SteamID64` or a steamcommunity.com/profiles/ link. |
stat_percentiles Stat percentiles
Percentiles of per-match player stats (souls per minute, K/D/A, damage, accuracy...), to place one match's numbers among all players' matches. They rank single matches, not players: a player's average spreads much narrower.
| Parameter | Type | Description |
|---|---|---|
days | integer | Only matches of the last this many days. |
hero | string | null | Only matches of this hero: a name (or a unique part of it) or a hero id; all heroes when left out. |
max_rank | string | null | Only matches whose average rank is at most this rank: "Ascendant" is up to Ascendant VI. |
metrics | array | The stats to give; when left out, the main ones (net worth per minute, kills, deaths, assists, last hits, hero damage per minute, accuracy). |
min_rank | string | null | Only matches whose players' average rank is at least this rank, named as `player_overview` names it: "Ascendant" (from Ascendant I), "Eternus III"; "Obscurus" is unranked. |
wiki_page Read a Deadlock Wiki page
The text of a Deadlock Wiki page, or of one of its sections.
| Parameter | Type | Description |
|---|---|---|
title * | string | The exact page title, from `wiki_search`. |
section | string | null | One section of the page (its heading); the answer lists the sections. |
wiki_search Search the Deadlock Wiki
Search the Deadlock Wiki for game mechanics, heroes and items.
| Parameter | Type | Description |
|---|---|---|
query * | string | What to look for, e.g. "soul urn" or "Unstable Rift". |
limit | integer | How many results. |