Stock Candles
Get candlestick data (OHLCV) for stocks.
Daily data will be adjusted for Splits. Intraday data will remain unadjusted. Only 1 month of intraday will be returned at a time. If you need more historical intraday data, please use the from and to params iteratively to request more data.
Query parameters
Symbol.
Supported resolution includes <code>1, 5, 15, 30, 60, D, W, M </code>.Some timeframes might not be available depending on the exchange.
UNIX timestamp. Interval initial value.
UNIX timestamp. Interval end value.
Response
successful operation
Example response
{
"c": [
5.962134,
5.962134
],
"s": "s",
"t": [
2,
2
],
"v": [
5.637377,
5.637377
],
"h": [
6.0274563,
6.0274563
],
"l": [
1.4658129,
1.4658129
],
"o": [
0.8008282,
0.8008282
]
}Changes
Changed in 8 of the 35 revisions of this API.1527
- ●
deleted the
queryrequest parameteradjustedrequest-parameter-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
api tag
Defaultaddedapi-tag-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ●
deleted the
queryrequest parameterformatrequest-parameter-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the
queryrequest parameterfrombecame requiredrequest-parameter-became-required
- ▲
the
queryrequest parametertobecame requiredrequest-parameter-became-required
- ▲
- ▲
the
cresponse's property type/format changed fromnumber/floattoarray/for status200response-property-type-changed
- ▲
the
hresponse's property type/format changed fromnumber/floattoarray/for status200response-property-type-changed
- ▲
the
lresponse's property type/format changed fromnumber/floattoarray/for status200response-property-type-changed
- ▲
the
oresponse's property type/format changed fromnumber/floattoarray/for status200response-property-type-changed
- ▲
the
tresponse's property type/format changed frominteger/int64toarray/for status200response-property-type-changed
- ▲
the
vresponse's property type/format changed fromnumber/floattoarray/for status200response-property-type-changed
- ▲
- ▲
the
cresponse's property type/format changed fromarray/tonumber/floatfor status200response-property-type-changed
- ▲
the
hresponse's property type/format changed fromarray/tonumber/floatfor status200response-property-type-changed
- ▲
the
lresponse's property type/format changed fromarray/tonumber/floatfor status200response-property-type-changed
- ▲
the
oresponse's property type/format changed fromarray/tonumber/floatfor status200response-property-type-changed
- ▲
the
tresponse's property type/format changed fromarray/tointeger/int64for status200response-property-type-changed
- ▲
the
vresponse's property type/format changed fromarray/tonumber/floatfor status200response-property-type-changed
- ○
api tag
Defaultremovedapi-tag-removed
- ○
added the new optional
queryrequest parameteradjustednew-optional-request-parameter
- ○
added the new optional
queryrequest parameterformatnew-optional-request-parameter
- ○
the
queryrequest parameterfrombecame optionalrequest-parameter-became-optional
- ○
the
queryrequest parametertobecame optionalrequest-parameter-became-optional
This revision also has 146 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲