JunkCoin API Documentation

Live Dashboard

Overview

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.

Base URL

https://supply.junkcoinjkc.com

Response Format

JSON

Rate Limiting

5 min cache

GET/api/junkcoin-stats

Get comprehensive JunkCoin blockchain statistics including supply, block info, and network metrics

Example Response

{
  "liveSupply": 19742938.823584,
  "currentSupply": 19742938.823584,
  "maxSupply": 54000000,
  "percentageMined": 36.56,
  "currentBlock": 540727,
  "blockReward": 50,
  "inflationRate": 1.33,
  "status": "success"
}

Code Examples

cURL

curl -X GET "https://supply.junkcoinjkc.com/api/junkcoin-stats"

JavaScript

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)
    }
  })

Python

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)
GET/api/junkcoin-supply-milestone

Calculate supply projections for custom timeframes using flexible formats (d/m/y)

Parameters

NameTypeRequiredDescription
timeframesstringNoComma-separated timeframes: 30d,6m,1y (d=days, m=months, y=years)
blocksintegerNoLegacy: Number of blocks (backward compatibility)
daysnumberNoLegacy: Number of days (backward compatibility)
yearsnumberNoLegacy: Number of years (backward compatibility)

Example Response

{
  "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"
}

Code Examples

cURL

curl -X GET "https://supply.junkcoinjkc.com/api/junkcoin-supply-milestone?timeframes=30d,6m,1y"

JavaScript

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)
    }
  })

Python

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)
GET/api/junkcoin-halving

Get detailed halving schedule information including current period, next halving, and complete timeline

Example Response

{
  "currentBlock": 540727,
  "currentReward": 50,
  "currentPhase": "Base Reward",
  "nextHalving": {
    "phase": "First Halving",
    "daysRemaining": 180,
    "blocksRemaining": 259200,
    "reward": 25
  },
  "status": "success"
}

Code Examples

cURL

curl -X GET "https://supply.junkcoinjkc.com/api/junkcoin-halving"

JavaScript

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)
    }
  })

Python

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/2025Official Website