🧪 Test Bitfinex Funding APIs

1. Testing /v1/credits (využité půjčky)

Testing /v1/credits

HTTP Code: 200

Response:

[{"id":462391471,"currency":"IOT","status":"ACTIVE","rate":"226.1399","period":120,"amount":"51032.21609219","timestamp":"1784855445.0"},{"id":462391472,"currency":"IOT","status":"ACTIVE","rate":"226.2085","period":120,"amount":"116760.37054218","timestamp":"1784855445.0"}]

2. Testing /v1/funding/loans (přijaté ale nevyužité)

Testing /v1/funding/loans

HTTP Code: 404

Response:

<!DOCTYPE html>
<html>
<head>
  <title>The page you were looking for doesn't exist (404)</title>
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <style>
  .rails-default-error-page {
    background-color: #EFEFEF;
    color: #2E2F30;
    text-align: center;
    font-family: arial, sans-serif;
    margin: 0;
  }

  .rails-default-error-page div.dialog {
    width: 95%;
    max-width: 33em;
    margin: 4em auto 0;
  }

  .rails-default-error-page div.dialog > div {
    border: 1px solid #CCC;
    border-right-color: #999;
    border-left-color: #999;
    border-bottom-color: #BBB;
    border-top: #B00100 solid 4px;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    background-color: white;
    padding: 7px 12% 0;
    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
  }

  .rails-default-error-page h1 {
    font-size: 100%;
    color: #730E15;
    line-height: 1.5em;
  }

  .rails-default-error-page div.dialog > p {
    margin: 0 0 1em;
    padding: 1em;
    background-color: #F7F7F7;
    border: 1px solid #CCC;
    border-right-color: #999;
    border-left-color: #999;
    border-bottom-color: #999;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-color: #DADADA;
    color: #666;
    box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
  }
  </style>
</head>

<body class="rails-default-error-page">
  <!-- This file lives in public/404.html -->
  <div class="dialog">
    <div>
      <h1>The page you were looking for doesn't exist.</h1>
      <p>You may have mistyped the address or the page may have moved.</p>
    </div>
    <p>If you are the application owner check the logs for more information.</p>
  </div>
</body>
</html>

3. Testing /v1/offers (nabídky)

Testing /v1/offers

HTTP Code: 200

Response:

[{"id":5016242474,"currency":"IOT","rate":"226.29","period":120,"direction":"lend","timestamp":"1782437469.0","is_live":true,"is_cancelled":false,"original_amount":"4654.02514549","remaining_amount":"4654.02514549","executed_amount":"0.0"},{"id":5022063019,"currency":"IOT","rate":"226.2949","period":120,"direction":"lend","timestamp":"1782928091.0","is_live":true,"is_cancelled":false,"original_amount":"94452.92322446","remaining_amount":"94452.92322446","executed_amount":"0.0"},{"id":5030779703,"currency":"IOT","rate":"226.2698","period":120,"direction":"lend","timestamp":"1783673639.0","is_live":true,"is_cancelled":false,"original_amount":"390812.93515866","remaining_amount":"390812.93515866","executed_amount":"0.0"},{"id":5031210699,"currency":"IOT","rate":"226.2532","period":120,"direction":"lend","timestamp":"1783687862.0","is_live":true,"is_cancelled":false,"original_amount":"314023.57795866","remaining_amount":"225476.75110786","executed_amount":"88546.8268508"},{"id":5031336305,"currency":"IOT","rate":"226.2986","period":120,"direction":"lend","timestamp":"1783693860.0","is_live":true,"is_cancelled":false,"original_amount":"43264.41631357","remaining_amount":"43264.41631357","executed_amount":"0.0"},{"id":5031357647,"currency":"IOT","rate":"226.2815","period":120,"direction":"lend","timestamp":"1783695061.0","is_live":true,"is_cancelled":false,"original_amount":"85491.80282138","remaining_amount":"85491.80282138","executed_amount":"0.0"},{"id":5031442979,"currency":"IOT","rate":"226.2375","period":120,"direction":"lend","timestamp":"1783698660.0","is_live":true,"is_cancelled":false,"original_amount":"218035.14895163","remaining_amount":"178504.03889039","executed_amount":"39531.11006124"},{"id":5031563082,"currency":"IOT","rate":"226.2991","period":120,"direction":"lend","timestamp":"1783704660.0","is_live":true,"is_cancelled":false,"original_amount":"95779.4849233","remaining_amount":"95779.4849233","executed_amount":"0.0"},{"id":5032066809,"currency":"IOT","rate":"226.2085","period":120,"direction":"lend","timestamp":"1783743058.0","is_live":true,"is_cancelled":false,"original_amount":"226414.37242822","remaining_amount":"34135.46307832","executed_amount":"192278.9093499"},{"id":5032166142,"currency":"IOT","rate":"226.2092","period":120,"direction":"lend","timestamp":"1783749659.0","is_live":true,"is_cancelled":false,"original_amount":"17565.384884","remaining_amount":"17565.384884","executed_amount":"0.0"},{"id":5035452858,"currency":"IOT","rate":"226.272","period":120,"direction":"lend","timestamp":"1783837861.0","is_live":true,"is_cancelled":false,"original_amount":"17156.7487344","remaining_amount":"17156.7487344","executed_amount":"0.0"},{"id":5036065373,"currency":"IOT","rate":"226.2113","period":120,"direction":"lend","timestamp":"1783852260.0","is_live":true,"is_cancelled":false,"original_amount":"62704.74784993","remaining_amount":"62704.74784993","executed_amount":"0.0"},{"id":5036086655,"currency":"IOT","rate":"226.2218","period":120,"direction":"lend","timestamp":"1783852863.0","is_live":true,"is_cancelled":false,"original_amount":"26944.77964768","remaining_amount":"26944.77964768","executed_amount":"0.0"},{"id":5036090259,"currency":"IOT","rate":"226.2766","period":120,"direction":"lend","timestamp":"1783852981.0","is_live":true,"is_cancelled":false,"original_amount":"22250.24561738","remaining_amount":"22250.24561738","executed_amount":"0.0"},{"id":5036106631,"currency":"IOT","rate":"226.2424","period":120,"direction":"lend","timestamp":"1783853460.0","is_live":true,"is_cancelled":false,"original_amount":"108941.08794617","remaining_amount":"108941.08794617","executed_amount":"0.0"},{"id":5036110565,"currency":"IOT","rate":"226.2247","period":120,"direction":"lend","timestamp":"1783853581.0","is_live":true,"is_cancelled":false,"original_amount":"137706.44164246","remaining_amount":"137706.44164246","executed_amount":"0.0"},{"id":5063864405,"currency":"IOT","rate":"226.2209","period":120,"direction":"lend","timestamp":"1785375060.0","is_live":true,"is_cancelled":false,"original_amount":"5038.38517664","remaining_amount":"5038.38517664","executed_amount":"0.0"},{"id":5069306283,"currency":"IOT","rate":"226.1001","period":120,"direction":"lend","timestamp":"1785893460.0","is_live":true,"is_cancelled":false,"original_amount":"4831.38735777","remaining_amount":"4831.38735777","executed_amount":"0.0"}]

📊 Summary