{"uid":"cap_xuhBd39i7bPjooc0PCfaw","slug":"agent-tollgate-engine-base64-encode-decode-7f5c5ad1","name":"Agent Tollgate Engine – Base64 Encode/Decode","description":"50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.","url":"https://skinwinking.com/api/v1/util/base64?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"boolean","description":"Use base64url alphabet"},"mode":{"type":"string","default":"encode","description":"encode or decode"},"text":{"type":"string","description":"Input text (max 20,000 characters)"}}},"responseSchema":{"type":"json","example":{"result":"aGVsbG8="}},"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_iGhn7UMKNrxJT-gGd4VQ7","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 (standard or URL-safe alphabet), returning the transformed string.","exampleAgentPrompt":"Can you base64 encode the text 'Hello, World!' using the standard alphabet?","exampleUseCases":[{"title":"Encoding credentials for HTTP headers","prompt":"I need to base64 encode the string 'myuser:mypassword' so I can use it in a Basic Auth header — can you do that with standard encoding?"},{"title":"Decoding a base64 payload","prompt":"I received this base64 string 'aGVsbG8gd29ybGQ=' and need to decode it back to plain text — what does it say?"},{"title":"URL-safe base64 encoding","prompt":"Can you encode the string 'data+with/special=chars' into base64url format so it's safe to use in a URL query parameter?"}],"resultDescription":"Returns a JSON object with a single 'result' field containing the base64-encoded or base64-decoded string output.","failureModes":["Input text exceeds 20,000 character limit — request rejected","Invalid mode value (not 'encode' or 'decode') — may return error","Malformed base64 input when decoding — may return error or garbled output","Payment failure over x402 — 402 response returned before processing"],"whenToPreferThis":"Choose this endpoint when an agent needs a quick, pay-per-call base64 encode or decode operation without setting up a local library, especially in environments where running code is restricted or when using the x402 micropayment infrastructure for other tools on the same platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T12:47:27.212Z","isFirstParty":false,"canonicalSlug":"agent-tollgate-engine-base64-encode-decode-7f5c5ad1"}