Coinbase Exchange API
cURL
curl --request GET \ --url https://api.exchange.coinbase.com/loans \ --header 'cb-access-key: <api-key>' \ --header 'cb-access-passphrase: <api-key>' \ --header 'cb-access-sign: <api-key>' \ --header 'cb-access-timestamp: <api-key>'
[ { "id": "<string>", "currency": "<string>", "principal_amount": "<string>", "outstanding_principal_amount": "<string>", "interest_rate": "<string>", "interest_currency": "<string>", "status": "loan_pending", "effective_at": "2023-11-07T05:31:56Z", "closed_at": "2023-11-07T05:31:56Z", "term_start_date": "2023-11-07T05:31:56Z", "term_end_date": "2023-11-07T05:31:56Z" } ]
Accepts zero or more loan IDs as input. If no loan IDs are specified, it returns all loans for the user. Otherwise it returns only the loan IDs specified.
The response is of type object[].
object[]
Was this page helpful?