1. Install the Plugin
In the Bubble editor, go to the Plugins tab.
Click "Add plugins".
Search for WGD CoinMarketCap Pro and install it.
2. Add Your CoinMarketCap API Key
After installation, return to the Plugins tab.
Locate the plugin settings for WGD CoinMarketCap Pro.
Enter your CoinMarketCap Pro API key in the shared header (e.g., under the key X-CMC_PRO_API_KEY).
Save your changes.
You can get your API key by signing up at
https://pro.coinmarketcap.com.
3. Use the Available API Calls
The plugin includes several preconfigured API calls. Below are the key ones with their parameters:
a. Get Latest Listings
Endpoint: /v1/cryptocurrency/listings/latest
Parameters:
start: Starting index (e.g., 1)
limit: Number of cryptocurrencies to return (e.g., 100)
convert: Currency to convert into (e.g., USD)
b. Get Cryptocurrency Metadata
Provides project descriptions, logos, and launch info.
c. Price Conversion
Endpoint: /v1/tools/price-conversion
Parameters:
amount
symbol or id
convert (e.g., USD)
d. Fiat Map and Crypto Map
Lists supported fiat or crypto symbols.
e. FCAS Score (Fundamental Crypto Asset Score)
Evaluates the overall health of a crypto project.
4. Display Data in Bubble
You can use the plugin to populate repeating groups, display current prices, and trigger data workflows.
Example Use in a Repeating Group
Data source: Select one of the plugin API calls such as Get Latest Listings.
Fields you can use in cells:
Name
Symbol
Price in USD
Market Cap
Volume 24h
Example Use in Dynamic Text Elements
Use Get Metadata to show coin descriptions or logos.
Use Convert Price to show conversion between currencies.
5. Use in Workflows
Go to the Workflow tab in Bubble.
Use plugin actions like Price Conversion or Get Historical Data to run background processes or update app data.
You can save responses to your database for caching.