Skip to main content
GET
/
price
Get current market price
curl --request GET \
  --url https://staging.api.mavapay.co/api/v1/price \
  --header 'Authorization: Bearer <token>' \
  --header 'X-API-KEY: <api-key>'
{
  "status": "success",
  "data": {
    "currency": "NGN",
    "timeStamp": "2021-07-01T12:00:00Z",
    "btcPriceInUnitCurrency": 9000000.23,
    "unitPricePerSat": {
      "amount": 0.334561234,
      "currencyUnit": "NGNSAT"
    },
    "unitPricePerUsd": {
      "amount": 1500.65,
      "currencyUnit": "NGNUSD"
    }
  }
}

Authorizations

X-API-KEY
string
header
required
Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

currency
string
required

The currency to get the price for

Response

Price response

status
string<string>
Example:

"success"

data
object