Previous close
get_last_closePrevious close price of any forex pair, cryptocurrency, US stock or commodity, e.g. AAPL, BTCUSD, EURUSD, XAUUSD. Stocks: official session close; crypto, forex and commodities: price at 00:00 UTC. 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_close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | Yes | Market venue for previous close. DEX has no previous-close product; commodities does (unlike the live trade/quote venues). | |
| symbol | Yes | Symbol, normalized to the venue's canonical form. |