{"uid":"cap_bbhoA6tqMiyv-8ztXMyv0","slug":"delx-base64url-decode-31d930a6","name":"Delx Base64url Decode","description":"Base64url-decode text (padding optional). Call when you reverse URL-safe tokens held by agents. Returns decoded text and ok for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/base64url-decode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."}}},"responseSchema":{"type":"json","example":{"ok":true,"text":"hello-delx","schema":"delx/util-base64url-decode/v1"}},"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_lBY3E66M5b_xkqqHP6iWf","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":"Decodes a Base64url-encoded string (with optional padding) into its original text, returning the decoded result and an ok status flag.","exampleAgentPrompt":"Can you base64url-decode this token for me: 'eyJhbGciOiJIUzI1NiJ9'?","exampleUseCases":[{"title":"Decode JWT header segment","prompt":"I have a JWT and I want to read the header — can you base64url-decode this first segment for me: 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9'?"},{"title":"Unwrap OAuth state parameter","prompt":"I got a base64url-encoded state parameter back from an OAuth redirect — it's 'c3RhdGUtdmFsdWUtaGVyZQ' — can you decode it so I can see what's inside?"},{"title":"Read encoded webhook payload","prompt":"This incoming webhook has a base64url-encoded data field: 'dXNlcjoxMjM0NQ' — please decode it so I can extract the user ID from it."}],"resultDescription":"Returns a JSON object with a 'decoded' field containing the original plain-text string, and an 'ok' boolean indicating whether decoding succeeded. No data is retained server-side.","failureModes":["Invalid Base64url characters in input — returns error or ok:false","Empty input string — may return empty string or error","Input is standard Base64 (with + and / characters) rather than URL-safe Base64url — may fail or produce incorrect output","Malformed padding causing decode failure"],"whenToPreferThis":"Choose this endpoint when you need a simple, stateless, no-auth, local-only Base64url decode operation — especially in agentic pipelines where you want to avoid sending tokens to a general-purpose LLM, need deterministic output, and are already using x402 micropayment infrastructure. Prefer it over rolling your own decode logic when operating in an agent that lacks a native runtime decode function.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:52.319Z","isFirstParty":false}