---
title: "Repay - Get Flexible Loan Repayment History (USER_DATA)"
method: GET
path: "/sapi/v2/loan/flexible/repay/history"
tags: ["Crypto Loans"]
---

# Repay - Get Flexible Loan Repayment History (USER_DATA)

`GET /sapi/v2/loan/flexible/repay/history`

## Request

- Base URL: `https://api.binance.com`
- URL: `https://api.binance.com/sapi/v2/loan/flexible/repay/history`
- Auth: API key in header `X-MBX-APIKEY`

- If startTime and endTime are not sent, the recent 90-day data will be returned.
- The max interval between startTime and endTime is 180 days.

Weight(IP): 400

## Query parameters

- `loanCoin` string
- `collateralCoin` string
- `startTime` integer
- `endTime` integer
- `current` integer
- `limit` integer
- `recvWindow` integer
- `timestamp` integer, required
- `signature` string, required

## Response `200`

Loan repay history

- object
  - `rows` object[], required
    - `loanCoin` string, required
    - `repayAmount` string, required
    - `collateralCoin` string, required
    - `collateralReturn` string, required
    - `repayStatus` string, required
    - `repayTime` integer, required
  - `total` integer, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized Request

## Changes

- **2024-06-06** `6c02ecd56d37`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/binance/apis/binance-public-spot-api/changes/sapi/v2/loan/flexible/repay/history/get.md)

---

[API](https://skmtc.dev/binance/apis/binance-public-spot-api.md) - [All operations](https://skmtc.dev/binance/apis/binance-public-spot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/binance/apis/binance-public-spot-api/revisions/0dd2f133e12d?raw)
