Coinbase Exchange API
List interest charges for a loan
curl --request GET \ --url https://api.exchange.coinbase.com/loans/interest/{loan_id} \ --header 'cb-access-key: <api-key>' \ --header 'cb-access-passphrase: <api-key>' \ --header 'cb-access-sign: <api-key>' \ --header 'cb-access-timestamp: <api-key>'
[ { "date": "2023-11-07T05:31:56Z", "currency": "<string>", "principal_amount": "<string>", "interest_rate": "<string>", "interest_accrued": "<string>" } ]
The response is of type object[].
object[]
Was this page helpful?