{"uid":"cap_77_ZzaII9Qe-RrSQIqUnT","slug":"agent-dev-tools-text-encoding-decoding-x402-c2c7d226","name":"Agent Dev Tools – Text Encoding/Decoding (x402)","description":"Fast deterministic developer utilities for AI agents, paid per call in USDC via x402 (no account, no API key): UUID v4/v7, secure random numbers, dice, MD5/SHA/HMAC hashing, base64/hex/URL/HTML encoding, JSON validation/formatting, QR code SVG, password generation, JWT decoding and text statistics. Pure computation, nothing stored. Errors are never charged.","url":"https://agent-dev-tools.frcompanycheck.workers.dev/v1/encode?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"],"type":"string"},"queryParams":{"type":"object","required":["text","op"],"properties":{"op":{"enum":["base64","base64url","hex","url","html"],"type":"string","example":"base64","description":"base64 | base64url | hex | url | html"},"mode":{"type":"string","example":"encode","description":"encode (default) | decode"},"text":{"type":"string","example":"héllo wörld","description":"Input text"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"op":"base64","mode":"encode","result":"aMOpbGxvIHfDtnJsZA=="}},"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_4DQCTS9FId5oBKHf1ShfA","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":"Encodes or decodes text using base64, base64url, hex, URL, or HTML encoding via a pay-per-call GET request with no API key required.","exampleAgentPrompt":"Can you base64-encode the text 'héllo wörld' for me? No account needed — just run it and give me the result.","exampleUseCases":[{"title":"Encode API payload for transport","prompt":"Take this string 'user:password123' and base64-encode it so I can use it in an Authorization header."},{"title":"Decode incoming base64 webhook data","prompt":"I got this base64 string 'aMOpbGxvIHfDtnJsZA==' in a webhook payload — can you decode it back to plain text?"},{"title":"URL-encode query parameter","prompt":"I need to URL-encode the string 'hello world & goodbye!' so I can safely append it as a query parameter in a URL."}],"resultDescription":"Returns a JSON object containing the operation name (op), the mode used (encode or decode), and the result string with the transformed text. Example: {\"op\":\"base64\",\"mode\":\"encode\",\"result\":\"aMOpbGxvIHfDtnJsZA==\"}","failureModes":["Missing required 'text' query parameter returns an error (not charged)","Missing or invalid 'op' enum value returns an error (not charged)","Invalid base64 input when decoding returns an error (not charged)","Payment failure via x402 if USDC balance insufficient or wallet not configured"],"whenToPreferThis":"Choose this endpoint when you need fast, stateless text encoding or decoding without setting up an account or managing API keys. It is ideal for AI agents that occasionally need encoding utilities and prefer pay-per-use micro-payments over subscription APIs. Especially useful for base64, URL, HTML, hex, and base64url transformations in automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T06:46:45.883Z","isFirstParty":false,"canonicalSlug":"agent-dev-tools-text-encoding-decoding-x402-c2c7d226"}