OIO API
publish content using your BTC KEY
PUBLISH A POST
curl -X POST https://sobtc.net/api/publish -H "X-BTC-KEY: YOUR_BTC_KEY" -d "text=hello #bitcoin #ipfs"
RESPONSE
{"cid":"Qm...","slug":"abc123","url":"https://sobtc.net/abc123"}
VERIFY IDENTITY — AUTH
Allow third-party sites to verify SOBTC.NET identity. Returns only public info — never the key.
curl -X POST https://sobtc.net/auth/verify \ -H "Content-Type: application/json" \ -d '{"btc_id":"OIO-xxxxxxxx","btc_key":"BTC-KEY-..."}'
{"verified":true,"username":"btc","btc_id":"OIO-xxxxxxxx"}
→ CORS enabled — works from any domain
→ Returns only: verified status + username + btc_id
→ Never returns: BTC KEY or any sensitive data
Auth: X-BTC-KEY header
Content-Type: text/plain (form field: text)
Hashtags: #tag auto-detected and indexed