{"uid":"cap_1p2HZTFeHuz1w_e1y9YBz","slug":"myworker-agent-api-util-kotak-utility-box-64f7d734","name":"Myworker Agent API – util-kotak Utility Box","description":"Servis berbayar untuk bot/agen (x402): data pasaran Solana via Jupiter + RPC, dan servis AI via Workers AI. Bayar per panggilan dengan USDC di Solana, USDC di Base, atau SOL.","url":"https://crypto-micro-agent.mykira.workers.dev/api/agent/util-kotak?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","example":{"op":"sha256","text":"hello"},"required":["op"],"properties":{"op":{"type":"string","description":"encode64 | decode64 | sha256 | uuid | masa | cuti"},"text":{"type":"string","description":"Teks untuk encode64/decode64/sha256"},"tahun":{"type":"integer","description":"Tahun cuti (lalai tahun semasa)"},"negara":{"type":"string","description":"Kod negara ISO 2 (cth MY, US, ID, SG; lalai MY)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"hasil":{"op":"sha256","sha256_hex":"2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824","sha256_bait":32,"panjang_masukan":5},"servis":"util-kotak"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jhYucnUJ8WRBomnyReZn9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides a collection of common utility operations: Base64 encode/decode, SHA-256 hashing, UUID generation, current timestamp, and public holiday lookups by country and year.","exampleAgentPrompt":"Can you SHA-256 hash the text 'hello world' for me using the util-kotak utility service?","exampleUseCases":[{"title":"SHA-256 checksum for data integrity","prompt":"I need to verify the integrity of this string — can you compute the SHA-256 hash of 'mysecretpassword' for me?"},{"title":"Base64 encode a payload string","prompt":"Please base64 encode the string 'user:password123' so I can use it in an authorization header."},{"title":"Fetch Malaysian public holidays for 2025","prompt":"Can you pull up the list of public holidays in Malaysia for 2025?"}],"resultDescription":"Returns a JSON object with ok:true, the operation name, and the computed result — e.g. for SHA-256: the hex digest and byte length; for encode64/decode64: the encoded/decoded string; for uuid: a new UUID; for masa: the current timestamp; for cuti: a list of public holidays for the given country and year.","failureModes":["Missing required 'op' query parameter — returns error response","Invalid 'op' value not in enum — returns error","Missing 'text' for encode64/decode64/sha256 operations — returns error","Invalid country code — may return empty or error","Payment not fulfilled (x402) — HTTP 402 returned before result is delivered"],"whenToPreferThis":"Choose this endpoint when you need lightweight, stateless utility computations — especially SHA-256 hashing, Base64 encoding/decoding, UUID generation, or public holiday lookups — and you are already operating in a pay-per-call x402 micropayment context on Solana or Base. It is particularly convenient when you need multiple utility types from a single API rather than integrating separate libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:38:40.693Z","isFirstParty":false,"canonicalSlug":"myworker-agent-api-util-kotak-utility-box-64f7d734"}