ledjayrafael

NyXAPIs/Order/Get All/Example Response/Body

May 26th, 2022 (edited)
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "status": true,
  3.   "message": "Order fetched successfully!",
  4.   "data": [
  5.     {
  6.       "_id": "62434a25d063929272291d03",
  7.       "filled": false,
  8.       "sl": "0",
  9.       "tp": "0",
  10.       "type": "market",
  11.       "quantity": "1",
  12.       "price": "47491.520",
  13.       "side": "buy",
  14.       "pair": "btcusd",
  15.       "user_id": "62330cef6028c7074279582c",
  16.       "createdAt": "2022-03-29T18:04:21.238Z",
  17.       "updatedAt": "2022-03-29T18:04:21.238Z",
  18.       "__v": 0
  19.     },
  20.     {
  21.       "_id": "62434c60d063929272291d6a",
  22.       "filled": false,
  23.       "sl": "0",
  24.       "tp": "0",
  25.       "type": "market",
  26.       "quantity": "1",
  27.       "price": "47517.470",
  28.       "side": "sell",
  29.       "pair": "btcusd",
  30.       "user_id": "62330cef6028c7074279582c",
  31.       "createdAt": "2022-03-29T18:13:52.965Z",
  32.       "updatedAt": "2022-03-29T18:13:52.965Z",
  33.       "__v": 0
  34.     },
  35.     {
  36.       "_id": "62435392e94700a3c54374bb",
  37.       "filled": true,
  38.       "sl": "0",
  39.       "tp": "0",
  40.       "type": "limit",
  41.       "quantity": "1",
  42.       "price": "100",
  43.       "side": "buy",
  44.       "pair": "btcusd",
  45.       "user_id": "62330cef6028c7074279582c",
  46.       "createdAt": "2022-03-29T18:44:34.233Z",
  47.       "updatedAt": "2022-05-06T21:55:51.710Z",
  48.       "__v": 0,
  49.       "status": "cancelled"
  50.     },
  51.     {
  52.       "_id": "62435432e94700a3c54374ce",
  53.       "filled": true,
  54.       "sl": "0",
  55.       "tp": "0",
  56.       "type": "limit",
  57.       "quantity": "2",
  58.       "price": "3",
  59.       "side": "sell",
  60.       "pair": "btcusd",
  61.       "user_id": "62330cef6028c7074279582c",
  62.       "createdAt": "2022-03-29T18:47:14.563Z",
  63.       "updatedAt": "2022-05-06T21:55:46.859Z",
  64.       "__v": 0,
  65.       "status": "cancelled"
  66.     },
  67.     {
  68.       "_id": "6277f76139e270094687682f",
  69.       "filled": true,
  70.       "status": "filled",
  71.       "sl": "0",
  72.       "tp": "0",
  73.       "fee": "0.2",
  74.       "amount": "0",
  75.       "pair": "btc/usdt",
  76.       "type": "instant",
  77.       "side": "sell",
  78.       "price": "34285.00000000",
  79.       "quantity": "0",
  80.       "user_id": "62330cef6028c7074279582c",
  81.       "coin": "bitcoin",
  82.       "createdAt": "2022-05-08T17:01:21.781Z",
  83.       "updatedAt": "2022-05-08T17:01:21.781Z",
  84.       "__v": 0
  85.     },
  86.     {
  87.       "_id": "6277f76139e2700946876831",
  88.       "filled": true,
  89.       "status": "filled",
  90.       "sl": "0",
  91.       "tp": "0",
  92.       "fee": "0.2",
  93.       "amount": "0",
  94.       "pair": "eth/usdt",
  95.       "type": "instant",
  96.       "side": "buy",
  97.       "price": "2504.85000000",
  98.       "quantity": "0",
  99.       "user_id": "62330cef6028c7074279582c",
  100.       "coin": "ethereum",
  101.       "createdAt": "2022-05-08T17:01:21.790Z",
  102.       "updatedAt": "2022-05-08T17:01:21.790Z",
  103.       "__v": 0
  104.     },
  105.     {
  106.       "_id": "627f54c082e9531b602d84b6",
  107.       "filled": true,
  108.       "status": "filled",
  109.       "sl": "0",
  110.       "tp": "0",
  111.       "fee": "0.2",
  112.       "amount": "29.50243",
  113.       "pair": "btc/usdt",
  114.       "type": "market",
  115.       "side": "buy",
  116.       "price": "29502.43000000",
  117.       "quantity": "0.001",
  118.       "user_id": "62330cef6028c7074279582c",
  119.       "coin": "bitcoin",
  120.       "createdAt": "2022-05-14T07:05:36.466Z",
  121.       "updatedAt": "2022-05-14T07:05:36.466Z",
  122.       "__v": 0
  123.     },
  124.     {
  125.       "_id": "627f54c082e9531b602d84bb",
  126.       "filled": true,
  127.       "status": "active",
  128.       "sl": "0",
  129.       "tp": "0",
  130.       "fee": "0",
  131.       "amount": "0",
  132.       "type": "market",
  133.       "quantity": "0.001",
  134.       "price": "29504.980",
  135.       "side": "buy",
  136.       "pair": "btcusdt",
  137.       "coin": "bitcoin",
  138.       "user_id": "62330cef6028c7074279582c",
  139.       "createdAt": "2022-05-14T07:05:36.472Z",
  140.       "updatedAt": "2022-05-14T07:05:36.472Z",
  141.       "__v": 0
  142.     },
  143.     {
  144.       "_id": "627f570182e9531b602d85b0",
  145.       "filled": true,
  146.       "status": "filled",
  147.       "sl": "0",
  148.       "tp": "0",
  149.       "fee": "0.2",
  150.       "amount": "29.50608",
  151.       "pair": "btc/usdt",
  152.       "type": "market",
  153.       "side": "buy",
  154.       "price": "29506.08000000",
  155.       "quantity": "0.001",
  156.       "user_id": "62330cef6028c7074279582c",
  157.       "coin": "bitcoin",
  158.       "createdAt": "2022-05-14T07:15:13.777Z",
  159.       "updatedAt": "2022-05-14T07:15:13.777Z",
  160.       "__v": 0
  161.     },
  162.     {
  163.       "_id": "627f570182e9531b602d85b5",
  164.       "filled": true,
  165.       "status": "active",
  166.       "sl": "0",
  167.       "tp": "0",
  168.       "fee": "0",
  169.       "amount": "0",
  170.       "type": "market",
  171.       "quantity": "0.001",
  172.       "price": "29506.090",
  173.       "side": "buy",
  174.       "pair": "btcusdt",
  175.       "coin": "bitcoin",
  176.       "user_id": "62330cef6028c7074279582c",
  177.       "createdAt": "2022-05-14T07:15:13.783Z",
  178.       "updatedAt": "2022-05-14T07:15:13.783Z",
  179.       "__v": 0
  180.     },
  181.     {
  182.       "_id": "627f80e65222ea725d9cd4fd",
  183.       "filled": true,
  184.       "status": "filled",
  185.       "sl": "0",
  186.       "tp": "0",
  187.       "fee": "0.2",
  188.       "amount": "29.40553",
  189.       "pair": "btc/usdt",
  190.       "type": "market",
  191.       "side": "buy",
  192.       "price": "29405.53000000",
  193.       "quantity": "0.001",
  194.       "user_id": "62330cef6028c7074279582c",
  195.       "coin": "bitcoin",
  196.       "createdAt": "2022-05-14T10:13:58.809Z",
  197.       "updatedAt": "2022-05-14T10:13:58.809Z",
  198.       "__v": 0
  199.     },
  200.     {
  201.       "_id": "627f80e65222ea725d9cd502",
  202.       "filled": true,
  203.       "status": "active",
  204.       "sl": "0",
  205.       "tp": "0",
  206.       "fee": "0",
  207.       "amount": "0",
  208.       "type": "market",
  209.       "quantity": "0.001",
  210.       "price": "29410.010",
  211.       "side": "buy",
  212.       "pair": "btcusdt",
  213.       "coin": "bitcoin",
  214.       "user_id": "62330cef6028c7074279582c",
  215.       "createdAt": "2022-05-14T10:13:58.819Z",
  216.       "updatedAt": "2022-05-14T10:13:58.819Z",
  217.       "__v": 0
  218.     },
  219.     {
  220.       "_id": "627fd45f21ce457e37c195d3",
  221.       "filled": true,
  222.       "status": "filled",
  223.       "sl": "0",
  224.       "tp": "0",
  225.       "fee": "0.2",
  226.       "amount": "80",
  227.       "pair": "rorap/usdt",
  228.       "type": "market",
  229.       "side": "buy",
  230.       "price": "800",
  231.       "quantity": "0.1",
  232.       "user_id": "62330cef6028c7074279582c",
  233.       "coin": "rorap",
  234.       "createdAt": "2022-05-14T16:10:07.959Z",
  235.       "updatedAt": "2022-05-14T16:10:07.959Z",
  236.       "__v": 0
  237.     },
  238.     {
  239.       "_id": "627fd45f21ce457e37c195d8",
  240.       "filled": true,
  241.       "status": "active",
  242.       "sl": "0",
  243.       "tp": "0",
  244.       "fee": "0",
  245.       "amount": "0",
  246.       "type": "market",
  247.       "quantity": "0.1",
  248.       "price": "800.000",
  249.       "side": "buy",
  250.       "pair": "rorapusdt",
  251.       "coin": "rorap",
  252.       "user_id": "62330cef6028c7074279582c",
  253.       "createdAt": "2022-05-14T16:10:07.967Z",
  254.       "updatedAt": "2022-05-14T16:10:07.967Z",
  255.       "__v": 0
  256.     },
  257.     {
  258.       "_id": "628038a726ab578f449773e6",
  259.       "filled": true,
  260.       "status": "filled",
  261.       "sl": "0",
  262.       "tp": "0",
  263.       "fee": "0.2",
  264.       "amount": "8",
  265.       "pair": "rorap/usdt",
  266.       "type": "market",
  267.       "side": "buy",
  268.       "price": "800",
  269.       "quantity": "0.01",
  270.       "user_id": "62330cef6028c7074279582c",
  271.       "coin": "rorap",
  272.       "createdAt": "2022-05-14T23:17:59.170Z",
  273.       "updatedAt": "2022-05-14T23:17:59.170Z",
  274.       "__v": 0
  275.     },
  276.     {
  277.       "_id": "628038a726ab578f449773eb",
  278.       "filled": true,
  279.       "status": "active",
  280.       "sl": "0",
  281.       "tp": "0",
  282.       "fee": "0",
  283.       "amount": "0",
  284.       "type": "market",
  285.       "quantity": "0.01",
  286.       "price": "802.000",
  287.       "side": "buy",
  288.       "pair": "rorapusdt",
  289.       "coin": "rorap",
  290.       "user_id": "62330cef6028c7074279582c",
  291.       "createdAt": "2022-05-14T23:17:59.187Z",
  292.       "updatedAt": "2022-05-14T23:17:59.187Z",
  293.       "__v": 0
  294.     },
  295.     {
  296.       "_id": "628039e326ab578f449774b9",
  297.       "filled": true,
  298.       "status": "filled",
  299.       "sl": "0",
  300.       "tp": "0",
  301.       "fee": "0.2",
  302.       "amount": "8",
  303.       "pair": "rorap/usdt",
  304.       "type": "market",
  305.       "side": "sell",
  306.       "price": "800",
  307.       "quantity": "0.01",
  308.       "user_id": "62330cef6028c7074279582c",
  309.       "coin": "rorap",
  310.       "createdAt": "2022-05-14T23:23:15.419Z",
  311.       "updatedAt": "2022-05-14T23:23:15.419Z",
  312.       "__v": 0
  313.     },
  314.     {
  315.       "_id": "628039e326ab578f449774bc",
  316.       "filled": true,
  317.       "status": "active",
  318.       "sl": "0",
  319.       "tp": "0",
  320.       "fee": "0",
  321.       "amount": "0",
  322.       "type": "market",
  323.       "quantity": "0.01",
  324.       "price": "802.000",
  325.       "side": "sell",
  326.       "pair": "rorapusdt",
  327.       "coin": "rorap",
  328.       "user_id": "62330cef6028c7074279582c",
  329.       "createdAt": "2022-05-14T23:23:15.424Z",
  330.       "updatedAt": "2022-05-14T23:23:15.424Z",
  331.       "__v": 0
  332.     },
  333.     {
  334.       "_id": "6280408526ab578f44977a11",
  335.       "filled": true,
  336.       "status": "cancelled",
  337.       "sl": "0",
  338.       "tp": "0",
  339.       "fee": "0",
  340.       "amount": "0",
  341.       "type": "limit",
  342.       "quantity": "10",
  343.       "price": "200",
  344.       "side": "sell",
  345.       "pair": "rorapusdt",
  346.       "coin": "rorap",
  347.       "user_id": "62330cef6028c7074279582c",
  348.       "createdAt": "2022-05-14T23:51:33.372Z",
  349.       "updatedAt": "2022-05-14T23:52:00.016Z",
  350.       "__v": 0
  351.     },
  352.     {
  353.       "_id": "6280c0477b2aabac3c89d697",
  354.       "filled": true,
  355.       "status": "filled",
  356.       "sl": "0",
  357.       "tp": "0",
  358.       "fee": "0.2",
  359.       "amount": "80.2",
  360.       "pair": "rorap/usdt",
  361.       "type": "instant",
  362.       "side": "sell",
  363.       "price": "802",
  364.       "quantity": "0.1",
  365.       "user_id": "62330cef6028c7074279582c",
  366.       "coin": "rorap",
  367.       "createdAt": "2022-05-15T08:56:39.018Z",
  368.       "updatedAt": "2022-05-15T08:56:39.018Z",
  369.       "__v": 0
  370.     },
  371.     {
  372.       "_id": "6280c0477b2aabac3c89d699",
  373.       "filled": true,
  374.       "status": "filled",
  375.       "sl": "0",
  376.       "tp": "0",
  377.       "fee": "0.2",
  378.       "amount": "80.2",
  379.       "pair": "btc/usdt",
  380.       "type": "instant",
  381.       "side": "buy",
  382.       "price": "29601.85000000",
  383.       "quantity": "0.002709290128826408",
  384.       "user_id": "62330cef6028c7074279582c",
  385.       "coin": "bitcoin",
  386.       "createdAt": "2022-05-15T08:56:39.043Z",
  387.       "updatedAt": "2022-05-15T08:56:39.043Z",
  388.       "__v": 0
  389.     },
  390.     {
  391.       "_id": "6281252c275ce9bc4afae3a9",
  392.       "filled": true,
  393.       "status": "filled",
  394.       "sl": "0",
  395.       "tp": "0",
  396.       "fee": "0.2",
  397.       "amount": "8.02",
  398.       "pair": "rorap/usdt",
  399.       "type": "instant",
  400.       "side": "sell",
  401.       "price": "802",
  402.       "quantity": "0.01",
  403.       "user_id": "62330cef6028c7074279582c",
  404.       "coin": "rorap",
  405.       "createdAt": "2022-05-15T16:07:08.541Z",
  406.       "updatedAt": "2022-05-15T16:07:08.541Z",
  407.       "__v": 0
  408.     },
  409.     {
  410.       "_id": "6281252c275ce9bc4afae3ab",
  411.       "filled": true,
  412.       "status": "filled",
  413.       "sl": "0",
  414.       "tp": "0",
  415.       "fee": "0.2",
  416.       "amount": "8.02",
  417.       "pair": "btc/usdt",
  418.       "type": "instant",
  419.       "side": "buy",
  420.       "price": "30057.57000000",
  421.       "quantity": "0.000266821303252392",
  422.       "user_id": "62330cef6028c7074279582c",
  423.       "coin": "bitcoin",
  424.       "createdAt": "2022-05-15T16:07:08.545Z",
  425.       "updatedAt": "2022-05-15T16:07:08.545Z",
  426.       "__v": 0
  427.     },
  428.     {
  429.       "_id": "62813880275ce9bc4afafaa1",
  430.       "filled": true,
  431.       "status": "filled",
  432.       "sl": "0",
  433.       "tp": "0",
  434.       "fee": "0.2",
  435.       "amount": "30.220029999999998",
  436.       "pair": "btc/usdt",
  437.       "type": "market",
  438.       "side": "buy",
  439.       "price": "30220.03000000",
  440.       "quantity": "0.001",
  441.       "user_id": "62330cef6028c7074279582c",
  442.       "coin": "bitcoin",
  443.       "createdAt": "2022-05-15T17:29:36.451Z",
  444.       "updatedAt": "2022-05-15T17:29:36.451Z",
  445.       "__v": 0
  446.     },
  447.     {
  448.       "_id": "62813880275ce9bc4afafaad",
  449.       "filled": true,
  450.       "status": "active",
  451.       "sl": "0",
  452.       "tp": "0",
  453.       "fee": "0",
  454.       "amount": "0",
  455.       "type": "market",
  456.       "quantity": "0.001",
  457.       "price": "30223.790",
  458.       "side": "buy",
  459.       "pair": "btcusdt",
  460.       "coin": "bitcoin",
  461.       "user_id": "62330cef6028c7074279582c",
  462.       "createdAt": "2022-05-15T17:29:36.492Z",
  463.       "updatedAt": "2022-05-15T17:29:36.492Z",
  464.       "__v": 0
  465.     },
  466.     {
  467.       "_id": "6284b4b8b69dac6fb82fa640",
  468.       "filled": true,
  469.       "status": "filled",
  470.       "sl": "0",
  471.       "tp": "0",
  472.       "fee": "0.2",
  473.       "amount": "8000",
  474.       "pair": "rorap/usdt",
  475.       "type": "instant",
  476.       "side": "sell",
  477.       "price": "800",
  478.       "quantity": "10",
  479.       "user_id": "62330cef6028c7074279582c",
  480.       "coin": "rorap",
  481.       "createdAt": "2022-05-18T08:56:24.032Z",
  482.       "updatedAt": "2022-05-18T08:56:24.032Z",
  483.       "__v": 0
  484.     },
  485.     {
  486.       "_id": "6284bd2d87f2c29dace2e22d",
  487.       "filled": true,
  488.       "status": "filled",
  489.       "sl": "0",
  490.       "tp": "0",
  491.       "fee": "0.2",
  492.       "amount": "0.8",
  493.       "pair": "rorap/usdt",
  494.       "type": "instant",
  495.       "side": "sell",
  496.       "price": "800",
  497.       "quantity": "0.001",
  498.       "user_id": "62330cef6028c7074279582c",
  499.       "coin": "rorap",
  500.       "createdAt": "2022-05-18T09:32:29.304Z",
  501.       "updatedAt": "2022-05-18T09:32:29.304Z",
  502.       "__v": 0
  503.     },
  504.     {
  505.       "_id": "6284bd2d87f2c29dace2e22f",
  506.       "filled": true,
  507.       "status": "filled",
  508.       "sl": "0",
  509.       "tp": "0",
  510.       "fee": "0.2",
  511.       "amount": "0.8",
  512.       "pair": "btc/usdt",
  513.       "type": "instant",
  514.       "side": "buy",
  515.       "price": "29852.45000000",
  516.       "quantity": "0.000026798470477297508",
  517.       "user_id": "62330cef6028c7074279582c",
  518.       "coin": "bitcoin",
  519.       "createdAt": "2022-05-18T09:32:29.311Z",
  520.       "updatedAt": "2022-05-18T09:32:29.311Z",
  521.       "__v": 0
  522.     },
  523.     {
  524.       "_id": "62858b6f603c01c32897b8f6",
  525.       "filled": true,
  526.       "status": "filled",
  527.       "sl": "0",
  528.       "tp": "0",
  529.       "fee": "0.2",
  530.       "amount": "28.856930000000002",
  531.       "pair": "btc/usdt",
  532.       "type": "instant",
  533.       "side": "sell",
  534.       "price": "28856.93000000",
  535.       "quantity": "0.001",
  536.       "user_id": "62330cef6028c7074279582c",
  537.       "coin": "bitcoin",
  538.       "createdAt": "2022-05-19T00:12:31.064Z",
  539.       "updatedAt": "2022-05-19T00:12:31.064Z",
  540.       "__v": 0
  541.     },
  542.     {
  543.       "_id": "62858b6f603c01c32897b8f8",
  544.       "filled": true,
  545.       "status": "filled",
  546.       "sl": "0",
  547.       "tp": "0",
  548.       "fee": "0.2",
  549.       "amount": "28.856930000000002",
  550.       "pair": "rorap/usdt",
  551.       "type": "instant",
  552.       "side": "buy",
  553.       "price": "800",
  554.       "quantity": "0.036071162500000004",
  555.       "user_id": "62330cef6028c7074279582c",
  556.       "coin": "rorap",
  557.       "createdAt": "2022-05-19T00:12:31.070Z",
  558.       "updatedAt": "2022-05-19T00:12:31.070Z",
  559.       "__v": 0
  560.     }
  561.   ]
  562. }
Add Comment
Please, Sign In to add comment