{"uid":"cap_QIxXIUvBDY541gWbGMlNc","slug":"code402-context-distill-e08114c5","name":"code402 Context Distill","description":"Offline deterministic checks (no ML, no scraping) for business identifiers and rental due-diligence, paid per call via x402 (gasless EIP-3009 USDC on Base). Checksum-verifiable (IBAN, LEI, VAT, ABA, ISBN, SEDOL…) vs format-only (EIN, IFSC, SWIFT/BIC…) — every response returns a scope field. Non-custodial, signed receipts. First 3 calls/day free.","url":"https://hcrb.in/v1/tools/context-distill/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Arbitrary text to distill (any length; hashing is over the exact input)."}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["valid","word_count"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"top_words":{"type":"array"},"word_count":{"type":"number"},"content_hash":{"type":"string"},"first_sentence":{"type":"string"},"meaningful_word_count":{"type":"number"}}},"example":{"valid":true,"top_words":[],"word_count":0,"content_hash":"0x…","first_sentence":"","meaningful_word_count":0}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TiAVFNOytX4ITvFh31kno","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Offline deterministic text distillation that extracts word count, top words, content hash, and first sentence from input text — paid per call via x402 USDC micropayments on Base.","exampleAgentPrompt":"Can you distill this contract clause for me — give me the word count, meaningful word count, top words, first sentence, and a content hash: 'The Tenant agrees to pay rent on the first of each month. Failure to do so will result in a late fee of 5% of the monthly rent amount.'","exampleUseCases":[{"title":"Fingerprint document for deduplication","prompt":"I need a deterministic content hash plus word count for this lease agreement paragraph so I can detect duplicates across my document store: 'All parties agree to the terms and conditions set forth herein. Any amendments must be made in writing and signed by all parties.'"},{"title":"Extract top keywords from business description","prompt":"Pull out the top words and first sentence from this company description so I can index it: 'Acme Corp specializes in industrial-grade robotics for warehouse automation. Founded in 2010, we serve clients across North America and Europe.'"},{"title":"Measure meaningful content density of scraped text","prompt":"Check the word count versus meaningful word count on this scraped paragraph to see how much filler it has: 'So basically, um, the thing is, the product is actually really quite good and, you know, customers like it a lot.'"}],"resultDescription":"A JSON object containing: valid (boolean), word_count (total words), meaningful_word_count (non-filler words), top_words (array of frequent/significant terms), content_hash (deterministic hex hash of the input), first_sentence (extracted opening sentence), tool (endpoint identifier), and scope (describing what validation or analysis was applied).","failureModes":["Invalid or empty input text returns valid:false with zeroed metrics","Payment not included or insufficient USDC triggers HTTP 402 before processing","Malformed POST body returns error before distillation occurs","Rate limit exceeded beyond 3 free calls/day without payment causes rejection"],"whenToPreferThis":"Choose this endpoint when you need fast, offline, deterministic text distillation with no ML inference or external scraping — particularly when reproducibility and content hashing matter (e.g. deduplication, audit trails). It is ideal for agents that need to fingerprint, summarize statistics, or extract top words from text in a privacy-preserving way. The micropayment model ($0.005/call via x402 USDC) makes it cost-effective for high-volume processing at scale. Prefer it over ML-based summarizers when you need deterministic, verifiable outputs rather than generative paraphrases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:38:55.991Z","isFirstParty":false,"canonicalSlug":"code402-context-distill-e08114c5"}