Access SUBTC API over Tor with curl
SUBTC API can be accessed through Tor using the SOCKS5 proxy provided by the Tor daemon.
Example using curl with Tor:
curl --socks5-hostname 127.0.0.1:9050 \
http://ofwahoue652hjkwdc4osoc52tc6gu62ybjgc43jnuz4fleojadx73wyd.onion/healthExample response:
{
"ok": true,
"request_id": "e2c0a658c4e93598",
"result": {
"coin": "btc",
"configured": true,
"fee_bps": 300,
"min_send_sat": 50000
}
}
What happened:
curl routed the request through the Tor SOCKS5 proxy running on 127.0.0.1:9050.
The request reached the SUBTC hidden service and returned the gateway health status.
This allows developers to interact with the API without exposing their public IP.
API Base:
https://subtc.net/api