🧪 Test Bitfinex Funding APIs

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

Testing /v1/credits

HTTP Code: 200

Response:

[{"id":469504679,"currency":"IOT","status":"ACTIVE","rate":"249.1067","period":30,"amount":"61619.80240949","timestamp":"1794807045.0"},{"id":469507409,"currency":"IOT","status":"ACTIVE","rate":"249.1067","period":30,"amount":"24437.34903595","timestamp":"1794815446.0"},{"id":469508947,"currency":"IOT","status":"ACTIVE","rate":"249.1067","period":30,"amount":"23226.10625387","timestamp":"1794819045.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":5176633566,"currency":"BCHN","rate":"2550.4923","period":120,"direction":"lend","timestamp":"1793825734.0","is_live":true,"is_cancelled":false,"original_amount":"103.62328963","remaining_amount":"103.62328963","executed_amount":"0.0"},{"id":5176633579,"currency":"BTC","rate":"2550.4923","period":120,"direction":"lend","timestamp":"1793825736.0","is_live":true,"is_cancelled":false,"original_amount":"273.44875472","remaining_amount":"273.44875472","executed_amount":"0.0"},{"id":5183624681,"currency":"IOT","rate":"249.2713","period":30,"direction":"lend","timestamp":"1794806353.0","is_live":true,"is_cancelled":false,"original_amount":"575762.24455391","remaining_amount":"575762.24455391","executed_amount":"0.0"},{"id":5183624696,"currency":"IOT","rate":"249.1767","period":30,"direction":"lend","timestamp":"1794806354.0","is_live":true,"is_cancelled":false,"original_amount":"575762.24455391","remaining_amount":"575762.24455391","executed_amount":"0.0"},{"id":5183624702,"currency":"IOT","rate":"249.1067","period":30,"direction":"lend","timestamp":"1794806356.0","is_live":true,"is_cancelled":false,"original_amount":"575762.24455391","remaining_amount":"466478.9868546","executed_amount":"109283.25769931"}]

📊 Summary