Finance
Finance price history API
Call the Finance price history API to get symbol, currency, timezone, interval, candles and dividends, as JSON or markdown. 1 credit.
POST
Get a stock's price history
- Endpoint:
finance.history - Returns:
datahashistory. - Cost: 1 credit. Failed calls cost nothing.
- Paging: No.
Example
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Pattern:
^[\w.^=-]{1,20}$Available options:
day, fiveDays, month, threeMonths, sixMonths, year, twoYears, fiveYears, tenYears, yearToDate, all Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$Available options:
minute, twoMinutes, fiveMinutes, fifteenMinutes, thirtyMinutes, hour, ninetyMinutes, day, fiveDays, week, month, threeMonths