The JunkCoin API provides real-time blockchain data, supply analytics, and projection calculations. All endpoints return JSON responses and support CORS for browser-based applications.
https://supply.junkcoinjkc.com
JSON
5 min cache
/api/junkcoin-stats
Get comprehensive JunkCoin blockchain statistics including supply, block info, and network metrics
{
"liveSupply": 19742938.823584,
"currentSupply": 19742938.823584,
"maxSupply": 54000000,
"percentageMined": 36.56,
"currentBlock": 540727,
"blockReward": 50,
"inflationRate": 1.33,
"status": "success"
}
curl -X GET "https://supply.junkcoinjkc.com/api/junkcoin-stats"
fetch('https://supply.junkcoinjkc.com/api/junkcoin-stats')
.then(response => response.json())
.then(data => {
if (data.milestones) {
data.milestones.forEach(m => {
console.log(`${m.readableTimeframe}: +${m.newSupply.toLocaleString()} JKC (${m.percentageIncrease}%)`)
})
} else {
console.log(data)
}
})
import requests
response = requests.get('https://supply.junkcoinjkc.com/api/junkcoin-stats')
data = response.json()
if 'milestones' in data:
for milestone in data['milestones']:
print(f"{milestone['readableTimeframe']}: +{milestone['newSupply']:,} JKC ({milestone['percentageIncrease']:.2f}%)")
print(f" Target: {milestone['targetDate'][:10]}")
print(f" Inflation: {milestone['projectedInflationRate']:.2f}%")
print()
else:
print(data)
/api/junkcoin-supply-milestone
Calculate supply projections for custom timeframes using flexible formats (d/m/y)
Name | Type | Required | Description |
---|---|---|---|
timeframes | string | No | Comma-separated timeframes: 30d,6m,1y (d=days, m=months, y=years) |
blocks | integer | No | Legacy: Number of blocks (backward compatibility) |
days | number | No | Legacy: Number of days (backward compatibility) |
years | number | No | Legacy: Number of years (backward compatibility) |
{
"currentSupply": 19742938.823584,
"milestones": [
{
"timeframe": "30d",
"newSupply": 540000,
"percentageIncrease": 2.74,
"readableTimeframe": "30 days",
"projectedInflationRate": 32.15,
"targetDate": "2025-03-01T12:00:00.000Z"
},
{
"timeframe": "6m",
"newSupply": 3300000,
"percentageIncrease": 16.71,
"readableTimeframe": "6 months",
"projectedInflationRate": 24.89,
"targetDate": "2025-07-30T12:00:00.000Z"
}
],
"status": "success"
}
curl -X GET "https://supply.junkcoinjkc.com/api/junkcoin-supply-milestone?timeframes=30d,6m,1y"
fetch('https://supply.junkcoinjkc.com/api/junkcoin-supply-milestone?timeframes=30d,6m,1y')
.then(response => response.json())
.then(data => {
if (data.milestones) {
data.milestones.forEach(m => {
console.log(`${m.readableTimeframe}: +${m.newSupply.toLocaleString()} JKC (${m.percentageIncrease}%)`)
})
} else {
console.log(data)
}
})
import requests
response = requests.get('https://supply.junkcoinjkc.com/api/junkcoin-supply-milestone?timeframes=30d,6m,1y')
data = response.json()
if 'milestones' in data:
for milestone in data['milestones']:
print(f"{milestone['readableTimeframe']}: +{milestone['newSupply']:,} JKC ({milestone['percentageIncrease']:.2f}%)")
print(f" Target: {milestone['targetDate'][:10]}")
print(f" Inflation: {milestone['projectedInflationRate']:.2f}%")
print()
else:
print(data)
/api/junkcoin-halving
Get detailed halving schedule information including current period, next halving, and complete timeline
{
"currentBlock": 540727,
"currentReward": 50,
"currentPhase": "Base Reward",
"nextHalving": {
"phase": "First Halving",
"daysRemaining": 180,
"blocksRemaining": 259200,
"reward": 25
},
"status": "success"
}
curl -X GET "https://supply.junkcoinjkc.com/api/junkcoin-halving"
fetch('https://supply.junkcoinjkc.com/api/junkcoin-halving')
.then(response => response.json())
.then(data => {
if (data.milestones) {
data.milestones.forEach(m => {
console.log(`${m.readableTimeframe}: +${m.newSupply.toLocaleString()} JKC (${m.percentageIncrease}%)`)
})
} else {
console.log(data)
}
})
import requests
response = requests.get('https://supply.junkcoinjkc.com/api/junkcoin-halving')
data = response.json()
if 'milestones' in data:
for milestone in data['milestones']:
print(f"{milestone['readableTimeframe']}: +{milestone['newSupply']:,} JKC ({milestone['percentageIncrease']:.2f}%)")
print(f" Target: {milestone['targetDate'][:10]}")
print(f" Inflation: {milestone['projectedInflationRate']:.2f}%")
print()
else:
print(data)
JunkCoin API Documentation • Last updated: 8/1/2025 •Official Website