Discover/royaleapi.com API
live

royaleapi.com APIroyaleapi.com

Access Clash Royale player profiles, battle history, clan details, leaderboards, popular decks, and card stats via the RoyaleAPI API. 7 structured endpoints.

Endpoints
7
Updated
3mo ago
Try it
Player tag with or without leading # (e.g. J0VU9CGP or #J0VU9CGP).
api.parse.bot/scraper/9af24979-f7eb-4daa-954f-804732926ed6/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/9af24979-f7eb-4daa-954f-804732926ed6/get_player_profile?player_tag=ABC123XY' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Get player statistics and profile info from RoyaleAPI. Returns the player's name, trophies, league, clan affiliation, and detailed gameplay statistics.

Input
ParamTypeDescription
player_tagrequiredstringPlayer tag with or without leading # (e.g. J0VU9CGP or #J0VU9CGP).
Response
{
  "type": "object",
  "fields": {
    "tag": "string, player tag without #",
    "clan": "object with name and tag, or null if not in a clan",
    "name": "string, player display name",
    "stats": "object containing gameplay statistics (key-value pairs)",
    "trophies": "string, current trophy count",
    "best_trophies": "string, personal best trophy count",
    "current_league": "string, current league name"
  },
  "sample": {
    "data": {
      "tag": "J0VU9CGP",
      "clan": {
        "tag": "J00LL0RP",
        "name": "KXF Versace K10"
      },
      "name": "Dominik",
      "stats": {
        "max_wins": "20",
        "total_games": "5,137",
        "three_crown_wins": "17,366"
      },
      "trophies": "11549",
      "best_trophies": "11576",
      "current_league": "Summit of Heroes"
    },
    "status": "success"
  }
}

About the royaleapi.com API

This API provides structured Clash Royale game data across 7 endpoints, pulling from RoyaleAPI.com. The get_player_profile endpoint returns a player's current trophies, best trophies, league, clan affiliation, and a full stats object by player tag. Other endpoints cover battle history, clan membership, global or regional leaderboards up to 1000 entries, popular decks ranked by win rate, individual card statistics, and active tournaments.

Player and Clan Data

The get_player_profile endpoint accepts a player tag (with or without the leading #) and returns fields including name, trophies, best_trophies, current_league, and a stats object with detailed gameplay key-value pairs. The clan field is either an object with name and tag or null for clanless players. The get_player_battles endpoint returns a battles array where each entry includes the battle result, type, timestamp, and participant data for the queried player_tag.

The get_clan_details endpoint takes a clan_tag and returns the clan's name, description, and a full members array. Each member entry includes name, tag, role, trophies, and level, making it straightforward to build clan comparison tools or roster trackers.

Decks, Cards, and Leaderboards

The get_popular_decks endpoint accepts an optional time_range parameter (1d, 3d, 7d, 14d, or 28d) and returns up to 20 deck objects. Each deck contains a cards array of card slug strings and a stats object with win_rate and rating. The get_card_stats endpoint requires no inputs and returns all cards sorted by popularity, each with a name, usage percentage, and win_rate percentage.

The get_leaderboard endpoint supports filtering by type (players or clans) and region (global or a country code such as us, kr, or de). It returns up to 1000 ranked entries, with player entries including clan and level fields and clan entries including members and location. The get_tournaments endpoint requires no inputs and lists current and recent tournaments with name, tag, players (formatted as current/max), status, and an open boolean.

Common use cases
  • Display a player's current league, trophy count, and best trophies on a Clash Royale stat dashboard using get_player_profile.
  • Analyze a player's recent win/loss pattern by iterating over the battles array from get_player_battles.
  • Surface the top-rated decks for a given time window using get_popular_decks with the time_range parameter.
  • Build a card tier list ordered by win rate using the usage and win_rate fields from get_card_stats.
  • Generate a clan roster page showing each member's role, level, and trophies via get_clan_details.
  • Show country-specific player or clan rankings by passing a country code to get_leaderboard.
  • List open tournaments with available slots by filtering get_tournaments results on the open boolean and players field.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does RoyaleAPI have an official developer API?+
Yes. RoyaleAPI previously offered a developer API at developer.royaleapi.com, but that service was deprecated. The site now primarily serves data through its web interface. The official Clash Royale game API from Supercell is available at developer.clashroyale.com, though it covers different data than what RoyaleAPI aggregates.
What does the leaderboard endpoint return for players versus clans?+
Both return up to 1000 ranked entries with rank, name, tag, and score. Player entries additionally include clan affiliation and level. Clan entries include members count and location. Pass type=players or type=clans and an optional region (e.g. us, kr, or global) to filter results.
Does the API return a player's full card collection or chest cycle?+
Not currently. The get_player_profile endpoint returns trophy counts, league, clan, and a gameplay stats object, but does not expose the player's card collection, upgrade levels, or chest cycle state. You can fork this API on Parse and revise it to add an endpoint covering that data.
How fresh is the battle history returned by `get_player_battles`?+
The endpoint returns recent battles as shown on the RoyaleAPI player page. RoyaleAPI refreshes player data when a profile is visited, so very recently played battles may not appear until the profile has been updated on their side. There is no date-range filter parameter; the response reflects whatever recent battles are currently displayed.
Can I retrieve deck statistics for a specific card combination rather than the global popular decks list?+
Not currently. The get_popular_decks endpoint returns up to 20 decks ranked by rating across a chosen time range, but does not accept a card filter to look up stats for an arbitrary deck. You can fork this API on Parse and revise it to add a custom deck lookup endpoint.
Page content last updated . Spec covers 7 endpoints from royaleapi.com.
Related APIs in SportsSee all →
athletic.net API
Search and analyze cross country and track & field performance data across the US, including athlete profiles, meet results, team rosters, and rankings. Access comprehensive meet information, historical records, and state-level competition data to track athlete progress and discover top performers.
maxpreps.com API
Access high school sports data from MaxPreps. Search for schools, retrieve team rosters and schedules, look up athlete profiles, and browse national or state rankings across all sports.
vg.no API
Access VG.no's latest news, articles, sports scores, and TV guides through a single interface where you can browse the front page, search articles by topic, view category-specific content, and find related stories. Get real-time sports scores and television schedules alongside comprehensive news coverage from Norway's leading news outlet.
vegasinsider.com API
Retrieve MLB betting odds from major sportsbooks including bet365, FanDuel, and DraftKings, covering Moneyline, Total, and Runline markets for any supported date. Easily compare odds across books to identify the best available lines.
puntoticket.com API
Browse and search events happening in Chile with PuntoTicket, viewing featured shows, filtering by category, and checking detailed pricing and availability for concerts, theater, sports, and more. Find the perfect event by exploring all listings or discovering what's trending right now.
130point.com API
Search for sold trading cards across eBay, Goldin, Heritage Auctions, Pristine Auction, MySlabs, and Fanatics Collect to find historical prices, sale dates, and marketplace information all in one place. Get comprehensive sales data to research card values and track market trends across multiple platforms instantly.
wynncraft.com API
Access detailed Wynncraft game information to look up item metadata and search across the complete item database, retrieve player statistics and character inventories, and browse guild information and global search results. Use this data to compare gear, track player progress, analyze guild rosters, or build tools for the Wynncraft community.
whoscored.com API
Search for players and teams, then dive deep into their performance metrics, match statistics, and detailed passing data to analyze football games and player abilities. Get comprehensive insights on team performance, individual player stats, and play-by-play event information to power your football analysis and decision-making.
RoyaleAPI API — Clash Royale Stats & Data · Parse