<p>If you have a running instance of Bitcoin Core, you can use <code>estimatesmartfee</code> to get a fee rate estimate.</p>

CC BY-SA 3.0
2017-10-04T18:35:24.130Z
2017-10-04T18:35:24.130Z
Ava Chow
<p>I have a shell script, that fetches current bitcoin fees from <a href="https://bitcoinfees.21.co/" rel="nofollow noreferrer">https://bitcoinfees.21.co/</a> with this command:</p>

<pre><code>curl -sS -L --insecure https://bitcoinfees.21.co/api/v1/fees/recommended
</code></pre>

<p>When I run this command from (Central-) Europe, I never encountered an issue. Now I am in Africa, and obviously there is JavaScript injected by Cloudflare, asking for a Captcha. This prevents to get the values with a  shell script (command line). Is there a way around it, or are there other services for an overview of fees for BTC? </p>

<transaction-fees><cli>
Getting current Bitcoin Fees from Command LIne?
pebwindkraft
# Getting current Bitcoin Fees from Command LIne?

(Asked by: username_0 on 2017-10-04)

I have a shell script, that fetches current bitcoin fees from <https://bitcoinfees.21.co/> with this command:

```
curl -sS -L --insecure https://bitcoinfees.21.co/api/v1/fees/recommended

```

When I run this command from (Central-) Europe, I never encountered an issue. Now I am in Africa, and obviously there is JavaScript injected by Cloudflare, asking for a Captcha. This prevents to get the values with a shell script (command line). Is there a way around it, or are there other services for an overview of fees for BTC?

**Tags:** transaction-fees, cli


---

## 1 answers

### Answer by username_1 on 2017-10-04. Score: 2

If you have a running instance of Bitcoin Core, you can use `estimatesmartfee` to get a fee rate estimate.


---

