Get K-Line Step

Get all k-line steps supported by the platform, expressed in minutes, minimum 1 minute. (Authentication type:NONE, See Interface Permission)

Request Format

GET https://api-cloud.bitmart.com/spot/v1/steps

Request Limit

See Detailed Rate Limit

Request Parameter

None

Request example

curl https://api-cloud.bitmart.com/spot/v1/steps?symbol=BMX_ETH

Response Data

Field Type Description
steps List List of K-Line steps in minutes

Instruction

List of K-Line steps in minutes.

For example: [1,5] means that this trading pair has 2 steps, which are 1 minute K-line and 5 minute K-line.

Example of returned data format

{
  "code": 1000,
  "trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1",
  "message": "OK",
  "data": {
    "steps": [1, 3, 5, 15, 30, 45, 60, 120, 180, 240, 1440, 10080, 43200]
  }
}

results matching ""

    No results matching ""