cURL
curl --request GET \ --url https://api.xchangeapi.com/{format}/currencies/{currency-pair} \ --header 'api-key: <api-key>'
{ "ask": "1.06742", "bid": "1.06727", "name": "EURUSD", "time": "1584640370.007" }
json
xml
csv
GET
EURUSD
Was this page helpful?