{"uid":"cap_d2yLMlgk_g4cuTRDQRein","slug":"agentshelf-base64url-encoder-74957abe","name":"AgentShelf Base64URL Encoder","description":"Call when an agent needs text encoded with base64url. No network and no LLM. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/base64url-encode first.","url":"https://agentshelf.syntexa.ch/v1/base64url-encode?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["Hello, World!"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"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_-lnNp-1PqIVho56OFK-T-","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 a text string using base64url encoding, with no network calls or LLM involvement.","exampleAgentPrompt":"Can you base64url-encode the string 'hello world: this is my payload!' for me so I can use it safely in a URL?","exampleUseCases":[{"title":"JWT component encoding for auth flow","prompt":"I need to base64url-encode this JSON string for my JWT header: '{\"alg\":\"HS256\",\"typ\":\"JWT\"}' — can you do that?"},{"title":"URL-safe encoding of API credentials","prompt":"Take this API key 'sk-abc+123/xyz==' and base64url-encode it so I can embed it in a query parameter without breaking the URL."},{"title":"Encoding webhook payload for link","prompt":"I want to embed this user config '{\"userId\":42,\"role\":\"admin\"}' as a base64url string in a confirmation link — please encode it."}],"resultDescription":"Returns a base64url-encoded representation of the input text string, using the URL-safe alphabet (replacing + with - and / with _) and typically without padding characters, suitable for use in URLs, JWT components, or other contexts requiring URL-safe encoding.","failureModes":["Empty or missing 'text' field returns a validation error","Input exceeding 100,000 characters is rejected","Malformed request body returns a 400-level error","Payment failure (insufficient USDC balance) results in a 402 response and no encoding is performed"],"whenToPreferThis":"Prefer this endpoint when you need deterministic, server-side base64url encoding without relying on an LLM or local code execution. Use it when your agent runtime lacks built-in encoding utilities, when you need guaranteed RFC 4648 URL-safe base64 output, or when you want an auditable, paid API call for compliance reasons. Always try the free sandbox endpoint POST /v1/sandbox/base64url-encode first if available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:08.621Z","isFirstParty":false,"canonicalSlug":"agentshelf-base64url-encoder-74957abe"}