Constants
This endpoint returns filtered constants by the API. Take a look at /constants to retrieve the full response. Top level objects include:
- alliance_badges
- name (string)
- category (string)
- id (number)
- arenas
- name (string)
- arena (number)
- chest_arena (string)
- tv_arena (string)
- is_in_use (boolean)
- training_camp (boolean)
- trophy_limit (number)
- demote_trophy_limit (number)
- season_trophy_reset (number or null)
- chest_reward_multiplier (number)
- shop_chest_reward_multiplier (number)
- request_size (number)
- max_donation_count_common (number)
- max_donation_count_rare (number)
- max_donation_count_epic (number)
- matchmaking_min_trophy_delta (number)
- matchmaking_max_trophy_delta (number)
- matchmaking_max_seconds (number)
- daily_donation_capacity_limit (number)
- battle_reward_gold (number)
- season_reward_chest (number or null)
- quest_cycle (string)
- force_quest_chest_cycle (null - can't find any other value)
- key (string)
- title (string)
- subtitle (string)
- arena_id (number)
- league_id (string)
- id (number)
- cards
- key (string)
- name (string)
- elixir (number)
- type (string)
- rarity (string)
- arena (string)
- description (string)
- id (number - used in decklink creation)
- cards_stats
- troop
- name (string)
- rarity (string)
- sight_range (number)
- deploy_time (number)
- speed (number)
- hitpoints (number)
- hit_speed (number)
- load_time (number)
- damage (number)
- load_first_hit (boolean)
- load_after_retarget (boolean)
- all_targets_hit (boolean)
- range (number)
- attacks_ground (boolean)
- attacks_air (boolean)
- target_only_buildings (boolean)
- crowd_effects (boolean)
- ignore_pushback (boolean)
- scale (number)
- collision_radius (number)
- mass (number)
- show_health_number (boolean)
- fly_direct_paths (boolean)
- fly_from_ground (boolean)
- heal_on_morph (boolean)
- morph_keep_target (boolean)
- destroy_at_limit (boolean)
- death_spawn_pushback (boolean)
- death_inherit_ignore_list (boolean)
- kamikaze (boolean)
- projectile_start_radius (number)
- projectile_start_z (number)
- dont_stop_move_anim (boolean)
- is_summoner_tower (boolean)
- self_as_aoe_center (boolean)
- hides_when_not_attacking (boolean)
- hide_before_first_hit (boolean)
- special_attack_when_hidden (boolean)
- has_rotation_on_timeline (boolean)
- jump_enabled (boolean)
- retarget_after_attack (boolean)
- burst_keep_target (boolean)
- burst_affect_animation (boolean)
- building_target (boolean)
- spawn_const_priority (boolean)
- name_en (string)
- key (string)
- elixir (number)
- type (string)
- arena (number)
- description (string)
- id (number)
- speed_en (string)
- dps (number)
- building
- name (string)
- rarity (string)
- sight_range (number)
- hitpoints (number)
- hit_speed (number)
- load_time (number)
- load_first_hit (boolean)
- load_after_retarget (boolean)
- projectile (string)
- all_targets_hit (boolean)
- range (number)
- attacks_ground (boolean)
- attacks_air (boolean)
- target_only_buildings (boolean)
- attached_character_height (number)
- crowd_effects (boolean)
- ignore_pushback (boolean)
- scale (number)
- collision_radius (number)
- tile_size_override (number)
- show_health_number (boolean)
- fly_direct_paths (boolean)
- fly_from_ground (boolean)
- heal_on_morph (boolean)
- morph_keep_target (boolean)
- destroy_at_limit (boolean)
- death_spawn_pushback (boolean)
- death_inherit_ignore_list (boolean)
- kamikaze (boolean)
- projectile_start_radius (number)
- projectile_start_z (number)
- dont_stop_move_anim (boolean)
- is_summoner_tower (boolean)
- no_deploy_size_w (number)
- no_deploy_size_h (number)
- self_as_aoe_center (boolean)
- hides_when_not_attacking (boolean)
- hide_before_first_hit (boolean)
- special_attack_when_hidden (boolean)
- has_rotation_on_timeline (boolean)
- turret_movement (number)
- projectile_y_offset (number)
- jump_enabled (boolean)
- retarget_after_attack (boolean)
- burst_keep_target (boolean)
- burst_affect_animation (boolean)
- building_target (boolean)
- spawn_const_priority (boolean)
- name_en (string)
- spell
- name (string)
- rarity (string)
- life_duration (number)
- life_duration_increase_per_level (number)
- life_duration_increase_after_tournament_cap (number)
- affects_hidden (boolean)
- radius (number)
- hit_speed (number)
- damage (number)
- no_effect_to_crown_towers (boolean)
- crown_tower_damage_percent (number)
- hit_biggest_targets (boolean)
- buff (string)
- buff_time (number)
- buff_time_increase_per_level (number)
- buff_time_increase_after_tournament_cap (number)
- cap_buff_time_to_area_effect_time (boolean)
- buff_number (number)
- only_enemies (boolean)
- only_own_troops (boolean)
- ignore_buildings (boolean)
- projectile (null)
- spawn_character (null or string)
- spawn_interval (number)
- spawn_randomize_sequence (boolean)
- spawn_deploy_base_anim (null or string)
- spawn_time (number)
- spawn_character_level_index (number)
- spawn_initial_delay (number)
- spawn_max_count (number)
- spawn_min_radius (number)
- hits_ground (boolean)
- hits_air (boolean)
- key (string)
- elixir (number)
- type (string)
- arena (number)
- description (string)
- id (number)
- troop
- challenges
- name (string)
- game_mode (string)
- enabled (boolean)
- join_cost (number)
- join_cost_resource (string)
- max_wins (number)
- max_loss (number)
- reward_cards (array)
- reward_gold (array)
- reward_spell (null or string)
- reward_spell_max_count (number)
- name_en (string)
- key (string)
- id (number)
- chest_order
- MainCycle (array)
- Quest_earlygame_1 (array)
- Quest_earlygame_2 (array)
- Quest_lategame_1 (array)
- Quest_lategame_2 (array)
- Quest_lategame_3 (array)
- Quest_lategame_4 (array)
- Quest_lategame_5 (array)
- Quest_lategame_6 (array)
- Quest_lategame_7 (array)
- Quest_lategame_8 (array)
- Quest_lategame_9 (array)
- Quest_lategame_10 (array)
- Quest_arena3_super (array)
- clan_chest
- 1v1
- thresholds (array)
- gold (array)
- cards (array)
- 2v2
- thresholds (array)
- gold (array)
- cards (array)
- 1v1
- game_modes
- name (string)
- card_level_adjustment (string)
- deck_selection (string)
- overtime_seconds (number)
- predefined_decks (string)
- same_deck_on_both (boolean)
- separate_team_decks (boolean)
- use_starting_elixir (boolean)
- heroes (boolean)
- players (string)
- gives_clan_score (boolean)
- fixed_deck_order (boolean)
- name_en (string)
- id (number)
- rarities
- name (string)
- card_level_adjustment (string)
- deck_selection (string)
- overtime_seconds (number)
- predefined_decks (string)
- same_deck_on_both (boolean)
- separate_team_decks (boolean)
- use_starting_elixir (boolean)
- heroes (boolean)
- players (string)
- gives_clan_score (boolean)
- fixed_deck_order (boolean)
- name_en (string)
- id (number)
- regions
- id (number)
- key (string)
- name (string)
- isCountry (boolean)
- tournaments
- create_cost (number)
- max_players (number)
- key (string)
- prizes (array)
- cards (array)
- treasure_chests
- cycle (array)
- name (string)
- base_chest (null)
- arena
- name (string)
- arena (number)
- chest_reward_multiplier (number)
- shop_chest_reward_multiplier (number)
- key (string)
- title (string)
- subtitle (string)
- in_shop (boolean)
- in_arena_info (boolean)
- tournament_chest (boolean)
- survival_chest (boolean)
- shop_price_without_speed_up (number)
- time_taken_days (number)
- time_taken_hours (number)
- time_taken_minutes (number)
- time_taken_seconds (number)
- random_spells (number)
- different_spells (number)
- chest_count_in_chest_cycle (number)
- rare_chance (number)
- epic_chance (number)
- legendary_chance (number)
- skin_chance (number)
- guaranteed_spells (null)
- min_gold_per_card (number)
- max_gold_per_card (number)
- spell_set (null)
- exp (number)
- sort_value (number)
- special_offer (boolean)
- draft_chest (boolean)
- boosted_chest (boolean)
- legendary_override_chance (number)
- description (string)
- notification (string)
- card_count (number)
- min_gold (number)
- max_gold (number)
- arenas (array)
- crown (array)
- Similar to
cycle
- Similar to
- shop (array)
- Similar to
cycle
- Similar to
- cycle (array)
HTTP Request
https://api.royaleapi.com/constant/<NAME>
URL Parameters
Parameter | Description |
---|---|
NAME | The name of the top level object to retrieve (alliance_badges , arenas , cards , challenges , game_modes or regions ) |
Response
https://api.royaleapi.com/constant/regions