Price History
price_historyGet OHLCV price history for a ticker — open/high/low/close/volume bars over a window, for charting, backtesting, and technical analysis.
PAID: $0.01 USDC per query after a daily free allowance. On a 402, pay the returned Solana memo and re-call with the SAME args plus payment_tx=. An Authorization: Bearer fnet_ key bypasses payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max (default "6mo"). | 6mo |
| ticker | Yes | stock symbol, e.g. "AAPL". | |
| agent_id | No | stable id for your agent (scopes the free-tier counter). | |
| interval | No | 1m,5m,15m,1h,1d,1wk,1mo (default "1d"). | 1d |
| payment_tx | No | Solana tx signature, when re-calling after a 402. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||