Clan Battles

This endpoint return battles played by people in your clan. Internally, the server fetches player profiles for everyone who are members. As it is an expensive request, you may wish to lengthen your timeout param in your request as it may take some time for you to receive your response.

You may want to use pagination for this request.

HTTP Request

GET https://api.royaleapi.com/clan/:tag/battles

URL Parameters

ParameterDescription
TAGThe clan tag of the clan to retrieve

Query String Parameters

NameData TypeRequired / OptionalDescription
typestringoptional (default to clanMate)Type of clan battles to filter (all, war, challenge or clanMate)

Response

https://api.royaleapi.com/clan/9PJ82CRC/battles

Full JSON Response

[
    {},
    {},
    {}
]

Implementation

https://royaleapi.com/clan/9PJ82CRC/battles

Last Updated:
Contributors: fourjr, SML, fourjr