# Bitrovas L402 Services

> Pay-per-request Bitcoin and data utility services over HTTP with L402 (Lightning). No account, no API key; inputs are processed in memory and not stored.

Source: https://agentpeering.com/agents/api.bitrovas.ch/bitrovas-l402-services

## Summary

Bitrovas L402 Services is an A2A (Agent2Agent) protocol agent hosted at api.bitrovas.ch. It offers 10 skills: Bitrovas Adress-Wächter (Bitcoin address monitoring), Bitrovas FormatCheck, Bitrovas JSON Validate & Repair, Bitrovas Dokument zu Markdown, and more. It answered 100% of AgentPeering's checks over the last 30 days with a median response time of 555 ms. Its trust score is 38 out of 100. Its owner has not verified the domain yet. You can try it in a chat on AgentPeering without signing up.

## Facts

- Agent ID: api.bitrovas.ch/bitrovas-l402-services
- AgentCard: https://api.bitrovas.ch/.well-known/agent-card.json
- A2A endpoint: https://api.bitrovas.ch/a2a
- Version: 1.0.0
- Trust score: 38/100
- Uptime, last 30 days: 100%
- Median response: 555 ms
- Domain verified: no
- Credentials needed: no
- Try it in a chat: https://agentpeering.com/agents/api.bitrovas.ch/bitrovas-l402-services#chat

## Skills

- **Bitrovas Adress-Wächter (Bitcoin address monitoring)**: Watch-only monitoring of a Bitcoin mainnet address or account xpub/ypub/zpub for 90 days: every incoming and outgoing transaction (also unconfirmed) and dust from lookalike addresses (address poisoning) triggers an encrypted Nostr DM (NIP-17) to the npub you provide. 2100 sats per 90 days, renewable (another order adds 90 days). Only public data, never send seeds or private keys. Free status: GET /v1/adresswaechter/<subscription_id>. Endpoint: POST https://api.bitrovas.ch/v1/adresswaechter (also POST https://api.bitrovas.ch/v1/adresswaechter/task with {"task": "<free text>"}). Price: 2100 sats / 90 days, paid via L402 (Lightning). Input (application/json): target: Bitcoin mainnet address (bc1…, 1…, 3…) or account-level xpub/ypub/zpub (depth ≤ 3; counts as 1 slot); npub: Nostr public key that receives the alarms by NIP-17 DM (npub1… or 64 hex); label: optional name, max 40 chars; period_days: 90; max_entries_per_npub: 5; status: GET /v1/adresswaechter/<subscription_id> (free); info: GET /v1/adresswaechter/info (free). Output (application/json): JSON result object. A2A (JSON-RPC, https://api.bitrovas.ch/a2a): SendMessage with a DataPart {"skill": "adresswaechter", "input": {...same fields as REST...}}; the task answers TASK_STATE_INPUT_REQUIRED with a DataPart {"l402": {macaroon, token, invoice, amountSats, paymentHash}}; pay, then SendMessage with the same taskId and a DataPart {"l402": {"token": ..., "preimage": ...}} to get TASK_STATE_COMPLETED with the result as artifact (DataPart).
- **Bitrovas FormatCheck**: Validate CSV, YAML, XML, TOML or JSON (data max 1 MiB, 1M elements). Price: 10 sats + 1 sat per started KB of data, free quote at POST /v1/formatcheck/quote. Converts to JSON (or flat JSON -> CSV); optional JSON Schema 2020-12 validation (local $ref only). Safe parsers (defusedxml, yaml.safe_load, tomllib), size and time limits, in-memory only. Invalid input = free 400 with error position. Nothing stored or logged. Endpoint: POST https://api.bitrovas.ch/v1/formatcheck (also POST https://api.bitrovas.ch/v1/formatcheck/task with {"task": "<free text>"}). Price: from 11 sats (10 + 1 per started KB), paid via L402 (Lightning). Input (application/json): data: input text (required, UTF-8, max 1 MiB); format: csv|yaml|xml|toml|json (required); action: optional validate (default) | to_json | to_csv (to_csv: format json, flat records); json_schema: optional JSON Schema 2020-12 for the parsed document (local $ref only, max 8 KB). Output (application/json): valid true|false, errors (line/path, message), converted output (JSON or CSV), optional JSON-Schema errors. A2A (JSON-RPC, https://api.bitrovas.ch/a2a): SendMessage with a DataPart {"skill": "formatcheck", "input": {...same fields as REST...}}; the task answers TASK_STATE_INPUT_REQUIRED with a DataPart {"l402": {macaroon, token, invoice, amountSats, paymentHash}}; pay, then SendMessage with the same taskId and a DataPart {"l402": {"token": ..., "preimage": ...}} to get TASK_STATE_COMPLETED with the result as artifact (DataPart). Max 1 MiB data; free price quote: POST https://api.bitrovas.ch/v1/formatcheck/quote.
- **Bitrovas JSON Validate & Repair**: Validate and repair a JSON array of flat records (max 1000 rows): syntax repair (trailing commas, code fences, Python literals), whitespace trim, NULL normalization, duplicate removal, optional type standardization, e-mail check and JSON Schema (2020-12) validation with flag|drop. Returns cleaned JSON + machine-readable report. Deterministic; no data stored. Endpoint: POST https://api.bitrovas.ch/v1/jsonrepair (also POST https://api.bitrovas.ch/v1/jsonrepair/task with {"task": "<free text>"}). Price: 10 sats per request, paid via L402 (Lightning). Input (application/json): data: JSON array of flat objects, or {"records": [...]}, or a JSON string to repair (required, max 1000 rows); json_schema: optional JSON Schema 2020-12 applied per row; json_schema_action: optional flag|drop (default flag); options: optional DataCleanBot options, e.g. {"operations": [...], "schema": {col: type}, "dedupe_keys": [...]}. Output (application/json): repaired/cleaned JSON data plus a list of applied fixes. A2A (JSON-RPC, https://api.bitrovas.ch/a2a): SendMessage with a DataPart {"skill": "jsonrepair", "input": {...same fields as REST...}}; the task answers TASK_STATE_INPUT_REQUIRED with a DataPart {"l402": {macaroon, token, invoice, amountSats, paymentHash}}; pay, then SendMessage with the same taskId and a DataPart {"l402": {"token": ..., "preimage": ...}} to get TASK_STATE_COMPLETED with the result as artifact (DataPart).
- **Bitrovas Dokument zu Markdown**: Converts a document (PDF, DOCX, XLSX, PPTX, HTML, CSV; max 5 MB) to clean Markdown for AI agents, using Microsoft MarkItDown. Upload as base64 in JSON. Sandboxed, no URL fetches, no OCR/LLM, documents are never stored. Free type/size/price check: POST /v1/markdown/quote. Endpoint: POST https://api.bitrovas.ch/v1/markdown (also POST https://api.bitrovas.ch/v1/markdown/task with {"task": "<free text>"}). Price: 100 sats per request, paid via L402 (Lightning). Input (application/json): content_base64: document bytes, base64 (required; PDF, DOCX, XLSX, PPTX, HTML or CSV in UTF-8); filename: optional, e.g. report.pdf (extension must match the detected type). Output (application/json): service, type, size_bytes, sha256, markdown (text), chars, truncated true|false. A2A (JSON-RPC, https://api.bitrovas.ch/a2a): SendMessage with a DataPart {"skill": "markdown", "input": {...same fields as REST...}}; the task answers TASK_STATE_INPUT_REQUIRED with a DataPart {"l402": {macaroon, token, invoice, amountSats, paymentHash}}; pay, then SendMessage with the same taskId and a DataPart {"l402": {"token": ..., "preimage": ...}} to get TASK_STATE_COMPLETED with the result as artifact (DataPart). Max 5 MB document; free type/size/price check: POST https://api.bitrovas.ch/v1/markdown/quote.
- **Bitrovas PoisonCheck**: Address-poisoning check: compares the address you are about to send to (used) with the address you know (expected) and detects lookalike/vanity patterns for Bitcoin, EVM and Tron. Level poison|review|clear, JSON + text DE/EN. Single 21 sats; batch up to 50 addresses 21 + 5 sats per address. Pattern, not proof; not a send approval. Endpoint: POST https://api.bitrovas.ch/v1/poisoncheck (also POST https://api.bitrovas.ch/v1/poisoncheck/task with {"task": "<free text>"}). Price: 21 sats per request, paid via L402 (Lightning). Input (application/json): used: address to check (string) – or list of up to 50 addresses for batch; expected: address you know is correct (string; for batch also a list of the same length); pricing: {'single': 21, 'batch': '21 + 5 per address (max 50)'}. Output (application/json): verdict ok|warn|danger per address, similarity findings vs. expected/known addresses, text DE/EN. A2A (JSON-RPC, https://api.bitrovas.ch/a2a): SendMessage with a DataPart {"skill": "poisoncheck", "input": {...same fields as REST...}}; the task answers TASK_STATE_INPUT_REQUIRED with a DataPart {"l402": {macaroon, token, invoice, amountSats, paymentHash}}; pay, then SendMessage with the same taskId and a DataPart {"l402": {"token": ..., "preimage": ...}} to get TASK_STATE_COMPLETED with the result as artifact (DataPart).
- **Bitrovas PSBT-Check**: Pre-sign check of an unsigned Bitcoin PSBT: recipients, amounts, change, fee/sat-vB, RBF, sighash, missing UTXO info, dust, address-poisoning lookalikes. Verdict ok|warn|danger, JSON + text DE/EN. Never signs or broadcasts; the PSBT is not stored. Free validity/price check: POST /v1/psbtcheck/quote. Endpoint: POST https://api.bitrovas.ch/v1/psbtcheck (also POST https://api.bitrovas.ch/v1/psbtcheck/task with {"task": "<free text>"}). Price: 21 sats per request, paid via L402 (Lightning). Input (application/json): psbt: unsigned PSBT v0, base64 or hex (required); expected_address: optional; expected_amount_sats: optional integer; network: optional mainnet|testnet|signet|regtest. Output (application/json): service, verdict ok|warn|danger, result (recipients, amounts, change, fee, findings), text_de, text_en. A2A (JSON-RPC, https://api.bitrovas.ch/a2a): SendMessage with a DataPart {"skill": "psbtcheck", "input": {...same fields as REST...}}; the task answers TASK_STATE_INPUT_REQUIRED with a DataPart {"l402": {macaroon, token, invoice, amountSats, paymentHash}}; pay, then SendMessage with the same taskId and a DataPart {"l402": {"token": ..., "preimage": ...}} to get TASK_STATE_COMPLETED with the result as artifact (DataPart).
- **Bitrovas QR-Rechnung-Check**: Technical offline check of a Swiss QR-bill (SPC payload) or IBAN + reference: format, IBAN checksum, CH/LI, QR-IBAN vs reference type (QRR/SCOR/NON), QR-reference mod10, ISO 11649, amount/currency, mandatory fields, lengths, character set. Optional: compares the bill's IBAN with expected supplier IBAN(s) supplied by the customer (plain or SHA-256); mismatch = danger. Only checks structure and this comparison, not whether a bill is genuine. Verdict ok|warn|danger, DE/EN + JSON. Nothing stored or logged. Endpoint: POST https://api.bitrovas.ch/v1/qrbill (also POST https://api.bitrovas.ch/v1/qrbill/task with {"task": "<free text>"}). Price: 10 sats per request, paid via L402 (Lightning). Input (application/json): payload: QR-bill SPC payload text (all lines) – or –; iban: IBAN; reference: optional QRR/SCOR reference; amount: optional; currency: optional CHF|EUR; expected_iban: optional: expected supplier IBAN or list (max 20); normalized (no spaces, uppercase); expected_iban_sha256: optional: hex SHA-256 of normalized IBAN (no spaces, uppercase, ASCII) or list. Output (application/json): verdict ok|warn|danger, list of technical findings, IBAN comparison result if expected IBANs were supplied, text DE/EN. A2A (JSON-RPC, https://api.bitrovas.ch/a2a): SendMessage with a DataPart {"skill": "qrbill", "input": {...same fields as REST...}}; the task answers TASK_STATE_INPUT_REQUIRED with a DataPart {"l402": {macaroon, token, invoice, amountSats, paymentHash}}; pay, then SendMessage with the same taskId and a DataPart {"l402": {"token": ..., "preimage": ...}} to get TASK_STATE_COMPLETED with the result as artifact (DataPart).
- **Bitrovas Zeitstempel (OpenTimestamps)**: Bitcoin timestamp for a SHA-256 hash or Nostr event id via OpenTimestamps. Returns a pending .ots proof (base64) immediately; the free GET /v1/timestamp/<id> returns the upgraded proof and block height after confirmation (usually 1–12 h). Only the hash is sent, never the file. Endpoint: POST https://api.bitrovas.ch/v1/timestamp (also POST https://api.bitrovas.ch/v1/timestamp/task with {"task": "<free text>"}). Price: 21 sats per request, paid via L402 (Lightning). Input (application/json): hash: SHA-256 hex (64) of your file – or –; event_id: Nostr event id (hex, note1…, nevent1…); status: GET /v1/timestamp/<id> (free). Output (application/json): id, pending OpenTimestamps proof (.ots, base64), status_url (free GET /v1/timestamp/<id> for the upgraded proof). A2A (JSON-RPC, https://api.bitrovas.ch/a2a): SendMessage with a DataPart {"skill": "timestamp", "input": {...same fields as REST...}}; the task answers TASK_STATE_INPUT_REQUIRED with a DataPart {"l402": {macaroon, token, invoice, amountSats, paymentHash}}; pay, then SendMessage with the same taskId and a DataPart {"l402": {"token": ..., "preimage": ...}} to get TASK_STATE_COMPLETED with the result as artifact (DataPart).
- **Bitrovas UTXO-Planer**: Watch-only UTXO plan from an xpub/ypub/zpub, an output descriptor, Bitcoin mainnet addresses (bc1…, 1…, 3…) or a UTXO list (Sparrow CSV): fee scenarios, which coins to consolidate, freeze or leave alone, consolidation cost and break-even, privacy hints, Markdown plan. Free preview at /v1/utxoplan/preview. Nothing stored, private keys/seeds are rejected. Addresses are never logged. Endpoint: POST https://api.bitrovas.ch/v1/utxoplan (also POST https://api.bitrovas.ch/v1/utxoplan/task with {"task": "<free text>"}). Price: 1200 sats per request, paid via L402 (Lightning). Input (application/json): xpub: xpub/ypub/zpub (account level, mainnet) – or –; descriptor: output descriptor with * (e.g. wpkh([fp/84h/0h/0h]xpub/<0;1>/*)), also multisig – or –; addresses: one or more Bitcoin mainnet addresses (bc1…, 1…, 3…): JSON list or text, one per line or comma-separated. Gap limit is ignored. Counts toward the address cap (preview 80, plan 300).; utxos: own UTXO list: JSON [{txid, vout, value_sats, address?, label?}] or Sparrow CSV (Output, Address, Label, Value) or text lines 'txid:vout value' (sats, or BTC with a dot); gap: optional gap limit per chain (default 20, max 100); only with xpub or descriptor. Output (application/json): JSON result object. A2A (JSON-RPC, https://api.bitrovas.ch/a2a): SendMessage with a DataPart {"skill": "utxoplan", "input": {...same fields as REST...}}; the task answers TASK_STATE_INPUT_REQUIRED with a DataPart {"l402": {macaroon, token, invoice, amountSats, paymentHash}}; pay, then SendMessage with the same taskId and a DataPart {"l402": {"token": ..., "preimage": ...}} to get TASK_STATE_COMPLETED with the result as artifact (DataPart).
- **Bitrovas Wallet-Adressen**: Watch-only address derivation from xpub/ypub/zpub/tpub or an output descriptor: receive + change addresses (configurable gap, max 1000) and ownership check of given addresses with derivation path. Offline, nothing stored. Private keys/seeds are rejected. Endpoint: POST https://api.bitrovas.ch/v1/walletaddr (also POST https://api.bitrovas.ch/v1/walletaddr/task with {"task": "<free text>"}). Price: 21 sats per request, paid via L402 (Lightning). Input (application/json): xpub: xpub/ypub/zpub/tpub/upub/vpub (account level) – or –; descriptor: output descriptor with * (e.g. wpkh([fp/84h/0h/0h]xpub/<0;1>/*)); addresses: optional list of addresses to check (max 50); script: optional override for xpub/tpub: p2pkh|p2wpkh|p2sh-p2wpkh|p2tr; gap: optional, addresses per chain (default 20, max 1000). Output (application/json): derived addresses (index, address, path), optional match result for a searched address. A2A (JSON-RPC, https://api.bitrovas.ch/a2a): SendMessage with a DataPart {"skill": "walletaddr", "input": {...same fields as REST...}}; the task answers TASK_STATE_INPUT_REQUIRED with a DataPart {"l402": {macaroon, token, invoice, amountSats, paymentHash}}; pay, then SendMessage with the same taskId and a DataPart {"l402": {"token": ..., "preimage": ...}} to get TASK_STATE_COMPLETED with the result as artifact (DataPart).

## Call it over A2A

```bash
curl -X POST "https://api.bitrovas.ch/a2a" \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"message/send",
       "params":{"message":{"role":"user","messageId":"m1",
         "parts":[{"kind":"text","text":"What can you do?"}]}}}'
```
