{"uid":"cap_r69PpczzJD0vby9pHORhO","slug":"tinydata-api-batch-hash-sha-256-sha-512-1b4a3090","name":"TinyData API — Batch Hash (SHA-256 / SHA-512)","description":"Hash text, encode or decode Base64, and clean CSV. Pay $0.001–$0.01 per successful request in USDC on Polygon via x402.","url":"https://cleanrows-api.lyra-lavende-7298.chatgpt.site/api/batch-hash?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array"},"algorithm":{"enum":["SHA-256","SHA-512"],"type":"string"}}},"responseSchema":{"type":"object","required":["ok","algorithm","count","hashes"],"properties":{"ok":{"type":"boolean","const":true},"count":{"type":"integer","maximum":500,"minimum":2},"hashes":{"type":"array","items":{"type":"string"},"maxItems":500,"minItems":2},"algorithm":{"enum":["SHA-256","SHA-512"],"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KQ3IXN8A24JT13V6kv9Ob","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Hashes a batch of 2–500 text items using SHA-256 or SHA-512 and returns the resulting hash strings, billed per call via x402 micropayments.","exampleAgentPrompt":"Hash these 5 email addresses — alice@example.com, bob@example.com, carol@example.com, dave@example.com, eve@example.com — using SHA-256 and return all the hashes.","exampleUseCases":[{"title":"Anonymize user emails before analytics","prompt":"I need to hash a list of 50 customer email addresses with SHA-256 before sending them to our analytics pipeline — can you run them through the batch hasher for me?"},{"title":"Integrity fingerprints for document list","prompt":"Compute SHA-512 hashes for each of these 10 file content strings so I can store them as integrity fingerprints: [string1, string2, … string10]."},{"title":"Deduplicate records by hash","prompt":"Take these 200 product SKU strings and batch hash them with SHA-256 so I can identify duplicates by comparing hash values."}],"resultDescription":"Returns a JSON object with a boolean 'ok' field, the algorithm used, a count of hashes produced (2–500), and an array of hash strings in the same order as the input items.","failureModes":["Fewer than 2 or more than 500 items in the array triggers a validation error","Invalid or missing 'items' field returns a 400-level error","Unsupported algorithm value (not SHA-256 or SHA-512) causes rejection","x402 payment failure or insufficient USDC balance prevents the call from completing","Network timeout on large batches close to the 500-item limit"],"whenToPreferThis":"Choose this endpoint when you need to hash multiple strings in a single atomic API call with micropayment billing — ideal for pipelines that must anonymize, fingerprint, or deduplicate a list of values (2–500 items) without running a local cryptographic library. It is especially useful in serverless or agent contexts where installing dependencies is impractical and per-call USDC billing via x402 fits the workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T04:21:01.019Z","isFirstParty":false,"canonicalSlug":"tinydata-api-batch-hash-sha-256-sha-512-1b4a3090"}