End-of-day bar
get_last_eodLast completed daily OHLCV bar (open, high, low, close, volume) for any forex pair, cryptocurrency, US stock or commodity, e.g. XAUUSD gold, AAPL, BTCUSD, EURUSD. On weekends and holidays it returns the last traded session. Costs $0.005 USDC per call, paid with x402 on Base; failed calls are not charged.
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": {
"venue": "<venue>",
"symbol": "<symbol>"
},
"name": "get_last_eod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | Yes | Market venue for end-of-day. Same coverage as previous close (stocks, crypto, forex, commodities); DEX has no EOD product. | |
| symbol | Yes | Symbol, normalized to the venue's canonical form. |