NiceHash
Hashpowerorders API application description
Finance & banking#cryptocurrency
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Hashpowerorders API application description
Endpoints 107
EasyMining public
- GETMINED BLOCKS
/api/v2/public/solo/singleRewardDetailed list of mined blocks. - GETMINED BLOCKS
/public/solo/singleRewardDetailed list of mined blocks. - GETTEAM EASYMINING PACKAGES
/api/v2/public/solo/shared/orderList of available Team EasyMining packages - GETTEAM EASYMINING PACKAGES
/public/solo/shared/orderList of available Team EasyMining packages - GETSOLO EASYMINING PACKAGES
/api/v2/public/solo/packageList of available Solo EasyMining packages - GETSOLO EASYMINING PACKAGES
/public/solo/packageList of available Solo EasyMining packages - GETMINED BLOCKS STATS
/api/v2/public/solo/coinRewardStatsCumulative statistics of mined blocks including coin, number of blocks and reward amount in BTC. Period param can be: day, week, month, year, all (default) - GETMINED BLOCKS STATS
/public/solo/coinRewardStatsCumulative statistics of mined blocks including coin, number of blocks and reward amount in BTC. Period param can be: day, week, month, year, all (default) - GETPUBLIC TEAM
/public/hashpower/solo/teams/public/:idGet a single public Team EasyMining shared ticket by id. - GETPUBLIC TEAM
/api/v2/public/hashpower/solo/teams/public/:idGet a single public Team EasyMining shared ticket by id. - GETPUBLIC TEAMS
/public/hashpower/solo/teams/publicList of public Team EasyMining shared tickets. - GETPUBLIC TEAMS
/api/v2/public/hashpower/solo/teams/publicList of public Team EasyMining shared tickets. - GETGROUPED EASYMINING PACKAGES
/public/easymining/packagesList of available EasyMining packages grouped by market (BTC/USDT) - GETGROUPED EASYMINING PACKAGES
/api/v2/public/easymining/packagesList of available EasyMining packages grouped by market (BTC/USDT) - GETCURRENCY ALGOS
/public/currency-algosList of currency-algorithm pairings supported by EasyMining. - GETCURRENCY ALGOS
/api/v2/public/currency-algosList of currency-algorithm pairings supported by EasyMining.
Pools
- POSTVERIFY POOL
/api/v2/pools/verifyVerify connectivity between Nicehash stratum server and selected pool. Basic pool data are also checked like authentication, size of extranonoce, initial… - POSTCREATE OR EDIT POOL
/api/v2/poolCreate or edit pool information. When creating pool, id of pool must not be in the request message. When editing id must match existing pool id, otherwise… - GETPOOL LIST
/api/v2/poolsFetch whole pool list. When more than 100 pools are contained in the list, pages should be used. Algorithm parameter can be used to filter out pools for… - GETPOOL DETAILS
/api/v2/pool/:poolIdGet pool information using pool id. - DELETEDELETE POOL
/api/v2/pool/:poolIdDelete pool using pool id. The operation is not reversible.
EasyMining private
- GETEASY MINING SOLO TICKET LIST
/api/v2/hashpower/solo/order?limit=20Get Easy Mining Solo Ticket list. - POSTBUY EASY MINING SOLO PACKAGE
/api/v2/hashpower/solo/orderBuy EasyMining Solo Ticket, List of available Easy Mining Solo Tickets are available via /main/api/v2/public/solo/package API call - POSTBUY A SHARE OF EASY MINING TEAM PACKAGE
/api/v2/hashpower/shared/ticket/:idBuy a share of EasyMining Team Ticket, List of available Easy Mining Team Tickets are available via /main/api/v2/public/solo/shared/order API call - GETEASY MINING SHARED TICKET LIST
/api/v2/hashpower/solo/shared/orderGet Easy Mining Shared Ticket list. - GETEASY MINING SHARED TICKET DETAILS
/api/v2/hashpower/solo/shared/order/:idGet Easy Mining Shared Ticket detailed information using shared ticket id. - GETEASY MINING SOLO TICKET DETAILS
/api/v2/hashpower/solo/order/:idGet Easy Mining Solo Ticket detailed information using order id. - GETLIST SAVED EASYMINING ADDRESSES
/api/v2/hashpower/sharedTicketExternalAddress/listRetrieves a list of saved EasyMining addresses. Optionally filter by currency. - GETGET LIST OF REWARDS FOR EASY MINING SOLO TICKET
/api/v2/hashpower/order/:id/rewardsReturn detailed list of Easy Mining Solo Ticket - GETGROUPED MASS BUY CONFIGURATIONS
/api/v2/hashpower/easymining/massbuy/configurationsList of available MassBuy configurations grouped by market (BTC/USDT)
Hashpower public
- GETVMM PRICE STATS
/api/v2/public/vmm/priceStats?algorithm=SHA256ASICBOOST_USDTHistorical VMM price statistics for a given algorithm and optional currency. Time window must be ≤ 90 days. - GETVMM PRICE STATS
/public/vmm/priceStats?algorithm=SHA256ASICBOOST_USDTHistorical VMM price statistics for a given algorithm and optional currency. Time window must be ≤ 90 days. - GETVMM PRICE STATS
/api/v2/public/priceStats?algorithm=SHA256ASICBOOST_USDTHistorical VMM price statistics for a given algorithm and optional currency. Time window must be ≤ 90 days. - GETVMM PRICE STATS
/public/priceStats?algorithm=SHA256ASICBOOST_USDTHistorical VMM price statistics for a given algorithm and optional currency. Time window must be ≤ 90 days. - GETVMM PACKAGES
/public/vmm/packagesList of available VMM packages - GETVMM PACKAGES
/api/v2/public/vmm/packagesList of available VMM packages - GETVMM FLEXIBLE PREVIEW
/public/vmm/package/:id/preview?amount=100.0Preview estimated duration, mining speed, virtual miners, and earnings for a flexible VMM order before creating it. - GETVMM FLEXIBLE PREVIEW
/api/v2/public/vmm/package/:id/preview?amount=100.0Preview estimated duration, mining speed, virtual miners, and earnings for a flexible VMM order before creating it. - GETGET VMM PACKAGE
/api/v2/public/vmm/package/:idGet a single VMM package by ID - GETGET VMM PACKAGE
/public/vmm/package/:idGet a single VMM package by ID - GETCURRENT STATISTICS
/api/v2/public/stats/global/currentGet current price and hashpower speed for all enabled algorithms in average for last 5 minutes. - GETCURRENT STATISTICS
/public/stats/global/currentGet current price and hashpower speed for all enabled algorithms in average for last 5 minutes. - GET24 HOUR STATISTICS
/api/v2/public/stats/global/24hGet average price and hashpower speed for all enabled algorithms in average for past 24 hours. - GET24 HOUR STATISTICS
/public/stats/global/24hGet average price and hashpower speed for all enabled algorithms in average for past 24 hours. - GETSIMPLE STATUS
/public/simplemultialgo/infoGet information about speed and price for each enabled algorithm. - GETSIMPLE STATUS
/api/v2/public/simplemultialgo/infoGet information about speed and price for each enabled algorithm. - GETORDERS
/api/v2/public/ordersGet all hashpower orders. Request parameter work as filter to fine tune the result. The result is paged, when needed. - GETORDERS
/public/ordersGet all hashpower orders. Request parameter work as filter to fine tune the result. The result is paged, when needed. - GETBUY INFO
/api/v2/public/buy/infoInformation for each enabled algorithm needed for buying hashpower. Result contains minimum and maximum values for price, limit, information about minimum… - GETBUY INFO
/public/buy/infoInformation for each enabled algorithm needed for buying hashpower. Result contains minimum and maximum values for price, limit, information about minimum… - GETALGORITHM HISTORY
/api/v2/public/algo/historyForInterval?algorithm=SHA256ASICBOOST_USDTHistory for the selected algorithm over an optional time range.<br/><br/>Each record in the response is a positional array:<br/><code>[timestamp, speed,… - GETALGORITHM HISTORY
/public/algo/historyForInterval?algorithm=SHA256ASICBOOST_USDTHistory for the selected algorithm over an optional time range.<br/><br/>Each record in the response is a positional array:<br/><code>[timestamp, speed,… - GETALGORITHM HISTORY (LEGACY)
/public/algo/history?algorithm=SHA256ASICBOOST_USDTWhole history for the selected algorithm. Use <code>/algo/historyForInterval</code> for the full-featured version with exchangeRate and version… - GETALGORITHM HISTORY (LEGACY)
/api/v2/public/algo/history?algorithm=SHA256ASICBOOST_USDTWhole history for the selected algorithm. Use <code>/algo/historyForInterval</code> for the full-featured version with exchangeRate and version… - GETORDERS SUMMARY
/api/v2/hashpower/orders/summary?market=EU&algorithm=SHA256Get accepted and rejected speed from pools and rigs, rig count and paying price for selected market and algorithm. - GETORDERS SUMMARY
/public/hashpower/orders/summary?market=EU&algorithm=SHA256Get accepted and rejected speed from pools and rigs, rig count and paying price for selected market and algorithm. - GETORDER SUMMARIES
/public/hashpower/orders/summariesGet accepted and rejected speeds for rigs and pools, rig count and paying price for selected market and/or algorithm. When no market or algorithm is specified… - GETORDER SUMMARIES
/api/v2/hashpower/orders/summariesGet accepted and rejected speeds for rigs and pools, rig count and paying price for selected market and/or algorithm. When no market or algorithm is specified… - GETORDER BOOK
/public/hashpower/orderBook?algorithm=SHA256ASICBOOSTHashpower order book for specified algorithm. Response contains orders for all markest and their stats. When there a lot of orders, response will be paged. - GETORDER BOOK
/api/v2/hashpower/orderBook?algorithm=SHA256ASICBOOSTHashpower order book for specified algorithm. Response contains orders for all markest and their stats. When there a lot of orders, response will be paged. - GETORDER OPTIMAL PRICE
/public/hashpower/order/price?market=EU&algorithm=SHA256Get optimal current paying price for selected market and algorithm. - GETORDER OPTIMAL PRICE
/api/v2/hashpower/order/price?market=EU&algorithm=SHA256Get optimal current paying price for selected market and algorithm.
Hashpower private
- POSTCREATE VMM ORDER
/api/v2/hashpower/vmm/orderCreates a Virtual Machine Mining order from a pre-defined package.<br/><br/><b>Pool selection:</b><ul><li><code>poolId</code>: User-supplied external pool… - POSTESTIMATE ORDER DURATION
/api/v2/hashpower/orders/calculateEstimateDurationEstimated duration of a hashpower order from the order type, amount, price and limit. The maximal value for <b>STANDARD</b> order is 10 days<br/><br/>More… - POSTCREATE ORDER
/api/v2/hashpower/orderCreate hashpower order. When constructing order request, some limitation must be taken into consideration, like minimum amount, minimum speed limit, minimup… - POSTUPDATE PRICE AND LIMIT
/api/v2/hashpower/order/:id/updatePriceAndLimitAt any time order speed limit and price can be altered when hashpower order is active. Changes must be withing limits defined for each algoritm separately.… - POSTUPDATE LIMIT
/api/v2/hashpower/order/:id/updateLimitAt any time order speed limit can be altered when hashpower order is active. Changes must be withing limits defined for each algoritm separately. These limits… - POSTUPDATE END DATE OF BUSINESS ORDER
/api/v2/hashpower/order/:id/updateEndTsAt any time order end date can be altered when hashpower order is active. Changes must be withing limits defined for each algoritm separately. - POSTUPDATE BOTTOM SPEED LIMIT AND END DATE OF BUSINESS ORDER
/api/v2/hashpower/order/:id/updateBottomLimitAndEndTsAt any time order bottom speed limit or end date can be altered when hashpower order is active. Changes must be withing limits defined for each algoritm… - POSTREFILL ORDER
/api/v2/hashpower/order/:id/refillWhen order is active, amount on the order can be increased and prolong duration of active order in marketplace. The limitation for minimal and maximal amount… - POSTCREATE BUSINESS ORDER
/api/v2/hashpower/business/orderCreate hashpower order. When constructing order request, some limitation must be taken into consideration, like minimum amount, minimum end date, ...… - GETVMM ORDERS
/api/v2/hashpower/vmm/orders?ts=1715166465712&op=LT&limit=100List caller's VMM orders with optional status, algorithm, USDT market, and pool filters. - GETVMM ORDER DETAILS
/api/v2/hashpower/vmm/order/:idGet VMM order details by order ID, including package snapshot and earn data. - GETVMM ORDER SPEED STATS
/api/v2/hashpower/vmm/order/:id/statsReturns speed and payrate time-series statistics for a VMM order. Supports time range filtering via fromTimestamp/toTimestamp (ms). Defaults to full order… - GETVMM ORDER PAYOUTS
/api/v2/hashpower/vmm/order/:id/payoutsReturns all BTC payouts for a VMM order, newest first. - GETVMM ORDER EARN STATS
/api/v2/hashpower/vmm/order/:id/earnStatsReturns earn statistics for a VMM order: totalPaid (BTC already paid), pending (BTC mined but not yet paid), and a time-series earn graph. Lifetime mined =… - GETORDER DETAILS
/api/v2/hashpower/order/:idGet hashpower order detailed information using order id. - DELETECANCEL ORDER
/api/v2/hashpower/order/:idCancel hashpower order by id.<br/><br/>Only orders in <b>ACTIVE</b> status are cancellable; <b>STANDARD</b> orders whose end time has passed return… - GETORDER STATISTICS
/api/v2/hashpower/order/:id/statsGet statistical streams for selected order using order id. Result consists of following streams:<br/><lu><li>Timestamp in milliseconds since… - GETBUSINESS ORDER STATISTICS
/api/v2/hashpower/order/:id/business/statsGet statistical streams for selected business order using order id. Result consists of following streams:<br/><lu><li>Timestamp in milliseconds since… - GETMY ORDERS
/api/v2/hashpower/myOrders?ts=255135600000000&op=GT&limit=101Get a list of my hashpower orders matching the filtering criteria as specified by parameters included in the request. - GETBUSINESS SETTINGS DETAILS
/api/v2/hashpower/business/settings/infoGet business settings details. - GETBUSINESS BUYER DETAILS
/api/v2/hashpower/business/buyers/infoGet your business buyer information. - GETBUSINESS BUYER STATISTICS
/api/v2/hashpower/business/buyer/stats?aggregation=DAY&algorithm=SHA256ASICBOOSTGet statistics about your business orders aggregated by day. - GETBUSINESS BUYER EXPORT STATISTICS
/api/v2/hashpower/business/buyer/stats/export?algorithm=SHA256ASICBOOST&beginTime=255135600000000&endTime=255135600000000Export business statistics in selected range.
hashpower-endpoint
- POSTcreateCustomOrder
/api/v2/hashpower/solo/custom/order - POSTupdateMassBuyPackage
/api/v2/hashpower/mass-buy/package/:id/update - POSTrepeatMassBuyPackage
/api/v2/hashpower/mass-buy/package/:id/repeat - POSTcancelMassBuyPackage
/api/v2/hashpower/mass-buy/package/:id/cancel - POSTcreateMassBuyPackage
/api/v2/hashpower/mass-buy/package/create - GETgetPublicTeams_2
/api/v2/hashpower/solo/teams/public - GETgetPublicTeamById_2
/api/v2/hashpower/solo/teams/public/:id - GETgetCustomPackageConfigurations
/api/v2/hashpower/solo/custom/configurations - GETcheckClaimedBTC
/api/v2/hashpower/solo/checkClaimedBTC?ticket=e14a3315-5a39-4480-a456-d3aef20cb98c - GETgetOrderWithdrawals
/api/v2/hashpower/order/:id/withdrawals - GETgetMassBuyPackages
/api/v2/hashpower/mass-buy/packages - GETgetLatestMassBuyPackages
/api/v2/hashpower/mass-buy/packages/latest - GETgetMassBuyPackageById
/api/v2/hashpower/mass-buy/package/:id - GETgetMassBuyConfigurationById
/api/v2/hashpower/mass-buy/configurations
solo-fee-repair-endpoint
- POSTsubmit
/admin/solo/fee-repairs - POSTcancel
/admin/solo/fee-repairs/:id/cancel - GETget
/admin/solo/fee-repairs/:id - GETwithdrawals
/admin/solo/fee-repairs/:id/withdrawals?ownerId=3fa85f64-5717-4562-b3fc-2c963f66afa6&coin=BTC - GETnetworkCosts
/admin/solo/fee-repairs/:id/network-costs?ownerId=3fa85f64-5717-4562-b3fc-2c963f66afa6&coin=BTC - GETledger
/admin/solo/fee-repairs/:id/ledger?ownerId=3fa85f64-5717-4562-b3fc-2c963f66afa6&coin=BTC - GETitems
/admin/solo/fee-repairs/:id/items
root-endpoint
- GETroot
/
API details
- Base URL
https://api2.nicehash.com/mainhttps://api-test.nicehash.com/mainhttps://api-test-dev.nicehash.com/main- Authentication
- An API key in the X-API-Key header
An API key in the X-API-Key header
An API key in the X-API-Key header
An API key in the X-API-Key header
An API key in the X-API-Key header
An API key in the X-API-Key header
An API key in the X-API-Key header
An API key in the X-API-Key header
An API key in the X-API-Key header
An API key in the X-API-Key header - Operations
- 107 operations on 104 pathsGET 85POST 20DELETE 2
- Main resources
- Hashpower public 32Hashpower private 23EasyMining public 16hashpower-endpoint 14EasyMining private 9solo-fee-repair-endpoint 7Pools 5root-endpoint 1
- Response formats
application/json*/*- Description format
- OpenAPI 3.0.1, API version
v2 - Links
- OpenAPI document
How to test the NiceHash in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the NiceHash collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the X-API-Key header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “MINED BLOCKS” (GET /api/v2/public/solo/singleReward), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the NiceHash?
Hashpowerorders API application description It is listed under Finance & banking and has 107 endpoints.
Who publishes the NiceHash?
It is listed from Nicehash's public API description (an OpenAPI document), not published by Nicehash on Swastik Codes. Anyone who controls nicehash.com can claim the profile by adding a DNS TXT record.
What is the base URL of the NiceHash?
Its description lists 3 base URLs: https://api2.nicehash.com/main, https://api-test.nicehash.com/main, https://api-test-dev.nicehash.com/main. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the NiceHash?
It accepts 10 methods: an API key in the X-API-Key header; an API key in the X-API-Key header; an API key in the X-API-Key header; an API key in the X-API-Key header; an API key in the X-API-Key header; an API key in the X-API-Key header; an API key in the X-API-Key header; an API key in the X-API-Key header; an API key in the X-API-Key header; an API key in the X-API-Key header.
How many endpoints does the NiceHash have?
107 operations on 104 paths (85 GET, 20 POST, 2 DELETE). The largest groups are Hashpower public, Hashpower private, EasyMining public, hashpower-endpoint.
Is forking the NiceHash free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.