{"openapi":"3.1.0","info":{"title":"WhatToMine API","version":"1.0.0","description":"Live multi-coin crypto mining economics — no key needed. For every mineable coin: its algorithm, current network difficulty and hashrate, block reward and block time, the coin's exchange rate in BTC, market cap, a relative profitability index and the estimated 24h BTC revenue. List all coins ranked by how profitable they are to mine right now, look one coin up by ticker or name, or pull the coins for a specific mining algorithm (KawPow, Ethash, RandomX, Scrypt, Autolykos…) — or the full algorithm list with coin counts. Data comes live from the public WhatToMine feed — nothing stored. This is mining-economics data across the whole GPU/ASIC coin complex, distinct from the Bitcoin-only mining API and from the exchange-ticker and on-chain APIs in the catalogue. Built for mining dashboards, profitability switchers, rig tooling and analytics.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/whattomine-api","description":"oanor gateway"}],"tags":[{"name":"Coin"},{"name":"Coins"},{"name":"Algorithm"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/coin":{"get":{"operationId":"get_v1_coin","tags":["Coin"],"summary":"Full mining stats for one coin","description":"","parameters":[{"name":"tag","in":"query","required":false,"description":"Coin ticker","schema":{"type":"string"},"example":"RVN"},{"name":"name","in":"query","required":false,"description":"Coin name","schema":{"type":"string"},"example":"Ravencoin"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"tag":"RVN","name":"Ravencoin","source":"WhatToMine","nethash":1954625201458,"updated":"2026-06-11T16:44:09.000Z","algorithm":"KawPow","difficulty":27305.79862546014,"last_block":4406440,"market_cap":68458997,"btc_revenue":5.11e-6,"block_reward":1250,"block_time_s":60,"profitability":370,"btc_exchange_rate":6.704518529569208e-8,"estimated_rewards":76.24668,"profitability_24h":336},"meta":{"timestamp":"2026-06-11T16:47:01.505Z","request_id":"fbaa77fa-7552-4871-bb99-94f044bb4299"},"status":"ok","message":"Coin retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/coins":{"get":{"operationId":"get_v1_coins","tags":["Coins"],"summary":"All mineable coins ranked by profitability","description":"","parameters":[{"name":"algorithm","in":"query","required":false,"description":"Filter by algorithm","schema":{"type":"string"},"example":"KawPow"},{"name":"limit","in":"query","required":false,"description":"Max results (1-500)","schema":{"type":"string"},"example":"100"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"coins":[{"tag":"QUAI","name":"Quai-KawPow","nethash":386743913979,"updated":"2026-06-11T16:45:16.000Z","algorithm":"KawPow","difficulty":613762591485,"last_block":8457606,"market_cap":15309245,"btc_revenue":1.583e-5,"block_reward":6.2363549236342095,"block_time_s":1.587,"profitability":1145,"btc_exchange_rate":2.393331221883344e-7,"estimated_rewards":66.13371,"profitability_24h":637},{"tag":"NICEHASH","name":"Nicehash-KawPow","nethash":262998922188,"updated":"2026-06-11T16:45:14.000Z","algorithm":"KawPow","difficulty":1,"last_block":0,"market_cap":0,"btc_revenue":1.384e-5,"block_reward":1,"block_time_s":1,"profitability":1001,"btc_exchange_rate":0.00017055075099091905,"estimated_rewards":1.0e-5,"profitability_24h":674},{"tag":"FREN","name":"Frencoin","nethash":481638716,"updated":"2026-06-11T16:44:06.000Z","algorithm":"KawPow","difficulty":3.364207569515158,"last_block":3232254,"market_cap":55330,"btc_revenue":8.88e-6,"block_reward":10000,"block_time_s":30,"profitability":642,"btc_exchange_rate":2.101344812813576e-12,"estimated_rewards":4224798.78023,"profitability_24h":404},{"tag":"NEOX","name":"Neoxa","nethash":19466415564,"updated":"2026-06-11T16:44:05.000Z","algorithm":"KawPow","difficulty":271.94268393497,"last_block":2124013,"market_cap":834096,"btc_revenue":8.7e-6,"block_reward":1125,"block_time_s":60,"profitability":629,"btc_exchange_rate":1.2679868813537957e-9,"estimated_rewards":6861.45178,"profitability_24h":516},{"tag":"RVN","name":"Ravencoin","nethash":1954625201458,"updated":"2026-06-11T16:44:09.000Z","algorithm":"KawPow","difficulty":27305.79862546014,"last_block":4406440,"market_cap":68458997,"btc_revenue":5.11e-6,"block_reward":1250,"block_time_s":60,"profitability":370,"btc_exchange_rate":6.704518529569208e-8,"estimated_rewards":76.24668,"profitability_24h":336},{"tag":"XNA","name":"Neurai","nethash":46029080753,"updated":"2026-06-11T16:42:16.000Z","algorithm":"KawPow","difficulty":653.735810411974,"last_block":1645075,"market_cap":654873,"btc_revenue":4.67e-6,"block_reward":3000,"block_time_s":61,"profitability":338,"btc_exchange_rate":6.123736819725517e-10,"estimated_rewards":7629.96706,"profitability_24h":302}],"count":6,"source":"WhatToMine","algorithm":"kawpow"},"meta":{"timestamp":"2026-06-11T16:47:01.615Z","request_id":"01ee9625-786f-4e9b-a549-9ac04fc3b47c"},"status":"ok","message":"Coins retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/algorithm":{"get":{"operationId":"get_v1_algorithm","tags":["Algorithm"],"summary":"Coins for an algorithm, or all algorithms","description":"","parameters":[{"name":"algorithm","in":"query","required":false,"description":"Mining algorithm (omit for full list)","schema":{"type":"string"},"example":"KawPow"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"coins":[{"tag":"QUAI","name":"Quai-KawPow","nethash":386743913979,"updated":"2026-06-11T16:45:16.000Z","algorithm":"KawPow","difficulty":613762591485,"last_block":8457606,"market_cap":15309245,"btc_revenue":1.583e-5,"block_reward":6.2363549236342095,"block_time_s":1.587,"profitability":1145,"btc_exchange_rate":2.393331221883344e-7,"estimated_rewards":66.13371,"profitability_24h":637},{"tag":"NICEHASH","name":"Nicehash-KawPow","nethash":262998922188,"updated":"2026-06-11T16:45:14.000Z","algorithm":"KawPow","difficulty":1,"last_block":0,"market_cap":0,"btc_revenue":1.384e-5,"block_reward":1,"block_time_s":1,"profitability":1001,"btc_exchange_rate":0.00017055075099091905,"estimated_rewards":1.0e-5,"profitability_24h":674},{"tag":"FREN","name":"Frencoin","nethash":481638716,"updated":"2026-06-11T16:44:06.000Z","algorithm":"KawPow","difficulty":3.364207569515158,"last_block":3232254,"market_cap":55330,"btc_revenue":8.88e-6,"block_reward":10000,"block_time_s":30,"profitability":642,"btc_exchange_rate":2.101344812813576e-12,"estimated_rewards":4224798.78023,"profitability_24h":404},{"tag":"NEOX","name":"Neoxa","nethash":19466415564,"updated":"2026-06-11T16:44:05.000Z","algorithm":"KawPow","difficulty":271.94268393497,"last_block":2124013,"market_cap":834096,"btc_revenue":8.7e-6,"block_reward":1125,"block_time_s":60,"profitability":629,"btc_exchange_rate":1.2679868813537957e-9,"estimated_rewards":6861.45178,"profitability_24h":516},{"tag":"RVN","name":"Ravencoin","nethash":1954625201458,"updated":"2026-06-11T16:44:09.000Z","algorithm":"KawPow","difficulty":27305.79862546014,"last_block":4406440,"market_cap":68458997,"btc_revenue":5.11e-6,"block_reward":1250,"block_time_s":60,"profitability":370,"btc_exchange_rate":6.704518529569208e-8,"estimated_rewards":76.24668,"profitability_24h":336},{"tag":"XNA","name":"Neurai","nethash":46029080753,"updated":"2026-06-11T16:42:16.000Z","algorithm":"KawPow","difficulty":653.735810411974,"last_block":1645075,"market_cap":654873,"btc_revenue":4.67e-6,"block_reward":3000,"block_time_s":61,"profitability":338,"btc_exchange_rate":6.123736819725517e-10,"estimated_rewards":7629.96706,"profitability_24h":302}],"count":6,"source":"WhatToMine","algorithm":"KawPow"},"meta":{"timestamp":"2026-06-11T16:47:01.746Z","request_id":"def29b88-f672-40b0-8a08-d71c714a69fc"},"status":"ok","message":"Algorithm retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Service metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"profitability is WhatToMine's relative profitability index (higher = more profitable to mine right now); btc_revenue is the estimated 24h BTC revenue at the reference hashrate; btc_exchange_rate is the coin's price in BTC. Stats are cached briefly and refresh every few minutes.","source":"WhatToMine (whattomine.com/coins.json, live)","service":"whattomine-api","endpoints":{"GET /v1/coin":"Full mining stats for one coin (tag=RVN or name=Ravencoin).","GET /v1/meta":"This document.","GET /v1/coins":"All mineable coins with mining stats, ranked by profitability (algorithm=, limit=100).","GET /v1/algorithm":"Coins for a mining algorithm (algorithm=KawPow); no param lists all algorithms with counts."},"coin_count":45,"description":"Live multi-coin crypto mining economics from WhatToMine. The coins endpoint lists every mineable coin with algorithm, network difficulty and hashrate, block reward and time, BTC exchange rate, market cap, relative profitability and 24h BTC revenue; the coin endpoint returns one coin by ticker or name; the algorithm endpoint lists the coins for a mining algorithm (or all algorithms with coin counts). Live, no key, nothing stored. Mining-economics data across the GPU/ASIC coin complex, distinct from the Bitcoin-only mining API and the exchange-ticker and on-chain APIs.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-11T16:47:01.843Z","request_id":"24039710-79d5-45d8-924b-42faf262f681"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":22800,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":855,"monthly_call_quota":298000,"rps_limit":10,"hard_limit":true},{"slug":"growth","name":"Growth","price_cents_month":2455,"monthly_call_quota":1305000,"rps_limit":25,"hard_limit":true},{"slug":"scale","name":"Scale","price_cents_month":5785,"monthly_call_quota":4620000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/whattomine-api"}