4.4 Company Historical Klines

GET /crypto-stocks/{stock_ticker}/klines

Path Parameters

Parameter
Type
Required
Description

ticker

string

Yes

Stock ticker

Query Parameters

Parameter
Type
Required
Description

interval

string

Yes

Time interval. Only 1d is supported

start_time

long

No

Start time, millisecond timestamp

end_time

long

No

End time, millisecond timestamp

limit

integer

No

Default 100, max 500

Response Example

[
    {
        "timestamp": 1710000000000,
        "open": 123,
        "high": 130,
        "low": 120,
        "close": 125,
        "volume": 140000
    }
]

Response Fields

Field
Type
Description

timestamp

Long

Timestamp (milliseconds)

open

Number

Open price

high

Number

High price

low

Number

Low price

close

Number

Close price

volume

Number

Trading volume

Notes

  • Only daily (1d) klines are available.

  • The query range is limited to the most recent 3 months.

Last updated