✅
Link to the plugin page:
Demo to preview the plugin:
✅
Live Demo:
Introduction
This plugin allows you to query and display Axie Infinity account details by using a Ronin Wallet address. Whether you're building a game dashboard, NFT viewer, or Axie marketplace, this plugin makes Axie data accessible inside your Bubble app — no backend setup required.
Key Features:
- Retrieve user and asset data using a Ronin Wallet address.
- Access battle logs, match stats, and fighter info.
- View Axie details: traits, classes, breeding count, and more.
- Fetch SLP token balances for any account.
- Seamlessly connect Bubble apps to the Axie Infinity ecosystem.
How to setup
Step 1: Install the Plugin
- Go to your Bubble editor
- Click on the Plugins tab in the left panel
- Click “Add plugins”
- Search for "Axie Infinity API"
- Click Install or Buy (if not free)
Step 2: Get Your API Key from RapidAPI
- This plugin uses the Axie Infinity API hosted on RapidAPI. To use the plugin, you'll need your X-RapidAPI-Key.
- Visit https://rapidapi.com
- Log in or create a free account
- Navigate to the Axie Infinity API page: https://rapidapi.com/jchbasco/api/axie-infinity/
- Click Go to Playground
- Go to the App tab
- Copy your X-RapidAPI-Key
Step 3: Configure the Plugin in Bubble
- Back in your Bubble editor
- Create a Custom State
- On any element (e.g., the page), create a custom state named
SelectedAxie
of type Axie – Marketplace data.
- Add a Search Input
- Drag a Search Box onto your page.
- Set its Content format to text.
- Under Element inspector → States, create a custom state on the Search Box (e.g.,
searchQuery
) of type text.
- Add a Repeating Group
- Drag a Repeating Group onto the page and name it Repeating Group Axies.
- Set Type of content to Axie – Marketplace data.
- For Data source, use a Get data from external API call (e.g., the Axies endpoint).
- Display Axie Data
- Inside the Repeating Group, add an Image and Text element.
- Image →
Parent group's Axies - Marketplace data axies result (Axie Infinity)'s image
- Text →
Parent group's Axies - Marketplace data axies result (Axie Infinity)'s id
- Set the Selected Axie
- In the Repeating Group cell, add a Workflow:
- When This Repeating Group’s Cell is clicked → Element Actions → Show
- Add the Following Actions:
- Step 1: Show Popup
- Action:
- Element to show:
- Step 2: Display Axie Data in Popup
- Action:
- Element:
- Data to display:
- API Provider:
Axie Infinity (Axies)
- X-API-Key:
A3fKIWMWM7ly***********
- Content-Type:
application/json
- owner-wallet:
Search bar input's value
Element Actions → Show
Popup Axies - Marketplace (Axie Infinity)
Element Actions → Display data
Popup Axies - Marketplace (Axie Infinity)
Current cell's Axie – Marketplace data
Axie Infinity API Configuration (for dynamic fetch via Popup)
Step 4: Preview & Test
- Click Preview in your Bubble editor.
- Enter a valid Ronin Wallet Address into an input.
- The plugin will fetch and display data like Axie stats, SLP balances, or battle history.
💡 Tip: Use repeating groups to display lists of Axies or battle logs more effectively. You can also combine filters for advanced search.
Plugin Data Calls
Battle Log
Retrieve the battle history of a player.
Name | Description | Type |
X-API-Key | Sky Mavis API key | Text |
Client_id | Unique user identifier | Text |
Type | Type of battle: "pvp", "pve", etc. | Text |
Return Values:
Return type: JSON
json{ "battles": { "battle_uuid": "text", "client_ids": "undefined", "team_ids": "undefined", "created_at": "number", "winner": "number", "battle_type": "number", "battle_type_string": "text", "first_client_fighters": { "gene": "text", "axie_id": "number", "axie_type": "text", "runes": "undefined", "charms eyes": "text", "charms mouth": "text", "charms ears": "text", "charms horn": "text", "charms back": "text", "charms tail": "text", "position": "number" }, "second_client_fighters": { "gene": "text", "axie_id": "number", "axie_type": "text", "runes": "undefined", "charms eyes": "text", "charms mouth": "text", "charms ears": "text", "charms horn": "text", "charms back": "text", "charms tail": "text", "position": "number" }, "rewards": { "user_id": "text", "new_vstar": "number", "old_vstar": "number", "result": "text", "items": { "item_id": "text", "quantity": "number" } }, "delta_rewards": { "user_id": "text", "new_vstar": "number", "old_vstar": "number", "result": "text", "items": { "item_id": "text", "quantity": "number" } }, "user_ranks": { "division": "text", "tier": "number" }, "started_time": "number", "ended_time": "number", "old_mmr": "text", "new_mmr": "text", "did_player_surrender": "yes/no", "top_rank": "number" } }
SLP
Get SLP token balance for a wallet address.
Name | Description | Type |
X-API-Key | Sky Mavis API key | Text |
Ronin_wallet_address | Ronin wallet address of the target account | Text |
Return Values:
Return type: JSON
json{ "SLP": { "ownerAddress": "text", "contractAddress": "text", "tokenName": "text", "tokenSymbol": "text", "tokenStandard": "text", "decimals": "number", "balance": "text" }, "paging total": "number" }
Axies
Retrieve Axies owned by a wallet.
Name | Description | Type |
X-API-Key | Sky Mavis API key | Text |
Content-Type | (Optional) request content type | Text |
Owner_wallet_address | Owner wallet address | Text |
Return Values:
Return type: JSON
json{ "axies total": "number", "axies": { "class": "text", "image": "text", "name": "text", "parts": { "class": "text", "id": "text", "name": "text" }, "breedCount": "number", "id": "text" } }
Changelogs
Update 20.07.24 - Version 1.11.0
- Minor update (Marketing update).
Update 20.07.24 - Version 1.10.0
- Minor update.
Update 06.06.24 - Version 1.9.0
- Minor update.
Update 03.06.24 - Version 1.8.0
- Updated demo/service links.
Update 24.02.24 - Version 1.7.0
- updated description.
Update 01.11.23 - Version 1.6.0
- updated description.
Update 18.10.23 - Version 1.5.0
- Updated description.
Update 09.10.23 - Version 1.4.0
- Updated api endpoints.
Update 15.09.23 - Version 1.3.0
- updated description.
Update 12.09.23 - Version 1.2.0
- minor updates.
Update 04.09.23 - Version 1.1.0
- updated description.
Update 20.10.21 - Version 1.0.0
- Release.