History

MarketSnapshot ChronosAPI

get

Request for cached markets history bars. Max age is 1h.

Query parameters
marketIDsstring[]Required

Specify multiple marketIDs to search.

Example: ["0xfbc729e93b05b4c48916c1433c9f9c2ddb24605a73483303ea0f87a8886b52af","0x9b9980167ecc3645ff1a5517886652d94a0825e54a77d2057cbbe3ebee015963"]
resolutionstring · enumOptional

Symbols resolution(minutes). Default is 1

Default: 1Example: 15Possible values:
countbackinteger · min: 1 · max: 1440Optional

Number of bars returned, starting from the recent ones.

Default: 1440Example: 485
Responses
200
OK response.
application/json
get
GET /api/chronos/v1/market/history HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
[
  {
    "c": [
      3662.25,
      3663.13,
      3664.01
    ],
    "h": [
      3667.24,
      3664.47,
      3664.3
    ],
    "l": [
      3661.55,
      3661.9,
      3662.43
    ],
    "marketID": "0xfbc729e93b05b4c48916c1433c9f9c2ddb24605a73483303ea0f87a8886b52af",
    "o": [
      3667,
      3662.25,
      3664.29
    ],
    "resolution": "15",
    "t": [
      1547942400,
      1547942460,
      1547942520
    ],
    "v": [
      34.7336,
      2.4413,
      11.7075
    ]
  },
  {
    "c": [
      3662.25,
      3663.13,
      3664.01
    ],
    "h": [
      3667.24,
      3664.47,
      3664.3
    ],
    "l": [
      3661.55,
      3661.9,
      3662.43
    ],
    "marketID": "0xfbc729e93b05b4c48916c1433c9f9c2ddb24605a73483303ea0f87a8886b52af",
    "o": [
      3667,
      3662.25,
      3664.29
    ],
    "resolution": "15",
    "t": [
      1547942400,
      1547942460,
      1547942520
    ],
    "v": [
      34.7336,
      2.4413,
      11.7075
    ]
  },
  {
    "c": [
      3662.25,
      3663.13,
      3664.01
    ],
    "h": [
      3667.24,
      3664.47,
      3664.3
    ],
    "l": [
      3661.55,
      3661.9,
      3662.43
    ],
    "marketID": "0xfbc729e93b05b4c48916c1433c9f9c2ddb24605a73483303ea0f87a8886b52af",
    "o": [
      3667,
      3662.25,
      3664.29
    ],
    "resolution": "15",
    "t": [
      1547942400,
      1547942460,
      1547942520
    ],
    "v": [
      34.7336,
      2.4413,
      11.7075
    ]
  },
  {
    "c": [
      3662.25,
      3663.13,
      3664.01
    ],
    "h": [
      3667.24,
      3664.47,
      3664.3
    ],
    "l": [
      3661.55,
      3661.9,
      3662.43
    ],
    "marketID": "0xfbc729e93b05b4c48916c1433c9f9c2ddb24605a73483303ea0f87a8886b52af",
    "o": [
      3667,
      3662.25,
      3664.29
    ],
    "resolution": "15",
    "t": [
      1547942400,
      1547942460,
      1547942520
    ],
    "v": [
      34.7336,
      2.4413,
      11.7075
    ]
  }
]