all-about-apikey/coinlayer
Muhammad Daffa 7372a52709 Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00
..
README.md Fix repository structure and add todolist 2022-07-23 20:53:29 +07:00

README.md

Coinlayer

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: support@apilayer.com]"
    }
}

Regex

[a-z0-9]{32}

Example API key

of3ab02f3xd12ldofxc3fodadsadadad