Get market data
get_market_dataRecent market data the warehouse lags on: quotes, OHLCV, company profiles, FX, and commodities.
Set data_type to price_history for stocks, currency pairs, and commodities; the asset format determines which market is queried. Price history comes back as consecutive rows, newest first, in pages of up to 500 rows. Use search_company_filings for financial statements and reported facts.
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": {
"asset": "<asset>"
},
"name": "get_market_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Ticker, currency pair, commodity, or company-search text. Examples: "AAPL", "EUR/USD", "WTI", "Brent", "NVIDIA". | |
| limit | No | Total number of price rows to return, counted from the newest. Rows come in pages of up to 500. | |
| offset | No | Price history only: the row to start the page at, counted from the newest (0 = newest). When a result has next_offset, call again with the same limit and offset=next_offset. | |
| data_type | No | The market or profile data to return. | price_history |
| frequency | No | Price-history frequency. Defaults to daily. | daily |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||