get_crypto_market
Pack: crypto · Endpoint: https://gateway.pipeworx.io/crypto/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/get_crypto_market for the schema, then POST the same URL with its arguments for the data.
Get top cryptocurrencies ranked by market cap. Returns rank, name, symbol, USD price, market cap, 24h volume, and 24h % change for each.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
limit | number | no | Number of coins to return (1-100, default 10) |
Example call
Arguments
{
"limit": 10
}
curl
curl -X POST https://gateway.pipeworx.io/crypto/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_crypto_market","arguments":{"limit":10}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_crypto_market', {
"limit": 10
});
More examples
{
"limit": 50
}
Response shape
Always returns: currency, coins
| Field | Type | Description |
|---|---|---|
currency | string | |
_fallback | boolean | True when served from the fallback upstream |
_note | string | Why the fallback was used |
coins | array |
Full JSON Schema
{
"type": "object",
"description": "Top coins by market cap. TWO PATHS, like get_crypto_price: on the coinpaprika path every figure is populated; when coinpaprika is unavailable (it returns HTTP 402 once its quota is spent) the pack falls back to a coinbase listing that carries names and symbols but NOT the market figures, so price/market_cap arrive null and _fallback is true. The numeric fields are nullable for that reason — a null here means \"this upstream did not supply it\", not zero.",
"properties": {
"currency": {
"type": "string"
},
"_fallback": {
"type": "boolean",
"description": "True when served from the fallback upstream"
},
"_note": {
"type": "string",
"description": "Why the fallback was used"
},
"coins": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rank": {
"type": [
"number",
"null"
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"symbol": {
"type": "string"
},
"price": {
"type": [
"number",
"null"
]
},
"market_cap": {
"type": [
"number",
"null"
]
},
"volume_24h": {
"type": [
"number",
"null"
]
},
"change_24h_pct": {
"type": [
"number",
"null"
]
}
},
"required": [
"id",
"name",
"symbol"
]
}
}
},
"required": [
"currency",
"coins"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"crypto": {
"url": "https://gateway.pipeworx.io/crypto/mcp"
}
}
}
See Getting Started for client-specific install steps.