curl --request GET \
--url https://api.woox.io/v3/spotMargin/interestHistory \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-signature: <x-api-signature>' \
--header 'x-api-timestamp: <x-api-timestamp>'{
"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
}
get spot margin interest history
curl --request GET \
--url https://api.woox.io/v3/spotMargin/interestHistory \
--header 'x-api-key: <x-api-key>' \
--header 'x-api-signature: <x-api-signature>' \
--header 'x-api-timestamp: <x-api-timestamp>'{
"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
}
{
"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
}
"abcdef123456"
"signaturestring"
"1718943200000"
Token name in upper case
LOAN/REPAY/AUTO_REPAY
Start timestamp in Unix timestamp format in milliseconds
End timestamp in Unix timestamp format in milliseconds
Page number
Data size per page
true
timestamp
Show child attributes
Show child attributes
The unique identifier for the loan transaction.
The token symbol associated with the loan, e.g., 'USDT'.
The transaction side, e.g., 'LOAN' for loan transactions.
LOAN, REPAY, AUTO_REPAY The transaction status, e.g., 'SUCCEED' for completed transactions.
SUCCEED, FAILED The quantity of the token involved in the loan transaction.
The unique identifier of the user involved in the transaction.
The unique identifier for the application associated with the transaction.
The interest amount incurred on the loan transaction.
The hourly interest rate for the loan.
The annual interest rate for the loan.
The time the loan transaction was created, represented as a Unix timestamp (milliseconds).
The time the loan transaction was last updated, represented as a Unix timestamp (milliseconds).
The total loan amount involved in the transaction.