{"uid":"cap_lHS_K6dmtUCwWDcyiqt9o","slug":"small-utilities-api-time-hashing-encoding-math-3c01aad5","name":"Small Utilities API (time, hashing, encoding, math)","description":"Small utilities: time, hashing, encoding, math","url":"https://predator-ubuntu.taild9a745.ts.net/v1/utils?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"op":{"type":"string"},"params":{"type":"object"}}},"responseSchema":{"type":"object","example":{"op":"time_now","result":{"iso":"2026-10-17T06:00:00+00:00","unix":1760745600}}},"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_oZMupeFzuURZiJKMPtUt9","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":"Performs small utility operations including current time lookup, hashing, encoding/decoding, and math calculations via a single POST endpoint.","exampleAgentPrompt":"Can you get the current time in ISO format and also give me the SHA256 hash of the string 'hello world' — use the utils endpoint that handles time and hashing in one place?","exampleUseCases":[{"title":"Timestamp for audit log entry","prompt":"What's the exact current time in both ISO and Unix timestamp format? I need it for an audit log entry."},{"title":"Hash a secret token for storage","prompt":"Hash the string 'my-secret-api-key-abc123' using SHA256 so I can store it safely without keeping the plaintext."},{"title":"Base64 encode a payload","prompt":"Can you base64 encode the string 'user:password123' for me so I can use it in an Authorization header?"}],"resultDescription":"Returns a JSON object with the operation name and a result field containing the computed value — for example, time_now returns both an ISO 8601 timestamp and a Unix epoch integer; other ops return their respective computed or encoded values.","failureModes":["Unsupported op value returns an error or undefined behavior","Missing required params fields cause a malformed request","Invalid input types (e.g. non-string where string expected) may return an error","Network or payment failure (402 payment required if USDC not provided)"],"whenToPreferThis":"Choose this endpoint when you need lightweight, stateless utility computations — current time, hashing, encoding, or simple math — without standing up your own runtime or calling a heavier service. Ideal for agents that need a quick trusted timestamp or hash within a workflow and don't want to rely on local execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:41:12.978Z","isFirstParty":false,"canonicalSlug":"small-utilities-api-time-hashing-encoding-math-3c01aad5"}