CoinMarketCap ACTION
Get Latest Listings
Returns a paginated list of all active cryptocurrencies with latest market data. 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 Latest Listings 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-latest-listings",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
coinmarketcap: { authProvisionId: "apn_xxxxxxx" },
start: 10,
limit: 10,
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "coinmarketcap-latest-listings",
"configured_props": {
"coinmarketcap": { "authProvisionId": "apn_xxxxxxx" },
"start": 10,
"limit": 10
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "coinmarketcap",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "coinmarketcap-latest-listings",
arguments: {
start: 10,
limit: 10,
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
start Start | integer | Optionally offset the start (1-based index) of the paginated list of items to return. Optional |
limit Limit | integer | Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size. Optional |
volume24hMin Volume24hMin | integer | Optionally specify a threshold of minimum 24 hour USD volume to filter results by. Optional |
convert Convert | string | Optionally calculate market quotes in up to 120 currencies at once by passing a comma-separated list of cryptocurrency or fiat currency symbols. Each additional convert option beyond the first requires an additional call credit. A list of supported fiat options can be found at https://coinmarketcap.com/api/documentation/v1/#section/Standards-and-Conventions. Each conversion is returned in its own "quote" object. Optional |
convertId Convert ID | string | Optionally calculate market quotes by CoinMarketCap ID instead of symbol. This option is identical to convert outside of ID format. Ex: Convert ID = 1,2781 would replace Convert = BTC,USD in your query. This parameter cannot be used when Convert is used. Optional |
sort Sort | string | What field to sort the list of cryptocurrencies by. Optional |
sortDir SortDir | string | The direction in which to order cryptocurrencies against the specified sort. Optional |
cryptocurrencyType CryptocurrencyType | string | The type of cryptocurrency to include. 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-latest-listings
- Version
- 0.1.3
- App
- CoinMarketCap
- Authentication
- API key
- Read-only
- Yes
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗