Docs
Architecture
Website: your browser (masking engine in a Web Worker) --masked text only--> Blotblot API --> AI provider
<-- masked answer, streamed -- real values restored in your browser
Local proxy: your agent --original--> nolog-proxy on your machine (masks) --masked--> Blotblot API --> AI provider
<-- restored on your machine --
Hosted API: your agent --original--> Blotblot API (masks and restores in memory) --masked--> AI provider
- The masking engine is rule-based with validators: Luhn (cards), mod-97 (IBAN), BIP39 word list and checksum (seed phrases), base58 32-byte decode (Solana addresses), ed25519 keypair check (Solana private keys), base58check and bech32 (Bitcoin), libphonenumber (phone numbers), plus name, address and organization rules built on public US Census and SSA name statistics.
- In the browser a 14.8 MB token classifier (Mozilla smart-pii-redactor v1, Apache-2.0) fills gaps for names, street addresses and dates of birth. It loads from this site, never from a model hub or CDN.
- The placeholder map stays in your browser's IndexedDB (website) or in your proxy's memory. The server never receives it.
Local proxy (recommended for agents)
export NOLOG_KEY=nolog_your_credit_key
npx nolog-proxy serve # http://127.0.0.1:8787
OpenAI SDK (Python):
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:8787/v1", api_key="unused")
r = client.chat.completions.create(model="claude-opus-5-5", messages=[{"role": "user", "content": "Write to Maria Gonzalez at maria@example.com"}])
print(r.choices[0].message.content) # real name and email, restored on your machine
Anthropic SDK (Node):
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic({ baseURL: "http://127.0.0.1:8787", apiKey: "unused" });
const msg = await client.messages.create({ model: "claude-opus-5-5", max_tokens: 1024, messages: [{ role: "user", content: "Summarize the ticket from Dale Whitaker" }] });
- Both
/v1/chat/completionsand/v1/messageswork, streaming included. - System prompts, every message, tool-call arguments and tool results are masked. Placeholders inside the model's tool
calls are restored before your agent sees them, so
send_email(to=[EMAIL_K7Q2MX])runs with the real address. - Placeholders look like
[EMAIL_K7Q2MX]: an HMAC of the value with a secret created on first run in~/.nolog/secret. - Response headers:
x-nolog-masked(how many values were masked),x-nolog-mode: local. - Docker:
docker run -e NOLOG_KEY -p 8787:8787 nolog-proxy.
Hosted API (convenience mode)
In this mode the original text passes through our server's memory to be masked; it is not stored. Use the local proxy when originals must stay on your machine.
curl https://<site>/hosted/v1/chat/completions \
-H "Authorization: Bearer $NOLOG_KEY" -H "content-type: application/json" \
-d '{"model":"claude-sonnet-5-5","messages":[{"role":"user","content":"Email Dale at dale@example.com"}]}'
Models and credits
Credits are US dollars. Each request is charged for its tokens at the prices below; the same list is at /api/models. Free trial: 3 questions a day on the fast model after a human check.
| Model | Input per 1M tokens | Output per 1M tokens |
|---|---|---|
| Claude Opus 5.5 (default) | $6 | $30 |
| Claude Sonnet 5.5 | $3 | $15 |
| Claude Haiku 5.5 (free trial) | $0.15 | $0.75 |
Compatibility notes
temperature,top_pandtop_kare ignored: the current Claude models reject them.- A forced
tool_choiceis sent asauto, with the tool named in the request. n > 1returns one choice.- Thinking blocks are passed through unchanged; if an agent edits earlier turns, stale reasoning is dropped by the provider instead of failing the request.
Errors
| HTTP | type | Meaning |
|---|---|---|
| 400 | blocked_secret | A seed phrase or private key was found. Nothing was sent. |
| 401 | authentication_error | Missing or unknown credit key. |
| 402 | insufficient_credits | The balance cannot cover this request. |
| 429 | trial_exhausted / rate_limited | Daily free questions used, or too many requests. |
| 502 | provider_error | The AI provider failed. Nothing was charged. |
Credit keys and top-up
- Your credit key is 32 random bytes made in your browser. Our server stores only its SHA-256. Lose the key, lose the credits: save the text file when you top up.
- Top up from any Solana wallet: the payment request carries a reference key; the server finds the transfer with
getSignaturesForAddress(reference)and credits it after confirmation. Each transaction signature credits once. - Transfers from an exchange (no reference key) are matched by the exact unique amount shown in the request.
More tools
- MCP server:
npx nolog-mcpwith toolsmask_text,ask_private,unmask. Next - Browser extension: masks before you paste into AI sites and blocks seed phrases. Next
- Telegram bot and mini app. Next
- Pay per call with USDC (x402), no credit key needed. Next
$NOLOG in the product
- Paying for credits with $NOLOG gives 20% more credit than the same dollar amount in SOL or USDC, valued at the trailing one-hour average price.
- Every $NOLOG received for credits is burned on Solana every hour with the SPL burn instruction. Each burn is listed on
/burnswith its transaction. - Supply: fixed at launch by the token's mint. This project creates no team allocation or unlock schedule.
Verify this site
/build.json: SHA-256 of every file in the web bundle and one bundle hash. Rebuild from the published source at/sourceand compare./api/health: live status of the API, database and payment watcher.