{"uid":"cap_CsjhQyrUQyEvj1i0IMsUl","slug":"alice-s-deterministic-toolkit-encode-endpoint-ee32514a","name":"Alice's Deterministic Toolkit – Encode Endpoint","description":"Deterministic encoding/crypto primitives served per call over x402: hashing, HMAC, base64/hex/URL encode+decode, JWT payload decoding, cryptographic randomness — plus the payout-gate intelligence set: which bounty/AI-security platforms require identity or a tax form before paying, what their automation and human-review clauses actually say, and which ones pay to a self-custody wallet. No model inference, no rate of change — same input, same output, every time.","url":"https://alice-deterministic-tools.judicious-entrance.workers.dev/v1/encode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string"},"text":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"to":"base64","result":"aGVsbG8=","input_bytes":5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hc2tAxBIrOGPWxJI8neE0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or transforms text using deterministic algorithms (base64, hex, URL encoding, hashing, HMAC, etc.) and returns the result without any model inference","exampleAgentPrompt":"Can you base64-encode the string 'Hello, world!' for me?","exampleUseCases":[{"title":"Base64-encode API credentials","prompt":"I need to base64-encode my API key and secret joined with a colon — the string is 'mykey:mysecret' — so I can put it in an Authorization header."},{"title":"URL-encode a query string value","prompt":"URL-encode this string so I can safely drop it into a query parameter: 'search results for café & crêpes 2024'"},{"title":"SHA-256 hash a password reset token","prompt":"Hash the string 'reset-token-abc123xyz' with SHA-256 so I can store only the digest and never the raw token."}],"resultDescription":"A JSON object with 'ok' (boolean success flag), 'to' (the encoding/transform that was applied), 'result' (the transformed output string), and 'input_bytes' (the byte length of the input). Same input always produces same output — fully deterministic, no model inference involved.","failureModes":["Unsupported 'to' value returns an error indicating which transform types are accepted","Missing or empty 'text' field may return a validation error","Malformed JSON body returns a 400-style error","Payment not included or incorrect amount returns HTTP 402 requiring x402 micropayment before the call proceeds"],"whenToPreferThis":"Choose this endpoint when you need a guaranteed deterministic encoding or hashing operation without spinning up a local library — ideal for serverless or sandboxed agent environments where importing crypto/encoding libraries is restricted, or when you need a pay-per-call model over x402 with no long-term API key setup. Prefer it over general-purpose LLM tools for encoding because the output is bit-for-bit reproducible.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T06:46:25.835Z","isFirstParty":false}