Skip to content

Latest commit

 

History

History

coinlayer

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Description

Real-time Crypto Currency Exchange Rates

Example Request

  • Curl
curl 'https://api.coinlayer.com/live?access_key={{token}}'
  • Raw
GET /live?access_key={{token}} HTTP/1.1
Host: api.coinlayer.com

Response

  • Success
{
    "success":true,
    "terms":"https:\/\/coinlayer.com\/terms",
    "privacy":"https:\/\/coinlayer.com\/privacy",
    "timestamp":1641304507,
    "target":"USD",
    "rates":{
        "ABC":00.00,
        "ACP":0.000000,
        "ACT":0.006995,
        ...
    }
}
  • 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

of3ab02f3xd12ldofxc3fodadsadadad