product_ticker
Pack: coinbase-exchange · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/product_ticker for the schema, then POST the same URL with its arguments for the data.
Coinbase Exchange (US-regulated crypto venue) — best bid/ask, last trade price, and volume for a crypto pair. Use for current pricing on a Coinbase-listed pair.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string | yes |
Example call
Arguments
{
"product_id": "BTC-USD"
}
curl
curl -X POST https://gateway.pipeworx.io/coinbase-exchange/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"product_ticker","arguments":{"product_id":"BTC-USD"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('product_ticker', {
"product_id": "BTC-USD"
});
Response shape
| Field | Type | Description |
|---|---|---|
trade_id | integer | Trade ID |
price | string | Last trade price |
size | string | Last trade size |
time | string | Trade time |
bid | string | Best bid price |
ask | string | Best ask price |
volume | string | 24h trading volume |
Full JSON Schema
{
"type": "object",
"properties": {
"trade_id": {
"type": "integer",
"description": "Trade ID"
},
"price": {
"type": "string",
"description": "Last trade price"
},
"size": {
"type": "string",
"description": "Last trade size"
},
"time": {
"type": "string",
"description": "Trade time"
},
"bid": {
"type": "string",
"description": "Best bid price"
},
"ask": {
"type": "string",
"description": "Best ask price"
},
"volume": {
"type": "string",
"description": "24h trading volume"
}
},
"description": "Best bid/ask and last trade"
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the coinbase-exchange pack
{
"mcpServers": {
"coinbase-exchange": {
"url": "https://gateway.pipeworx.io/coinbase-exchange/mcp"
}
}
}
See Getting Started for client-specific install steps.