Clash Royale API
A Clash Royale API that provides information about the game.
If you develop an app using this API, please submit a pull request adding it to the apps table.
Content
How to use?
Consume the API to get all the information you need from these routes.
Endpoints
Route | HTTP Verb | Description |
---|---|---|
/api/arenas |
GET |
All Arenas information |
/api/arenas/:id |
GET |
Single Arena information |
/api/arenas/:idName |
GET |
Single Arena information |
/api/cards |
GET |
All Cards information |
/api/cards/:id |
GET |
Single Card information |
/api/cards/:idName |
GET |
Single Card information |
/api/chests |
GET |
All Chests information |
/api/chests/:id |
GET |
Single Chest information |
/api/chests/:idName |
GET |
Single Chest information |
/api/leagues |
GET |
All Leagues information |
/api/leagues/:id |
GET |
Single League information |
/api/leagues/:idName |
GET |
Single League information |
/api/players |
GET |
All Players levels information |
/api/players/:id |
GET |
Player level information |
/api/players/:idName |
GET |
Player level information |
/api/random-deck |
GET |
Get a Random deck! |
Images
You can get the images too! Thank you MaherFa!
Route | Description |
---|---|
/images/arenas/${idName}.png |
Arenas images |
/images/cards/${idName}.png |
Cards images |
/images/chests/${idName}.png |
Chests images |
/images/leagues/${idName}.png |
Leagues images |
Want to help?
If you like the API, please star this repository.
If you create an app using the API, please mention this repository and add it in the table below.
If you want to contribute to the API, feel free to create a pull request.
If you
Development
Make sure you have installed all these prerequisites on your development machine.
Install
$ git clone https://github.com/martincarrera/clash-royale-api.git
$ cd clash-royale-api
$ npm install
Run
$ mongod
$ cd clash-royale-api
$ npm run dev
If you don't have Nodemon
installed
$ mongod
$ cd clash-royale-api
$ npm i -g nodemon
$ npm run dev
Test
$ npm test
Apps that use this API
APP | Description | Link |
---|---|---|
Randeck | Simple web app that generates random decks. | Go! |
Donate | Website for clash royale clan called Donate. | Go! |
BarrePolice | A Telegram Bot based on plugins written in Lua | Go! & send /cr |
Clashapi | NPM package to consume this API | Go! |
Deck It | Deck builder app designed for Android | Go! |
Made with
This content is not affiliated with, endorsed, sponsored, or specifically approved by Supercell and Supercell is not responsible for it. For more information see Supercell’s Fan Content Policy.