OTC Buy Rates
Fetch LINK OTC Rates
Use this endpoint to fetch our OTC buy rates
curl --request GET \
--url https://lobster-app-whutt.ondigitalocean.app/otc/buy \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'ngnc-sec-key: NGNC_SECRET_KEY' \
const options = {
method: 'GET',
headers: {
accept: 'application/json',
'content-type': 'application/json',
'ngnc-sec-key': 'NGNC_SECRET_KEY',
},
};
fetch('https://lobster-app-whutt.ondigitalocean.app/otc/buy', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
import requests
url = "https://lobster-app-whutt.ondigitalocean.app/otc/buy"
headers = {
"accept": "application/json",
"content-type": "application/json",
"ngnc-sec-key": "NGNC_SECRET_KEY"
}
response = requests.get(url, json=payload, headers=headers)
print(response.text)
GET
https://lobster-app-whutt.ondigitalocean.app/otc/buy
{
"USD": 743.3,
"GBP": 935.1,
"EUR": 803.6,
"TRY": 44.1,
"CNY": 90,
"CHF": 831.4,
"CAD": 589,
"AED": 160,
"KES": 6.4
}
Last updated