Convert
Converts an amount between two currencies using your plan's freshest rates, returning both the rate used and the result — so your invoices, checkouts, and reports can show their work.
GET /api/v1/convertAvailable on: freedeveloperunlimited
Parameters
| Parameter | Required | Description |
|---|---|---|
| from | required | Source currency code, e.g. USD. |
| to | required | Target currency code, e.g. CAD. |
| amount | required | Positive number to convert, up to 10^15. |
Example
Requestbash
curl "https://forex-feed.com/api/v1/convert?from=USD&to=CAD&amount=100" \
-H "Authorization: Bearer ff_live_YOUR_KEY"Responsejson
{
"success": true,
"data": {
"from": "USD",
"to": "CAD",
"amount": 100,
"rate": 1.41685,
"result": 141.685
},
"meta": { "snapshot_at": "2026-07-08T23:46:47.411Z", "granularity": "5min", "plan": "developer" }
}Notes
- •
resultis unrounded — apply your own rounding policy (e.g. 2 decimals for most currencies, 0 for JPY). - • Cross pairs (neither side USD) are derived server-side at full precision.
- • On the Free plan this endpoint returns
plan_required(403).