View as Markdown
CoinMarketCap icon

CoinMarketCap ACTION

Get ID Map (V1)

Returns a mapping of all cryptocurrencies to unique CoinMarketCap ids. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's CoinMarketCap account once, then configure and run Get ID Map (V1) from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "coinmarketcap-id-map",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    coinmarketcap: { authProvisionId: "apn_xxxxxxx" },
    listingStatus: "ListingStatus",
    start: 10,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Get ID Map (V1) inputs
Property Type Description
listingStatus ListingStatus string
Only active cryptocurrencies are returned by default. Pass inactive to get a list of cryptocurrencies that are no longer active. Pass untracked to get a list of cryptocurrencies that are listed but do not yet meet methodology requirements to have tracked markets available. You may pass one or more comma-separated values.
Optional
start Start integer
Optionally offset the start (1-based index) of the paginated list of items to return.
Optional
limit Limit string
Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size.
Optional
sort Sort string
What field to sort the list of cryptocurrencies by.
Optional
symbol Symbol string
Optionally pass a comma-separated list of cryptocurrency symbols to return CoinMarketCap IDs for. If this option is passed, other options will be ignored.
Optional
aux Supplemental Fields string[]
Optionally specify supplemental data fields to return.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
coinmarketcap-id-map
Version
0.1.3
App
CoinMarketCap
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes