Price history of a pair as a PNG chart or as JSON points.
market_chartPrice history of a pair as a PNG chart or as JSON points. Use when: You want the recent price series of a pair, to plot it or to read highs, lows and change. Price: 0.001 RLUSD per call, or the equivalent in XRP, paid on the XRP Ledger with x402 (the first call returns the payment requirements).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pair": "<pair>"
},
"name": "market_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | ||
| period | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gaps | No | ||
| pair | Yes | ||
| stats | No | ||
| period | Yes | ||
| points | Yes | ||
| network | Yes | ||
| product | Yes | ||
| data_as_of | Yes | ||
| disclaimer | Yes | ||
| coverage_pct | No | ||
| source_ledger | No | ||
| price_convention | Yes |