POST
/
depth
curl --request POST \
  --url https://gateway.finhub.cloud/crypto/depth \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "pair": "XBTUSD",
  "count": 100
}'
{
  "error": [],
  "result": {
    "XXBTZUSD": {
      "asks": [
        [
          "40730.10000",
          "6.032",
          1650347389
        ],
        [
          "40730.20000",
          "0.038",
          1650347376
        ],
        [
          "40731.40000",
          "0.216",
          1650347089
        ],
        [
          "40733.50000",
          "0.566",
          1650347369
        ],
        [
          "40734.70000",
          "2.006",
          1650347250
        ],
        [
          "40735.10000",
          "0.487",
          1650346893
        ],
        [
          "40736.30000",
          "0.002",
          1650347261
        ],
        [
          "40737.50000",
          "0.301",
          1650347381
        ],
        [
          "40737.60000",
          "0.587",
          1650347204
        ],
        [
          "40739.90000",
          "0.116",
          1650347386
        ],
        [
          "40740.00000",
          "0.146",
          1650347243
        ],
        [
          "40740.50000",
          "0.242",
          1650347150
        ],
        [
          "40740.60000",
          "0.300",
          1650347150
        ],
        [
          "40741.70000",
          "0.581",
          1650347267
        ],
        [
          "40742.10000",
          "6.140",
          1650347380
        ],
        [
          "40742.80000",
          "2.063",
          1650347285
        ],
        [
          "40742.90000",
          "0.081",
          1650347246
        ],
        [
          "40743.30000",
          "0.250",
          1650347268
        ],
        [
          "40743.50000",
          "0.565",
          1650347322
        ],
        [
          "40744.40000",
          "0.281",
          1650347338
        ],
        [
          "40744.50000",
          "0.037",
          1650347339
        ],
        [
          "40745.10000",
          "0.002",
          1650347044
        ],
        [
          "40745.30000",
          "0.100",
          1650347365
        ],
        [
          "40745.50000",
          "0.981",
          1650347356
        ],
        [
          "40746.60000",
          "6.139",
          1650347163
        ],
        [
          "40747.00000",
          "0.026",
          1650347341
        ],
        [
          "40747.10000",
          "0.257",
          1650347246
        ],
        [
          "40747.50000",
          "0.571",
          1650347384
        ],
        [
          "40747.60000",
          "0.736",
          1650347289
        ],
        [
          "40749.40000",
          "0.052",
          1650347341
        ],
        [
          "40750.30000",
          "0.161",
          1650347150
        ],
        [
          "40751.00000",
          "0.026",
          1650347287
        ],
        [
          "40752.50000",
          "0.100",
          1650347054
        ],
        [
          "40753.90000",
          "0.400",
          1650347247
        ],
        [
          "40754.40000",
          "0.083",
          1650346936
        ],
        [
          "40755.40000",
          "0.105",
          1650347150
        ],
        [
          "40756.40000",
          "0.981",
          1650347111
        ],
        [
          "40756.70000",
          "1.784",
          1650346892
        ],
        [
          "40757.30000",
          "4.912",
          1650347092
        ],
        [
          "40757.50000",
          "4.912",
          1650347052
        ],
        [
          "40757.80000",
          "0.341",
          1650347374
        ],
        [
          "40760.00000",
          "0.023",
          1650347176
        ],
        [
          "40760.70000",
          "0.016",
          1650347092
        ],
        [
          "40761.20000",
          "0.130",
          1650347371
        ],
        [
          "40762.30000",
          "0.085",
          1650347365
        ],
        [
          "40765.00000",
          "0.276",
          1650347374
        ],
        [
          "40767.80000",
          "0.011",
          1650346786
        ],
        [
          "40768.90000",
          "0.918",
          1650347050
        ],
        [
          "40772.00000",
          "0.081",
          1650347108
        ],
        [
          "40777.10000",
          "4.913",
          1650346610
        ],
        [
          "40777.60000",
          "0.507",
          1650347339
        ],
        [
          "40778.50000",
          "0.002",
          1650347196
        ],
        [
          "40779.90000",
          "0.111",
          1650347169
        ],
        [
          "40780.60000",
          "0.001",
          1650347216
        ],
        [
          "40780.90000",
          "0.810",
          1650347275
        ],
        [
          "40781.70000",
          "0.002",
          1650347265
        ],
        [
          "40781.90000",
          "0.070",
          1650347385
        ],
        [
          "40782.70000",
          "0.002",
          1650347171
        ],
        [
          "40783.20000",
          "0.001",
          1650347389
        ],
        [
          "40783.30000",
          "2.451",
          1650347174
        ],
        [
          "40785.70000",
          "2.108",
          1650347389
        ],
        [
          "40786.20000",
          "0.031",
          1650347305
        ],
        [
          "40790.00000",
          "0.645",
          1650346429
        ],
        [
          "40792.90000",
          "0.019",
          1650347321
        ],
        [
          "40793.00000",
          "4.911",
          1650347143
        ],
        [
          "40796.80000",
          "1.934",
          1650346390
        ],
        [
          "40797.90000",
          "6.141",
          1650346226
        ],
        [
          "40799.50000",
          "2.521",
          1650347034
        ],
        [
          "40799.90000",
          "0.011",
          1650346085
        ],
        [
          "40801.40000",
          "1.782",
          1650347047
        ],
        [
          "40802.00000",
          "6.140",
          1650345820
        ],
        [
          "40802.30000",
          "0.082",
          1650347250
        ],
        [
          "40803.90000",
          "0.060",
          1650347053
        ],
        [
          "40805.10000",
          "6.380",
          1650346956
        ],
        [
          "40808.20000",
          "0.961",
          1650346662
        ],
        [
          "40816.00000",
          "0.005",
          1650345918
        ],
        [
          "40823.70000",
          "0.046",
          1650347032
        ],
        [
          "40829.70000",
          "1.479",
          1650347105
        ],
        [
          "40829.90000",
          "0.011",
          1650346085
        ],
        [
          "40834.50000",
          "0.001",
          1650345826
        ],
        [
          "40839.20000",
          "1.954",
          1650347382
        ],
        [
          "40842.20000",
          "2.726",
          1650347208
        ],
        [
          "40846.50000",
          "6.253",
          1650347094
        ],
        [
          "40848.50000",
          "0.004",
          1650347330
        ],
        [
          "40850.10000",
          "2.402",
          1650347056
        ],
        [
          "40851.20000",
          "1.170",
          1650347343
        ],
        [
          "40854.30000",
          "6.142",
          1650347212
        ],
        [
          "40869.90000",
          "0.011",
          1650346085
        ],
        [
          "40870.20000",
          "0.061",
          1650347032
        ],
        [
          "40870.80000",
          "6.140",
          1650347033
        ],
        [
          "40873.00000",
          "0.002",
          1650345539
        ],
        [
          "40874.80000",
          "0.001",
          1650345875
        ],
        [
          "40876.90000",
          "0.299",
          1650344469
        ],
        [
          "40877.60000",
          "2.400",
          1650347042
        ],
        [
          "40883.50000",
          "6.949",
          1650345829
        ],
        [
          "40885.10000",
          "0.300",
          1650346975
        ],
        [
          "40890.80000",
          "2.723",
          1650347085
        ],
        [
          "40891.20000",
          "0.001",
          1650344442
        ],
        [
          "40899.70000",
          "0.500",
          1650346727
        ],
        [
          "40900.00000",
          "0.001",
          1650346939
        ]
      ],
      "bids": [
        [
          "40730.00000",
          "0.901",
          1650347390
        ],
        [
          "40729.70000",
          "0.002",
          1650347357
        ],
        [
          "40729.60000",
          "0.001",
          1650347357
        ],
        [
          "40721.70000",
          "0.010",
          1650347383
        ],
        [
          "40721.60000",
          "0.280",
          1650347379
        ],
        [
          "40721.20000",
          "0.607",
          1650347379
        ],
        [
          "40719.80000",
          "0.013",
          1650347369
        ],
        [
          "40719.00000",
          "0.552",
          1650347254
        ],
        [
          "40718.90000",
          "0.001",
          1650347300
        ],
        [
          "40718.20000",
          "3.684",
          1650347383
        ],
        [
          "40717.10000",
          "0.617",
          1650347236
        ],
        [
          "40716.10000",
          "0.101",
          1650347322
        ],
        [
          "40715.80000",
          "0.611",
          1650347251
        ],
        [
          "40714.30000",
          "0.672",
          1650347286
        ],
        [
          "40713.90000",
          "0.037",
          1650347234
        ],
        [
          "40713.00000",
          "0.581",
          1650347183
        ],
        [
          "40711.00000",
          "0.300",
          1650347266
        ],
        [
          "40710.80000",
          "0.002",
          1650347247
        ],
        [
          "40709.80000",
          "6.532",
          1650347362
        ],
        [
          "40709.60000",
          "0.612",
          1650347362
        ],
        [
          "40705.80000",
          "0.002",
          1650347032
        ],
        [
          "40704.90000",
          "0.100",
          1650347130
        ],
        [
          "40703.00000",
          "6.139",
          1650347271
        ],
        [
          "40702.60000",
          "0.981",
          1650347143
        ],
        [
          "40702.20000",
          "0.286",
          1650347361
        ],
        [
          "40702.10000",
          "0.250",
          1650347319
        ],
        [
          "40701.40000",
          "0.026",
          1650347366
        ],
        [
          "40701.10000",
          "0.457",
          1650347385
        ],
        [
          "40701.00000",
          "0.705",
          1650347382
        ],
        [
          "40700.70000",
          "0.233",
          1650347364
        ],
        [
          "40700.60000",
          "0.037",
          1650347149
        ],
        [
          "40699.60000",
          "0.052",
          1650347356
        ],
        [
          "40698.20000",
          "0.101",
          1650347158
        ],
        [
          "40697.10000",
          "0.129",
          1650347189
        ],
        [
          "40693.50000",
          "0.116",
          1650347389
        ],
        [
          "40692.60000",
          "0.020",
          1650347246
        ],
        [
          "40689.90000",
          "0.026",
          1650347345
        ],
        [
          "40689.20000",
          "0.246",
          1650347369
        ],
        [
          "40689.10000",
          "5.359",
          1650347382
        ],
        [
          "40689.00000",
          "0.081",
          1650347189
        ],
        [
          "40687.40000",
          "1.057",
          1650347380
        ],
        [
          "40685.00000",
          "3.274",
          1650347386
        ],
        [
          "40684.90000",
          "4.913",
          1650347144
        ],
        [
          "40684.30000",
          "0.040",
          1650346961
        ],
        [
          "40683.50000",
          "2.108",
          1650347385
        ],
        [
          "40682.60000",
          "0.257",
          1650347249
        ],
        [
          "40681.60000",
          "0.514",
          1650347215
        ],
        [
          "40680.70000",
          "0.981",
          1650347003
        ],
        [
          "40680.20000",
          "0.085",
          1650347371
        ],
        [
          "40678.20000",
          "0.052",
          1650347308
        ],
        [
          "40673.40000",
          "0.736",
          1650347037
        ],
        [
          "40672.70000",
          "1.788",
          1650347071
        ],
        [
          "40671.30000",
          "0.083",
          1650347079
        ],
        [
          "40670.10000",
          "0.024",
          1650346251
        ],
        [
          "40665.80000",
          "4.915",
          1650346984
        ],
        [
          "40663.70000",
          "0.084",
          1650347239
        ],
        [
          "40662.60000",
          "0.036",
          1650347092
        ],
        [
          "40653.90000",
          "4.912",
          1650347380
        ],
        [
          "40651.30000",
          "0.016",
          1650347367
        ],
        [
          "40651.20000",
          "6.141",
          1650347032
        ],
        [
          "40650.00000",
          "0.352",
          1650346954
        ],
        [
          "40648.40000",
          "0.507",
          1650347165
        ],
        [
          "40646.50000",
          "0.017",
          1650347158
        ],
        [
          "40640.30000",
          "0.076",
          1650346980
        ],
        [
          "40638.60000",
          "0.664",
          1650347130
        ],
        [
          "40638.50000",
          "0.810",
          1650346063
        ],
        [
          "40637.30000",
          "0.200",
          1650347311
        ],
        [
          "40633.40000",
          "0.054",
          1650347259
        ],
        [
          "40630.80000",
          "0.188",
          1650347218
        ],
        [
          "40627.70000",
          "0.005",
          1650344122
        ],
        [
          "40626.80000",
          "0.024",
          1650346143
        ],
        [
          "40626.40000",
          "0.083",
          1650347213
        ],
        [
          "40622.10000",
          "0.961",
          1650346662
        ],
        [
          "40620.80000",
          "2.000",
          1650347386
        ],
        [
          "40620.20000",
          "4.324",
          1650347138
        ],
        [
          "40618.80000",
          "6.145",
          1650346975
        ],
        [
          "40617.50000",
          "1.962",
          1650347064
        ],
        [
          "40610.10000",
          "11.455",
          1650347165
        ],
        [
          "40610.00000",
          "1.400",
          1650342950
        ],
        [
          "40606.90000",
          "13.203",
          1650346959
        ],
        [
          "40604.40000",
          "0.003",
          1650347334
        ],
        [
          "40604.10000",
          "2.462",
          1650346954
        ],
        [
          "40602.00000",
          "1.583",
          1650342084
        ],
        [
          "40600.00000",
          "5.100",
          1650347073
        ],
        [
          "40599.10000",
          "1.479",
          1650345901
        ],
        [
          "40597.30000",
          "1.700",
          1650347330
        ],
        [
          "40592.10000",
          "0.001",
          1650347179
        ],
        [
          "40588.70000",
          "2.743",
          1650347065
        ],
        [
          "40587.90000",
          "0.111",
          1650347057
        ],
        [
          "40587.60000",
          "0.002",
          1650346224
        ],
        [
          "40585.10000",
          "0.005",
          1650344855
        ],
        [
          "40584.90000",
          "6.137",
          1650346900
        ],
        [
          "40584.40000",
          "0.002",
          1650347225
        ],
        [
          "40582.70000",
          "6.145",
          1650347130
        ],
        [
          "40580.90000",
          "2.418",
          1650347042
        ],
        [
          "40580.00000",
          "7.889",
          1650346274
        ],
        [
          "40577.60000",
          "0.002",
          1650346264
        ],
        [
          "40576.60000",
          "0.001",
          1650345685
        ],
        [
          "40569.30000",
          "0.300",
          1650347108
        ],
        [
          "40566.80000",
          "0.024",
          1650346143
        ]
      ]
    }
  }
}

Authorizations

Authorization
string
headerrequired

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
payload
object

Response

200 - application/json

The response is of type any.