Get Prices
Last updated
const options = {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'API_KEY'
},
body: '{"pricePair":"btcinr"}'
};
fetch('https://api.ninjapay.me/sapi/v1/price', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));