Finance chart
LiveVisualize supplied OHLCV candles.
Finance chart
Example outputCaller-supplied data
Example price series
Open 100 · High 103 · Low 98 · Close 101
Data table
| Time | Open | High | Low | Close | Volume |
|---|---|---|---|---|---|
| 100 | 103 | 98 | 101 | 1,050 | |
| 103 | 106 | 101 | 104 | 1,100 | |
| 102 | 105 | 100 | 103 | 1,150 | |
| 108 | 111 | 106 | 109 | 1,200 | |
| 105 | 108 | 103 | 106 | 1,250 | |
| 110 | 113 | 108 | 111 | 1,300 | |
| 109 | 112 | 107 | 110 | 1,350 |
{ "data": { "candles": [ { "time": "2026-01-01T00:00:00Z", "open": 100, "high": 103, "low": 98, "close": 101, "volume": 1050 }, { "time": "2026-01-02T00:00:00Z", "open": 103, "high": 106, "low": 101, "close": 104, "volume": 1100 }, { "time": "2026-01-03T00:00:00Z", "open": 102, "high": 105, "low": 100, "close": 103, "volume": 1150 }, { "time": "2026-01-04T00:00:00Z", "open": 108, "high": 111, "low": 106, "close": 109, "volume": 1200 }, { "time": "2026-01-05T00:00:00Z", "open": 105, "high": 108, "low": 103, "close": 106, "volume": 1250 }, { "time": "2026-01-06T00:00:00Z", "open": 110, "high": 113, "low": 108, "close": 111, "volume": 1300 }, { "time": "2026-01-07T00:00:00Z", "open": 109, "high": 112, "low": 107, "close": 110, "volume": 1350 } ], "type": "candlestick", "title": "Example price series" }, "meta": { "sources": [ "Caller-supplied data" ], "retrieved_at": "2026-11-11T01:39:41.977674+00:00", "example_output": true } }
How it works
- 01Choose your inputsEnter a symbol, series or ordered OHLCV candles.
- 02Inspect the resultSelect a chart record to highlight its exact JSON values.
Call Finance chart from your code
REST and MCP share inputs, results and validation errors.
https:/ / api.opennan.com/ v1/ finance/ chartsGet an API key
Create a key in the console. It uses the same balance as the playground.
Create a keySend your first request
The same request the playground sends. Set OPENNAN_KEY to your key.
curl 'https://api.opennan.com/v1/finance/charts' \ -H 'Authorization: Bearer <OPENNAN_API_KEY>' \ -H 'Content-Type: application/json' \ --data '{"type":"candlestick","title":"Example price series","candles":[{"time":"2026-01-01T00:00:00Z","open":100,"high":103,"low":98,"close":101,"volume":1050},{"time":"2026-01-02T00:00:00Z","open":103,"high":106,"low":101,"close":104,"volume":1100},{"time":"2026-01-03T00:00:00Z","open":102,"high":105,"low":100,"close":103,"volume":1150},{"time":"2026-01-04T00:00:00Z","open":108,"high":111,"low":106,"close":109,"volume":1200},{"time":"2026-01-05T00:00:00Z","open":105,"high":108,"low":103,"close":106,"volume":1250},{"time":"2026-01-06T00:00:00Z","open":110,"high":113,"low":108,"close":111,"volume":1300},{"time":"2026-01-07T00:00:00Z","open":109,"high":112,"low":107,"close":110,"volume":1350}]}'Read the result
The result comes back in the same response. The X-Usage-Cost-Usd header says what the call cost.
Errors and how to fix them
401Missing or wrong key
Send the header Authorization: Bearer with a key from the console.
402Balance too low
Add credit in Billing, then send the same call again.
400A value is not accepted
Read error.message: it names the field. Use a value from the parameter table.
429Too many requests
Wait a few seconds and try again, waiting longer after each 429.
https://api.opennan.com/v1/finance/mcpThis tool from your AI
Once Opennan is added, your AI calls this tool with arguments like these.
- Tool
- finance_chart
- Example arguments
{ "type": "candlestick", "title": "Example price series", "candles": [ { "time": "2026-01-01T00:00:00Z", "open": 100, "high": 103, "low": 98, "close": 101, "volume": 1050 }, { "time": "2026-01-02T00:00:00Z", "open": 103, "high": 106, "low": 101, "close": 104, "volume": 1100 }, { "time": "2026-01-03T00:00:00Z", "open": 102, "high": 105, "low": 100, "close": 103, "volume": 1150 }, { "time": "2026-01-04T00:00:00Z", "open": 108, "high": 111, "low": 106, "close": 109, "volume": 1200 }, { "time": "2026-01-05T00:00:00Z", "open": 105, "high": 108, "low": 103, "close": 106, "volume": 1250 }, { "time": "2026-01-06T00:00:00Z", "open": 110, "high": 113, "low": 108, "close": 111, "volume": 1300 }, { "time": "2026-01-07T00:00:00Z", "open": 109, "high": 112, "low": 107, "close": 110, "volume": 1350 } ] }
Finance chart: questions
Is it free?
Free with an OpenNan key. 30 finance requests per minute per account.
Where does the example come from?
Example output was recorded from the shipped endpoints. Run live to request current data. Crypto previews are labeled Sample data.
What are the limits?
Stock tools cover SEC issuers and USD US-GAAP facts. Missing values are null. Macro covers the recent three calendar years and reports coverage. Charts accept 2–5,000 candles. SMA needs period candles, RSI and return need period plus one. Period is 2–500. Dates use inclusive from and exclusive to.