NimBillDocs

Board API

Live prices

Price of 1 NIM and 1 USDT in a currency, to show estimates before creating an invoice. Quotes use the same prices.

GEThttps://nimbill.mblob.me/api/rates

Query parameters

Query

currency string
Fiat currency code. Default USD.

Request

Example request
curl https://nimbill.mblob.me/api/rates?currency=NGN

Response

Example response · 200
{
  "currency": "NGN",
  "rates": {
    "NIM": 0.31886,
    "USDT": 1345.7
  }
}

When it goes wrong

  • 400 VALIDATION: unsupported currency
  • 503 UPSTREAM: live prices unavailable