Currency
GET /api/convert
Convert amount between currencies
Request
- Base URLhttps://api.unirateapi.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
api_keystring required
API key for authentication
amountnumber
Amount to convert (optional)
fromstring
Base currency code (optional)
tostring required
The currency to convert to.
format'json' | 'xml' | 'csv' | 'tsv'
The format of the response (optional).
callbackstring
The name of the JSONP callback function (optional). Only used when format is 'json'. Must be alphanumeric with underscores.
Response
Currency converted successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.