Currency
GET /api/rates
Get exchange rates between currencies with optional amount conversion
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
The currency to convert to (optional). If not specified, returns rates for all currencies.
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
Exchange rates retrieved successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.