<p>One of the key aspects of a mining protocol is that the miners should be informed immediately when a new block is confirmed on the network. Otherwise, they will continue working on the old block which would then be useless work.</p>

<p>This is why there is not a simple GET/POST protocol for mining. The miners keep a connection open to the pool servers, so that there can be immediate two-way communication between them (from the miner for the case of a share completed, or from the server in the case of a new block).</p>

CC BY-SA 3.0
2014-03-25T20:13:08.440Z
what protocol is used? how could it be connected with a web address? :)
Amy Neville
CC BY-SA 3.0
2014-03-25T20:15:48.603Z
The common protocols are [getwork](https://en.bitcoin.it/wiki/Getwork) (not used much today), [getblocktemplate](https://en.bitcoin.it/wiki/Getblocktemplate), and [stratum](https://mining.bitcoin.cz/stratum-mining).
Greg Hewgill
CC BY-SA 3.0
2017-02-06T09:46:48.150Z
I think we could leverage notification work to push notification, so, aside from that are there any more thing cannot implement as restful ?
Thaina
CC BY-SA 3.0
2014-03-25T19:38:52.467Z
2014-03-25T19:38:52.467Z
Greg Hewgill
<p>Is there any pool where I can complete mining work for a mining pool via and http requests? Some sort of API? </p>

<p>I have access to a lot of computational power that I want to route to a mining pool using php..</p>

<p>Something like this:</p>

<p>1) visit url (including login details)</p>

<p>2) response includes mining work/problem</p>

<p>3) visit different url to submit completed work and have tiny payout from pool</p>

<api><php><webminer>
Http Requests Bitcoin Mining Pool?
Amy Neville
# Http Requests Bitcoin Mining Pool?

(Asked by: username_0 on 2014-03-25)

Is there any pool where I can complete mining work for a mining pool via and http requests? Some sort of API?

I have access to a lot of computational power that I want to route to a mining pool using php..

Something like this:

1) visit url (including login details)

2) response includes mining work/problem

3) visit different url to submit completed work and have tiny payout from pool

**Tags:** api, php, webminer


---

## 1 answers

### Answer by username_1 on 2014-03-25. Score: 1 | Accepted answer

One of the key aspects of a mining protocol is that the miners should be informed immediately when a new block is confirmed on the network. Otherwise, they will continue working on the old block which would then be useless work.

This is why there is not a simple GET/POST protocol for mining. The miners keep a connection open to the pool servers, so that there can be immediate two-way communication between them (from the miner for the case of a share completed, or from the server in the case of a new block).

> **Comments:**
> **username_0**: what protocol is used? how could it be connected with a web address? :)  
> **username_1**: The common protocols are [getwork](https://en.bitcoin.it/wiki/Getwork) (not used much today), [getblocktemplate](https://en.bitcoin.it/wiki/Getblocktemplate), and [stratum](https://mining.bitcoin.cz/stratum-mining).  
> **username_2**: I think we could leverage notification work to push notification, so, aside from that are there any more thing cannot implement as restful ?  

---

