Convert
Convert between forex and crypto at live rates
Converts an amount between any supported forex or crypto symbols at the current mid-market rate. Converting an asset to itself returns rate 1.
get/v1/convert/{from}/{to}
Request
- Base URLhttps://api.sifting.io
- Auth
- API key in header X-API-Key
- or API key in query parameter api_key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
fromstring required
Source currency or token (e.g. USD, BTC). Case-insensitive.
tostring required
Target currency or token (e.g. GBP, ETH). Case-insensitive.
Query parameters
amountnumber
Amount to convert. Defaults to 1 (returns just the rate).
Response
Converted amount and the rate applied.
Changes
No recorded changes to this operation across all 1 revision of this API.