Exchange-rate table for a base currency (path slug)
Changed onReturns the full exchange-rate table for a base currency: every supported currency expressed as units per one unit of the base. Supply the base as the path slug. Every key in the returned rates map is itself a queryable base. Both fiat and crypto codes are accepted.
Request
- Base URLhttps://api.restcountries.com
- Auth
- HTTP bearer
- or API key in query parameter api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Base currency code the rate table is expressed against (e.g. USD). Case-insensitive.
Query parameters
Set to true (a bare ?pretty, 1, or true) to pretty-print the JSON response; 0 or false keep it minified. Default is minified.
Response
Full exchange-rate table for a base currency.
Changes
- info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the response property
//became required for the status - info
the
//response's property pattern^[a-z_]+\.[a-z0-9_]+$was added for the status - info
the
//response's property pattern^[a-z_]+\.[a-z0-9_]+$was added for the status - info
the
//response's property pattern^[a-z_]+\.[a-z0-9_]+$was added for the status - info
the
//response's property pattern^[a-z_]+\.[a-z0-9_]+$was added for the status - info
the
//response's property pattern^[a-z_]+\.[a-z0-9_]+$was added for the status - info
the
//response's property pattern^[a-z_]+\.[a-z0-9_]+$was added for the status
- info