This question already has an answer here:

in my site the user has a link to check the transactions and his wallet address.

right now I am using this:

blockchain: https://blockchain.info/tx/#{txid}

address_url: https://blockchain.info/address/#{address}

and works perfect for btc mainnet

in my code I have this to get the blocks and addresses info, my question is how can I get the same thing but using testnet?

I tried https://www.blockcypher.com api but did not work, any help? thank you.

what I want it is get the transactions and addressess info from their in my website.

it is already working but just with btc main chain

I am using testnetchain already: bitcoin.conf testnet=1

can someone one explain how to get this info using the testnet?

is blockcypher or another website similar to blockchaininfo to me get these parameters.

marked as duplicate by Nate Eldredge, Pieter Wuille, Raghav Sood, chytrik, Andrew Chow Dec 2 at 19:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 1 down vote accepted

Blockchain.info does appear to support testnet blocks and transactions by simply using the "testnet" subdomain.

For example:

txid: 4200cea53a075f3081156a9d664fe05cfe108a09e26e8f20ee65e7ebe141060b

block: 1443900

address: mum6KQEwAHGDRr7HRXx7hufcsyqiGPUCtN

So in your case simply use this:

https://testnet.blockchain.info/tx/#{txid}

https://testnet.blockchain.info/address/#{address}

Not the answer you're looking for? Browse other questions tagged or ask your own question.