GET
/
v3
/
spotMargin
/
interestHistory
curl --request GET \
  --url https://api.woox.io/v3/spotMargin/interestHistory \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-api-signature: <x-api-signature>' \
  --header 'x-api-timestamp: <x-api-timestamp>' \
  --data 'token=<string>' \
  --data 'side=<string>' \
  --data startTime=123 \
  --data endTime=123 \
  --data page=123 \
  --data size=123
{
    "success": true,
    "data": {
        "meta": {
            "total": 1865,
            "recordsPerPage": 25,
            "currentPage": 1
        },
        "rows": [
            {
                "id": 1649844,
                "token": "USDT",
                "side": "LOAN",
                "status": "SUCCEED",
                "quantity": "14896.05440493",
                "userId": 10988,
                "applicationId": "6400b4f6-d354-4e7f-844f-6153b666e2b6",
                "interest": "-0.14896054",
                "hourlyRate": "0.00001",
                "annualRate": "0.0876",
                "createdTime": 1696637410973,
                "updatedTime": 1696637410973,
                "loanAmount": "14896.05440493"
            },
            {
                "id": 1649752,
                "token": "USDT",
                "side": "AUTO_REPAY",
                "status": "SUCCEED",
                "quantity": null,
                "userId": 10988,
                "applicationId": "6400b4f6-d354-4e7f-844f-6153b666e2b6",
                "interest": "2.02039756",
                "hourlyRate": null,
                "annualRate": null,
                "createdTime": 1696637405108,
                "updatedTime": 1696637405124,
                "loanAmount": null
            }
        ]
    },
    "timestamp": 1721351502594
}

Limit 10 requests per 60 seconds

{
    "success": true,
    "data": {
        "meta": {
            "total": 1865,
            "recordsPerPage": 25,
            "currentPage": 1
        },
        "rows": [
            {
                "id": 1649844,
                "token": "USDT",
                "side": "LOAN",
                "status": "SUCCEED",
                "quantity": "14896.05440493",
                "userId": 10988,
                "applicationId": "6400b4f6-d354-4e7f-844f-6153b666e2b6",
                "interest": "-0.14896054",
                "hourlyRate": "0.00001",
                "annualRate": "0.0876",
                "createdTime": 1696637410973,
                "updatedTime": 1696637410973,
                "loanAmount": "14896.05440493"
            },
            {
                "id": 1649752,
                "token": "USDT",
                "side": "AUTO_REPAY",
                "status": "SUCCEED",
                "quantity": null,
                "userId": 10988,
                "applicationId": "6400b4f6-d354-4e7f-844f-6153b666e2b6",
                "interest": "2.02039756",
                "hourlyRate": null,
                "annualRate": null,
                "createdTime": 1696637405108,
                "updatedTime": 1696637405124,
                "loanAmount": null
            }
        ]
    },
    "timestamp": 1721351502594
}

Headers

x-api-key
string
required

api-key

Example:

"abcdef123456"

x-api-signature
string
required

api-signature

Example:

"signaturestring"

x-api-timestamp
string
required

api-timestamp

Example:

"1718943200000"

Body

application/x-www-form-urlencoded

The body is of type object.

Response

200 - application/json

The response is of type object.