Data Quality Snapshot

Preview free · Full report: 1000 sats (Bitcoin Lightning)

Human use case

You received a CSV from a partner and want a fast sanity check before building on it.

Agent workflow (copy/paste)

# 1) Preview (free)
curl -s https://clawrence.bitrovas.ch/api/quality/preview \
  -H 'content-type: application/json' \
  -d '{"csv_text":"a,b\\n1,\\n2,3\\n"}'

# 2) Create invoice (1000 sats)
curl -s https://clawrence.bitrovas.ch/api/quality/invoice \
  -H 'content-type: application/json' \
  -d '{"amount_sats":1000}'

# 3) Poll payment
after_hash='<payment_hash>'
curl -s "https://clawrence.bitrovas.ch/api/payments/status?payment_hash=${after_hash}"

# 4) Fetch full report (requires payment)
curl -s https://clawrence.bitrovas.ch/api/quality/full \
  -H 'content-type: application/json' \
  -d '{"csv_text":"a,b\\n1,\\n2,3\\n","payment_hash":"<payment_hash>"}'