Skip to content

Latest commit

 

History

History

currencylayer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Description

Exchange rates and currency conversion

Example Request

  • Curl
curl "http://api.currencylayer.com/live?access_key={{token}}"
  • Raw
GET /live?access_key={{token}} HTTP/1.1
Host: api.currencylayer.com

Response

  • Success
{
    "success":true,
    "terms":"https:\/\/currencylayer.com\/terms",
    "privacy":"https:\/\/currencylayer.com\/privacy",
    "timestamp":1655367183,
    "source":"USD",
    "quotes":{
        "USDAED":3.673101,
        "USDAFN":89.48456,
        "USDALL":114.624638,
        "USDAMD":424.067918,
        "USDANG":1.807216
        ...
  • Error
{
    "success":false,
    "error":{
        "code":101,
        "type":"invalid_access_key",
        "info":"You have not supplied a valid API Access Key. [Technical Support: [email protected]]"
    }
}

Regex

[a-z0-9]{32}

Example API key

tue3sv9hzsey1me4l7fwq3t46u5k8wag