Retrieve the candlestick charts of mark price from recent years.
- Provider
- OKX API V5
- Input summary
- {"name":"instId","type":"string","required":true,"description":"Instrument ID, e.g. BTC-USD-SWAP"}, {"name":"after","type":"string","required":false,"description":"Pagination of data to return records earlier than the requested ts"}, {"name":"before","type":"string","required":false,"description":"Pagination of data to return records newer than the requested ts. The latest data will be returned when using before individually"}, {"name":"bar","type":"string","required":false,"description":"Bar size, the default is 1m e.g. [1m/3m/5m/15m/30m/1H/2H/4H] UTC+8 opening price k-line: [6H/12H/1D/1W/1M] UTC+0 opening price k-line: [6Hutc/12Hutc/1Dutc/1Wutc/1Mutc]"}, {"name":"limit","type":"string","required":false,"description":"Number of results per request. The maximum is 100 ; The default is 100"}
- Output summary
- Not available
- Billing
- 1
- Freshness
- Not available
- Verification
- Not available