Clan Search

This endpoint allows you to search for a clan.

You may want to use pagination for this request.

HTTP Request

GET https://api.royaleapi.com/clan/search?name=<NAME>&score=<SCORE>&minMembers=<MIN_MEMBERS>&maxMembers=<MAX_MEMBERS>&locationId=<LOCATION_ID>

NameMethodDescription
/clan/searchGETClan search

Query String Parameters

You must provide at least one query string parameters to see results (this does not include max).

NameData TypeRequired / OptionalDescription
namestringoptionalClan name text search.
scorenumberoptionalMinimum clan score.
minMembersnumberoptionalMinimum number of members. 2-50
maxMembersnumberoptionalMaximum number of members. 2-50
locationIdnumberoptionalLocation ID. See regions.jsonopen in new window for accepted values.

Response

https://api.royaleapi.com/clan/search?name=abc

Full JSON response


[
    {
        "tag": "G92LQVC",
        "name": "abc",
        "type": "invite only",
        "score": 13477,
        "memberCount": 26,
        "requiredScore": 0,
        "donations": 0,
        "badge": {
            "name": "Skull_03",
            "category": "01_Symbol",
            "id": 16000026,
            "image": "https://cr-api.github.io/cr-api-assets/badges/Skull_03.png"
        },
        "location": {
            "name": "China",
            "isCountry": true,
            "code": "CN"
        }
    },
    {
        "tag": "28PLGC29",
        "name": "ABC",
        "type": "open",
        "score": 13150,
        "memberCount": 50,
        "requiredScore": 0,
        "donations": 0,
        "badge": {
            "name": "Heart_02",
            "category": "01_Symbol",
            "id": 16000109,
            "image": "https://cr-api.github.io/cr-api-assets/badges/Heart_02.png"
        },
        "location": {
            "name": "China",
            "isCountry": true,
            "code": "CN"
        }
    },
]

Implementations

https://royaleapi.com/clans/search

Last Updated:
Contributors: SML, fourjr, fourjr