{"uid":"cap_P0F3hIO-tEgZExLzFybkM","slug":"khotem-thread-document-retrieval-with-cryptographic-seal-ef55f4c9","name":"KHOTEM Thread Document Retrieval with Cryptographic Seal","description":"Paid cryptographic witness services for autonomous agents and humans: seals, attestations, verification, audit, sealed document thread. x402-native micropayments, USDC on Base / Polygon / Solana, direct on-chain verification. No accounts, no API keys, no KYC.","url":"https://khotem.com/api/thread","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{},"description":"No input — GET returns the full document thread after payment.","additionalProperties":false}}},"output":{"type":"object","properties":{"example":{"mode":"DIRECT","thread":{"15":{"file":"DOC15.md","sha16":"a1b2c3d4e5f60708","content":"<markdown>"}},"payment_seal":"1020304050607080"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZbbfeTS46maQAzddiQXYh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a full verified document thread with a cryptographic payment seal after paying $0.25 USDC on Base","exampleAgentPrompt":"Can you retrieve the KHOTEM sealed document thread for me — I want the full thread with the cryptographic payment seal proving its integrity, and I'll pay 0.25 USDC on Base from my wallet to get it.","exampleUseCases":[{"title":"Verified legal document retrieval","prompt":"I need to pull down the sealed document thread from KHOTEM with a cryptographic seal I can use to prove the content hasn't been tampered with — pay the 0.25 USDC from my Base wallet and give me the thread and the seal hash."},{"title":"Audit trail for filed documents","prompt":"Can you fetch the full document thread from KHOTEM and save the payment seal and SHA hashes? I need a tamper-evident audit record showing what was in each file at the time of retrieval."},{"title":"Whistleblower evidence sealing","prompt":"I want to lock in a cryptographic witness of this document thread right now — retrieve it from KHOTEM with the payment seal so I have proof of its contents at this exact moment."}],"resultDescription":"Returns a JSON object containing a 'thread' map of numbered document entries (each with file name, SHA-16 hash, and markdown content) plus a 'payment_seal' string that cryptographically attests to the retrieved content and the payment. The response also includes X-LOYALTY headers indicating the caller's loyalty tier and progress toward the next discount level.","failureModes":["402 Payment Required if no valid USDC payment is provided on Base — response includes personal price quote and loyalty tier when X-PAYER header is present","Payment rejected if wallet has insufficient USDC balance","Invalid or malformed wallet address in X-PAYER header returns error","Thread may be empty or unavailable if no documents are stored","Network or blockchain confirmation delays may cause timeouts"],"whenToPreferThis":"Choose this endpoint when you need a cryptographically sealed, tamper-evident retrieval of a document thread with a payment-backed attestation. It is ideal when proof of content integrity at a specific point in time is required — e.g. legal, audit, or whistleblower scenarios — and when you want to avoid signup or KYC friction by paying directly in USDC on Base. Use the free tier (/api/seal/free) only for documents under 1KB where a paid seal is not needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:40:35.459Z","isFirstParty":false}