SUBTC API Endpoint (Public and Tor)
SUBTC API can be accessed through both the public Internet and a Tor hidden service.
Public API endpoint:
https://api.subtc.net
Tor API endpoint:<br>
http://ofwahoue652hjkwdc4osoc52tc6gu62ybjgc43jnuz4fleojadx73wyd.onion<br>Developers can send the same curl commands to either endpoint.<br>This allows applications to operate over normal networks or through Tor for additional privacy and censorship resistance.
Example health check (public):
curl https://api.subtc.net/health
Example health check (Tor):
curl --socks5-hostname 127.0.0.1:9050 \
http://ofwahoue652hjkwdc4osoc52tc6gu62ybjgc43jnuz4fleojadx73wyd.onion/health
Both endpoints provide identical API behavior.
API Base:<br>https://subtc.net/api