Stats

Get a Legend army family

Changed on
get/v2/stats/armies/detail

Request

  • Base URL: https://api.clashk.ing
  • URL: https://api.clashk.ing/v2/stats/armies/detail
  • Auth: none required

Query parameters

time[after]string
time[before]string
cohort'legend_i' | 'top_1000' | 'top_200'
armyLinkstring required

Clash CopyArmy link or raw army share code. URL-encode links when supplying this query parameter.

Response

Success

cohort'legend_i' | 'top_1000' | 'top_200' required
familyIdstring required

Permanent family ID as a decimal string; never convert to a JavaScript number.

namestring nullable required
shareCodestring required
attacksinteger required
playersinteger nullable required

Exact collected players. Null when retained raw rows cannot reproduce every selected daily closeout population; never a sum of player-days.

totalLegendAttacksinteger required

All selected Legend attacks including missing army codes; usage is attacks divided by this total.

Changes

    • breaking

      response property name list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      response property players list-of-types was widened by adding types null to media type application/json of response 200

    • breaking

      removed the required property from the response with the status

    • info

      added the new optional query request parameter cohort

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      endpoint added