user64695: I'd like to get hash-rate of BTC from OKcoin' API(GET /api/v1/charts/:type)
here is OKCoin's API web site.
How can I get information from  here is OKCoin's API web site.
python
gets = requests.get("http://block.okcoin.cn/api/v1/charts/hash-rate.do")
gets.json()

OUT
{'error_code': 10010, 'result': False}

user81068: I couldn't find a Hash-Rate endpoint in OKCoin's API anymore, but I found an endpoint from blockchain.info
To get the data programmatically, you can call:
import requests
response = requests.get("https://blockchain.info/q/hashrate")
print(response.json())


64695: <p>I'd like to get hash-rate of BTC from OKcoin' API(GET /api/v1/charts/:type)</p>

<p><a href="https://www.bihang.com/about/block_api.html" rel="nofollow noreferrer">here</a> is OKCoin's API web site.</p>

<p>How can I get information from  <a href="https://www.bihang.com/about/block_api.html" rel="nofollow noreferrer">here</a> is OKCoin's API web site.</p>

<p><code>python
gets = requests.get("http://block.okcoin.cn/api/v1/charts/hash-rate.do")
gets.json()
</code>
OUT
{'error_code': 10010, 'result': False}</p>
 81068: <p>I couldn't find a Hash-Rate endpoint in OKCoin's API anymore, but I found an endpoint from <a href="https://blockchain.info/q/hashrate" rel="nofollow noreferrer">blockchain.info</a></p>

<p>To get the data programmatically, you can call:</p>

<pre><code>import requests
response = requests.get("https://blockchain.info/q/hashrate")
print(response.json())
</code></pre>
