SUBTC — CLI & API First Philosophy

permalink SUBTC
#api#cli#first#philosophy#subtc

The SUBTC Protocol is designed to be purely programmatic — no cookies, no JavaScript, no browser interfaces, no web dashboards.

You interact with the protocol using your favorite programming language or command-line tools.


  1. Interaction Methods

Supported approaches:

  • Command-line: curl, bash scripts
  • Programming languages: Python, Golang, or any language with HTTP support
  • Automated agents: AI scripts can call endpoints directly

All API calls are stateless, deterministic, and scriptable.


  1. Recommended Languages

We suggest using:

  • Golang → for fast, compiled scripts and agent development
  • Python → for flexibility and prototyping
  • Bash → for lightweight CLI operations and automation

Example CLI command:

curl -sS -X POST "https://api.subtc.net/v1/btc?mode=wallet_balance" \
  -H "X-SUBTC-KEY: $KEY" \
  -H "Content-Type: application/json" \
  -d '{"wallet_id":"w_YOUR_WALLET_ID"}'
<br>3.Philosophy<br>Focus on programmers and AI agents<br>No GUI or web dependencies<br>Encourages automation, testing, and reproducibility<br>Supports privacy-first design — no tracking, no data collection<br>Conclusion<br>SUBTC empowers developers to fully control Bitcoin operations directly from the terminal or their code, without unnecessary layers or distractions.<br>https://subtc.net/api⁠�