all-about-apikey/coinlib
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

Coinlib

Description

Crypto Currency Prices

Example Request

  • Curl
curl 'https://coinlib.io/api/v1/global?key={{token}}&pref=EUR'
  • Raw
GET /api/v1/global?key={{token}}&pref=EUR HTTP/1.1
Host: coinlib.io

Response

  • Success
{
    "coins": 6656,
    "markets": 10170,
    "total_market_cap": "1465184971086.2172851562",
    "total_volume_24h": "15611208351.8629932404",
    "last_updated_timestamp": 1641782024,
    "remaining": 119
}
  • Error
{
    "error":"Authentication failed."
}

Regex

[a-z0-9]{16}

Example API key

abcdefgh12345678