Compress a prompt without changing its content: whitespace, JSON minification, i...
https://denk.halowerk.com/v1/prompt-compressOverview
Compress a prompt without changing its content: whitespace, JSON minification, invisible characters, duplicate lines and Markdown decoration, with a token and fidelity report.
Protocol
x402 (POST)
Price
$0.0020
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
denk
Source
bazaar
Indexed
2026-11-20 16:11:02
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"level": "lossless",
"text": "Please answer briefly.\n\n\n\n```json\n{\n \"a\": 1\n}\n```"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"No paraphrasing and no word dropping; savings are therefore modest on clean prose.",
"Removing duplicate lines changes emphasis when repetition was intentional."
],
"result": {
"characters_after": 43,
"characters_before": 52,
"level": "lossless",
"quality": {
"code_blocks": 1,
"numbers_missing": [],
"unique_words_lost": [],
"urls_missing": [],
"word_recall": 1
},
"saved_percent": 27.8,
"saved_tokens": 5,
"steps": [
{
"changes": 1,
"step": "collapse_inner_spaces",
"tokens_saved": 1
},
{
"changes": 2,
"step": "collapse_blank_lines",
"tokens_saved": 0
},
{
"changes": 1,
"step": "minify_json_code_blocks",
"tokens_saved": 4
}
],
"text": "Please answer briefly.\n\n```json\n{\"a\":1}\n```",
"tokenizer": "o200k_base",
"tokens_after": 13,
"tokens_before": 18
},
"service": "prompt-compress",
"status": "success"
},
"type": "json"
}