SimpleBSV
BSV Publishing API
Checking health… vβ€”

Overview

Multi-wallet publishing with a persistent queue, simple auth, and health checks.
Base URL
β€”
Wallets
β€”
Processing
β€”

Endpoints

GET
/ (service info)
GET
/health (health check)
GET
/status (queue status)
GET
/wallets (wallet info)
GET
/jobs (all jobs)
GET
/jobs/:id (job by id)
POST
/publish/text, /publish/json, /publish/raw API key
POST
/send API key
DELETE
/jobs/completed API key

cURL Examples

Replace YOUR_API_KEY with a valid key. These write endpoints require authorization.
# Publish text (async - returns immediately)
curl -sX POST \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"text":"Hello, BSV!"}' \
  ${window.location.origin}/publish/text

# Publish text (sync - waits for txid)
curl -sX POST \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"text":"Hello, BSV!"}' \
  '${window.location.origin}/publish/text?wait=true'

# Send 1000 sats
curl -sX POST \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"recipient":"1ExampleAddr..","amount":1000}' \
  ${window.location.origin}/send