CoinMarketCap is a website that provides cryptocurrency market cap rankings, charts, and more.
Go to siteThe CoinMarketCap API delivers real-time and historical cryptocurrency market data, including price, volume, market cap, and much more, for over 9,000 cryptocurrencies. With this data, you can track crypto trends, compare currency performance, or integrate up-to-date information into apps, widgets, or websites. Pipedream's platform enables developers to create automated workflows that can harness the vast array of data from CoinMarketCap to trigger actions, notify stakeholders, or power analytics dashboards.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
coinmarketcap: {
type: "app",
app: "coinmarketcap",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.coinmarketcap.$auth.environment}-api.coinmarketcap.com/v1/key/info`,
headers: {
"X-CMC_PRO_API_KEY": `${this.coinmarketcap.$auth.api_key}`,
},
})
},
})
Crypto Market Alert System: Create a workflow that monitors the price of specific cryptocurrencies and sends alerts via email or SMS when the price drops or rises past certain thresholds. This can be connected to Twilio for SMS alerts or to email services like SendGrid.
Portfolio Value Tracker: Construct a workflow to calculate the total value of a cryptocurrency portfolio by fetching current prices and multiplying by the quantity of each asset held. This data can be sent periodically to a Google Sheet for tracking and historical comparison using Pipedream's Google Sheets integration.
Automated Trading Signals: Develop a system that analyzes the market data from CoinMarketCap, such as price changes and trading volumes, to generate trading signals. These signals can then be used to trigger trades on a connected trading platform or to notify a Discord channel using Pipedream's Discord app integration.
Returns all static metadata available for one or more cryptocurrencies. See the documentation
Returns a mapping of all cryptocurrencies to unique CoinMarketCap ids. See the documentation
Returns a paginated list of all active cryptocurrencies with latest market data. See the documentation
Returns the latest market quote for 1 or more cryptocurrencies. Use the ""convert"" option to return market values in multiple fiat and cryptocurrency conversions in the same call. At least one ""id"" or ""slug"" or ""symbol"" is required for this request. See the documentation
CoinMarketCap uses API keys for authentication. When you connect your CoinMarketCap account, Pipedream securely stores the keys so you can easily authenticate to CoinMarketCap APIs in both code and no-code steps.
Enter your CoinMarketCap API key. See the docs for more information.
Select your environment (Pro vs. Sandbox).