{"uid":"cap_ta-15Lt4aURM0cLbSKBjs","slug":"tarnak-x402-toolkit-hash-utility-endpoint-17db80dd","name":"Tarnak x402 Toolkit — Hash Utility Endpoint","description":"Keyless pay-per-call APIs for AI agents on Base: token risk verdict, rug/honeypot report, gas estimate, URL-to-markdown and more. x402 v2, USDC, no API key or signup. 10 free verdicts per IP per day.","url":"https://api.capousd-student-tools.me/v1/util/hash?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","minLength":1}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"slug":"hello","uuid":"0b6a0f0e-0000-4000-8000-000000000000","base64":"aGVsbG8=","sha256":"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JrTyQck3FIYgmq3xWfMZV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an input text string into multiple hash and encoding representations: slug, UUID, Base64, and SHA-256.","exampleAgentPrompt":"Hash and encode the text 'hello world' — I need its slug, UUID, base64, and SHA-256 all at once.","exampleUseCases":[{"title":"Generating a SHA-256 fingerprint for content","prompt":"Can you give me the SHA-256 hash of the string 'my-contract-payload-v1' so I can use it as a fingerprint?"},{"title":"Creating a URL-safe slug from arbitrary text","prompt":"Turn the phrase 'My Awesome Blog Post Title!' into a URL-safe slug for me."},{"title":"Base64-encoding a text value for storage","prompt":"Base64-encode the string 'user:password123' so I can include it in an authorization header."}],"resultDescription":"A JSON object containing four derived representations of the input text: a URL-safe slug, a deterministic UUID (v4-formatted), a Base64 encoding, and a hex SHA-256 hash digest.","failureModes":["Missing or empty 'text' query parameter returns a validation error","Input text with zero length is rejected by the minLength:1 constraint","Exceeding the 10 free verdicts per IP per day quota without payment may result in a 402 Payment Required response","Malformed x402 payment header causes a 402 or 400 error"],"whenToPreferThis":"Choose this endpoint when you need multiple text encodings and hash formats in a single call without managing API keys or signup — especially useful for AI agents operating on Base via x402 micropayments. Prefer it over separate hashing libraries when running in a stateless agent context that can't import crypto dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:15.810Z","isFirstParty":false,"canonicalSlug":"tarnak-x402-toolkit-hash-utility-endpoint-17db80dd"}