CoinMarketCap is a website that provides cryptocurrency market cap rankings, charts, and more.
Returns all static metadata available for one or more cryptocurrencies. See the documentation
Add or update a single record in your Pipedream Data Store.
Returns a mapping of all cryptocurrencies to unique CoinMarketCap ids. See the documentation
Add or update multiple records to your Pipedream Data Store.
Returns a paginated list of all active cryptocurrencies with latest market data. See the documentation
With the CoinMarketCap API, you can:
Here are some examples of what you can build with the CoinMarketCap API:
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}`,
},
})
},
})
With the Data Stores API, you can build applications that:
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})