order_book
Pack: bitstamp · Endpoint: https://gateway.pipeworx.io/bitstamp/mcp
Bitstamp crypto exchange (European; oldest active crypto exchange — est. 2011) order book for a crypto pair like “btcusd”: bids + asks. Use for live depth-of-book on Bitstamp-listed pairs.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
currency_pair | string | yes | |
group | number | no |
Example call
Arguments
{
"currency_pair": "btcusd"
}
curl
curl -X POST https://gateway.pipeworx.io/bitstamp/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"order_book","arguments":{"currency_pair":"btcusd"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('order_book', {
"currency_pair": "btcusd"
});
More examples
{
"currency_pair": "ethusd",
"group": 2
}
Response shape
| Field | Type | Description |
|---|---|---|
bids | array | List of bid orders |
asks | array | List of ask orders |
timestamp | string | Unix timestamp |
Full JSON Schema
{
"type": "object",
"properties": {
"bids": {
"type": "array",
"description": "List of bid orders",
"items": {
"type": "array",
"items": {
"type": "string"
},
"description": "Bid order [price, amount]"
}
},
"asks": {
"type": "array",
"description": "List of ask orders",
"items": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ask order [price, amount]"
}
},
"timestamp": {
"type": "string",
"description": "Unix timestamp"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"bitstamp": {
"url": "https://gateway.pipeworx.io/bitstamp/mcp"
}
}
}
See Getting Started for client-specific install steps.