cURL
curl --request GET \ --url https://api.example.com/api/v1/partner/public/rates \ --header 'Authorization: Bearer <token>'
[ { "offerId": 42, "currencySource": { "id": 1, "name": "US Dollar", "ticker": "USD", "image": { "id": "cbcfa8b8-3a25-4adb-a9c6-e325f0d0f3ae", "path": "/uploads/usd.png" } }, "currencyDest": { "id": 1, "name": "US Dollar", "ticker": "USD", "image": { "id": "cbcfa8b8-3a25-4adb-a9c6-e325f0d0f3ae", "path": "/uploads/usd.png" } }, "sale": 41.5, "buy": 41.3, "exchangeId": 1 } ]
Returns exchange rates (sale/buy) for active offers in the branch. Optionally filter by exchange ID.
Partner API key. Format: sk_branch_<32chars>, sk_personal_<32chars>, or pk_<32chars> (public, read-only)
sk_branch_<32chars>
sk_personal_<32chars>
pk_<32chars>
Filter rates by exchange ID
List of exchange rates
42
Show child attributes
Sale rate (exchange sells to client)
41.5
Buy rate (exchange buys from client)
41.3
1