SOCHAIN API · V3

Ask it, or call it.

Every answer works two ways: in plain words through your AI agent, or as a REST call. Same data, same key, four blockchains.

Your agentSet up your agent What’s the balance of bc1qxhmdufsvnuaaaer4ynz88fspdsxq2h9e9cetdj right now? sochain · get_balance · BTC It holds 0.12771200 BTC, all confirmed. Nothing is waiting in the mempool. Actual AI responses may differ
The API
curl https://sochain.com/api/v3/balance/BTC/bc1qxhmdufsvnuaaaer4ynz88fspdsxq2h9e9cetdj \
  -H "API-KEY: $SOCHAIN_API_KEY"
{
  "status": "success",
  "data": {
    "confirmed": "0.12771200",
    "unconfirmed": "0.00000000"
  }
}
200 OK · 17 ms · no key needed
Already integrated? It keeps working. Same base URL, paths, fields and API key. Limits are now monthly, and broadcast_transaction is no longer offered.

Quickstart

1 Get your key Sign in with your email and an 8-digit sign-in code. Your key is shown once on the dashboard: copy it then. Sign in →
2 Send it as a header API-KEY: YOUR_API_KEY Keep it on your server — never ship it in client-side code.
3 Call any endpoint https://sochain.com/api/v3/…

From a terminal, no key needed: npx sochain-cli balance BTC bc1qxhmdufsvnuaaaer4ynz88fspdsxq2h9e9cetdj · the SoChain CLI

Networks

Every endpoint takes a network code. Same paths, same fields, on all of them.

Endpoints

Responses & errors

JSON: success wraps the result in data; failures explain themselves in data.error_message.

200"success"Here’s your data.
401"fail"Invalid key (or none where one is needed), a locked account, or the month’s requests and the free rate both used up.
404"fail"Not found — check the network code, address, hash or height.
Every status and message →

Plans & limits

Free $0 75,000 requests / month
Best-effort support
Hobby $35 / mo 500,000 requests / month
Email support
Starter $149 / mo 1,500,000 requests / month
Support usually within 48 h
Professional $499 / mo 15,000,000 requests / month
Support usually within 24 h
Behemoth $1,999 / mo 150,000,000 requests / month
Support usually within 12 h
API calls, webhook notifications and live address events all count toward your monthly requests; lookups also work without a key. Compare plans → · Need more? Talk to us