When Nimiq Moon ?

Price

Version

v0.1.0

Endpoint

/price/:currencies

/price/:range/:currencies

range options:

  • /price/day/btc Price (BTC) for every 5 minutes
  • /price/week/btc,usd Price (BTC, USD) for every 15 minutes
  • /price/month/btc,usd,cad Price (BTC, USD, CAD) for every 1 hours
  • /price/year/btc,usd Price (BTC, USD) for every 6 hours

Change Log

v0.1.0 -

  • Added Volume 24h.
  • Specified currencies supported.
  • currencies supports multiple currencies with comma like btc,usd,cny, maximum 5 currencies.

v0.0.5 -

  • Added Percent Change for specified currency.

v0.0.4 -

  • Added AUD,BRL,CAD,CNY,GBP,NZD.

v0.0.3 -

  • Added percent changes of 1h and 24h.

v0.0.2 -

  • Added EUR, BTC.

Sample Request

https://cn.api.nimiqx.com:8000/price/btc,usd?api_key=YOUR_API_KEY

Sample Response

{
  "timestamp": 1532970003,
  "btc": "0.00000040",
  "usd": 0.00325,
  "percent_change_1h": {
    "btc": "5.26",
    "usd": "6.21"
  },
  "percent_change_24h": {
    "btc": "5.26",
    "usd": "3.50"
  },
  "volume_24h": {
    "btc": 8.54,
    "usd": 69209
  }
}