Currency Exchange Rates Code Examples

Financial
POST /api/v1/currency/rates Bearer

Ready-to-run Currency Exchange Rates calls. Replace YOUR_API_KEY with the key from your dashboard.

Currency Exchange Rates — Code Samples

cURL
PHP
Fetch
jQuery
Axios
Python
curl -X POST https://app.way2api.com/api/v1/currency/rates \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"base":"USD","symbols":"INR,EUR,GBP"}'

Expected Response — 200

{
    "status": "SUCCESS",
    "status_code": 200,
    "charged": true,
    "success": true,
    "message": "",
    "message_code": "OK",
    "order_id": "W2A1739512345abcdef01",
    "data": {
        "order_id": "W2A1739512345abcdef01",
        "result": {
            "base_currency": "USD",
            "rates": {
                "EUR": "0.868282",
                "GBP": "0.743799",
                "INR": "95.0968"
            },
            "as_of": "2026-08-04 13:32:00+00"
        }
    }
}