Get Chart Key by Address
Access detailed information to gain comprehensive insights into historical performance of specific addresses.
https://api.newbitcoincity.com/api/nbc-keys/chart/dataParameters
Name
Value
Required
Description
Sample code for getting data from this API.
let { data } = await axios.get( API_URL +"/nbc-keys/chart/data?day=15&address="+address)
if (data&&data["result"]!="") {
chartData: ChartData = [];
// Take remaining, new trades
for (const trade of trades) {
// Add new plot data
chartData.push({
timestamp: new Date(trade.trade_time),
"Price (USD)": Number(trade.price_usd),
});
}
}Last updated