Get Prices

Request price info in realtime. The request needs to provide a price pair for specific asset.

Method


GET https://api.ninjapay.me/lapi/v1/price

Parameters

pricePair?: string // "btcusd", "btcinr" and "usdinr" supported currently (optional)

Response

// Dont pass any body to get all three pairs.
{
    "status": true,
    "data": {
        "btc_usd": 39936, //<int>
        "btc_inr": 3321112, //<int>
        "usd_inr": 83.3 //<int>
    },
    "message": “Pricing data”
} 

Example

Last updated