<p>With a trial &amp; error procedure I've found this one :-)</p>

<p>Prefix for APIs is <a href="https://test-bch-insight.bitpay.com/api" rel="nofollow noreferrer">https://test-bch-insight.bitpay.com/api</a></p>

<p>For example:
<a href="https://test-bch-insight.bitpay.com/api/addrs/2MzrMhMEPN9KYsZHgijMqekPa8kmvwsuEVm,2N1w811DgtWzjHdwtP1zzbXqJdh9vNK3sk9,2N3rs2KJBYxZQifg5TY6Bjb8CGcvmYTppsG/utxo" rel="nofollow noreferrer">https://test-bch-insight.bitpay.com/api/addrs/2MzrMhMEPN9KYsZHgijMqekPa8kmvwsuEVm,2N1w811DgtWzjHdwtP1zzbXqJdh9vNK3sk9,2N3rs2KJBYxZQifg5TY6Bjb8CGcvmYTppsG/utxo</a></p>

CC BY-SA 3.0
2018-04-10T21:14:41.000Z
Returns 404. The root works but not the /api
arshbot
CC BY-SA 3.0
2018-04-11T05:06:58.900Z
That's only the base url, full api call works, I've edited comment adding one example
Alessandro Polverini
CC BY-SA 4.0
2019-11-28T17:56:49.783Z
It's not working, any updates?
Federico Caccia
CC BY-SA 3.0
2018-01-31T15:35:10.220Z
2018-04-11T05:06:28.220Z
2018-04-11T05:06:28.220Z
Alessandro Polverini
<p>Bitpay did a large refactor of Insight/Bitcore so both BTC and BCH run off the same backend. The new URLs are:</p>

<ul>
<li>Block explorer: <a href="https://insight.bitcore.io/#/BCH/mainnet/home" rel="nofollow noreferrer">https://insight.bitcore.io/#/BCH/mainnet/home</a></li>
<li>API: <a href="https://api.bitcore.io/api/BCH/mainnet" rel="nofollow noreferrer">https://api.bitcore.io/api/BCH/mainnet</a></li>
<li>API Docs: <a href="https://github.com/bitpay/bitcore/blob/master/packages/bitcore-node/docs/api-documentation.md" rel="nofollow noreferrer">https://github.com/bitpay/bitcore/blob/master/packages/bitcore-node/docs/api-documentation.md</a></li>
<li>Swap <code>mainnet/testnet</code> and <code>BTC/BCH</code> slugs as required</li>
</ul>

<p>Example: get UTXOs for some random address I grabbed out of a recent block:</p>



<pre><code>$ curl -s https://api.bitcore.io/api/BCH/mainnet/address/qz09ljd3fthvuuasw3tchnhm8a5z5ppm9vc4t6s5pe/?unspent=true | jq

[
  {
    "_id": "5cae0b7912025b0a3983bf75",
    "chain": "BCH",
    "network": "mainnet",
    "coinbase": false,
    "mintIndex": 2,
    "spentTxid": "",
    "mintTxid": "81d1e58956eb5ba269ad3ac6394382825bd9d9b4d3a22eca03133eef19446b72",
    "mintHeight": 577661,
    "spentHeight": -2,
    "address": "qz09ljd3fthvuuasw3tchnhm8a5z5ppm9vc4t6s5pe",
    "script": "76a9149e5fc9b14aeece73b074578bcefb3f682a043b2b88ac",
    "value": 7000000,
    "confirmations": -1
  },
  {
    "_id": "5cae0f6212025b0a3988a698",
    "chain": "BCH",
    "network": "mainnet",
    "coinbase": false,
    "mintIndex": 0,
    "spentTxid": "",
    "mintTxid": "b8b72fa7defb89824f9c31d6294e3764c4675ac085668604113f4b6394d8cdde",
    "mintHeight": 577664,
    "spentHeight": -2,
    "address": "qz09ljd3fthvuuasw3tchnhm8a5z5ppm9vc4t6s5pe",
    "script": "76a9149e5fc9b14aeece73b074578bcefb3f682a043b2b88ac",
    "value": 1111,
    "confirmations": -1
  }
]
</code></pre>

CC BY-SA 4.0
2019-11-28T18:02:37.780Z
tesnet endpoints are still working!
Federico Caccia
CC BY-SA 4.0
2019-04-10T23:01:18.237Z
2019-04-10T23:01:18.237Z
xref
<p>I was wondering if anyone know a testnet version of Insight API for Bitcoin Cash?</p>

<p>For mainnet there are those:</p>

<ul>
<li><a href="https://bch-insight.bitpay.com/api/" rel="noreferrer">https://bch-insight.bitpay.com/api/</a></li>
<li><a href="https://bch-bitcore2.trezor.io/api/" rel="noreferrer">https://bch-bitcore2.trezor.io/api/</a></li>
</ul>

<p>But I cannot find one for testnet.</p>

<p>Thank you very much.</p>

CC BY-SA 3.0
2017-09-27T06:00:19.040Z
Murch has voted to delete my answer but on the same link (blockdozer) which I mentioned in answer has option for bitcoin cash test network by clicking on ecurrency
rahul
<api><bitcoin-cash>
Bitcoin Cash testnet version of insight API
Fujisawa
# Bitcoin Cash testnet version of insight API

(Asked by: username_0 on 2017-09-22)

I was wondering if anyone know a testnet version of Insight API for Bitcoin Cash?

For mainnet there are those:

* <https://bch-insight.bitpay.com/api/>
* <https://bch-bitcore2.trezor.io/api/>

But I cannot find one for testnet.

Thank you very much.

**Tags:** api, bitcoin-cash

> **Comments:**
> **username_1**: Murch has voted to delete my answer but on the same link (blockdozer) which I mentioned in answer has option for bitcoin cash test network by clicking on ecurrency  

---

## 2 answers

### Answer by username_2 on 2018-01-31. Score: 3

With a trial & error procedure I've found this one :-)

Prefix for APIs is <https://test-bch-insight.bitpay.com/api>

For example:
<https://test-bch-insight.bitpay.com/api/addrs/2MzrMhMEPN9KYsZHgijMqekPa8kmvwsuEVm,2N1w811DgtWzjHdwtP1zzbXqJdh9vNK3sk9,2N3rs2KJBYxZQifg5TY6Bjb8CGcvmYTppsG/utxo>

> **Comments:**
> **username_3**: Returns 404. The root works but not the /api  
> **username_2**: That's only the base url, full api call works, I've edited comment adding one example  
> **username_4**: It's not working, any updates?  

---

### Answer by username_5 on 2019-04-10. Score: 2

Bitpay did a large refactor of Insight/Bitcore so both BTC and BCH run off the same backend. The new URLs are:

* Block explorer: <https://insight.bitcore.io/#/BCH/mainnet/home>
* API: <https://api.bitcore.io/api/BCH/mainnet>
* API Docs: <https://github.com/bitpay/bitcore/blob/master/packages/bitcore-node/docs/api-documentation.md>
* Swap `mainnet/testnet` and `BTC/BCH` slugs as required

Example: get UTXOs for some random address I grabbed out of a recent block:

```
$ curl -s https://api.bitcore.io/api/BCH/mainnet/address/qz09ljd3fthvuuasw3tchnhm8a5z5ppm9vc4t6s5pe/?unspent=true | jq

[
  {
    "_id": "5cae0b7912025b0a3983bf75",
    "chain": "BCH",
    "network": "mainnet",
    "coinbase": false,
    "mintIndex": 2,
    "spentTxid": "",
    "mintTxid": "81d1e58956eb5ba269ad3ac6394382825bd9d9b4d3a22eca03133eef19446b72",
    "mintHeight": 577661,
    "spentHeight": -2,
    "address": "qz09ljd3fthvuuasw3tchnhm8a5z5ppm9vc4t6s5pe",
    "script": "76a9149e5fc9b14aeece73b074578bcefb3f682a043b2b88ac",
    "value": 7000000,
    "confirmations": -1
  },
  {
    "_id": "5cae0f6212025b0a3988a698",
    "chain": "BCH",
    "network": "mainnet",
    "coinbase": false,
    "mintIndex": 0,
    "spentTxid": "",
    "mintTxid": "b8b72fa7defb89824f9c31d6294e3764c4675ac085668604113f4b6394d8cdde",
    "mintHeight": 577664,
    "spentHeight": -2,
    "address": "qz09ljd3fthvuuasw3tchnhm8a5z5ppm9vc4t6s5pe",
    "script": "76a9149e5fc9b14aeece73b074578bcefb3f682a043b2b88ac",
    "value": 1111,
    "confirmations": -1
  }
]

```

> **Comments:**
> **username_4**: tesnet endpoints are still working!  

---

