Gets a currency conversion by id (i.e. USD -> USDC).
curl --request GET \ --url https://api.exchange.coinbase.com/conversions/{conversion_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>'
{ "id": "c5aaf125-d99e-41fe-82ea-ad068038b278", "amount": "11.00000000", "from_account_id": "5dcc143c-fb96-4f72-aebf-a165e3d29b53", "to_account_id": "6100247f-90fc-4335-ac17-d99839f0c909", "from": "USDC", "to": "USD", "fee_amount": "0.0000000000000000" }
The response is of type object.
object
Was this page helpful?