{"uid":"cap_QhlVPX37GLdN2hIom5BBv","slug":"base64-encode-decode-tool-x402-gateway-7a40870b","name":"Base64 Encode/Decode Tool (x402 Gateway)","description":"Low-price OpenAI-compatible GPT-5.5 chat completions and text tools over x402 USDC on Base: $0.0001 compact requests, $0.066667 true max-output requests, no subscription.","url":"https://gpt55.558686.xyz/v1/tools/base64-codec","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"tool":"base64Codec","summary":"Encode or decode Base64 using x402 USDC payment"}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"mode":"encode","text":"Hello, World!","urlsafe":true}}},"response":{"ok":true,"mode":"encode","tool":"base64Codec","output":"SGVsbG8sIFdvcmxkIQ","urlsafe":true,"fetchedAt":"2026-06-18T06:31:28.540Z"}},"exampleRequest":{"mode":"encode","text":"Hello, World!","urlsafe":true},"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6CoM49SaPiI-XyDPCAY37","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Encodes or decodes Base64 (standard or URL-safe) for a given text string, paid per-call via x402 USDC on Base.","exampleAgentPrompt":"Can you base64-encode the text 'Hello, World!' for me — use URL-safe mode?","exampleUseCases":null,"resultDescription":"A JSON object with ok (boolean), tool name ('base64Codec'), the encoded or decoded result string, and a fetchedAt timestamp.","failureModes":["Missing required 'text' query parameter returns an error","Text exceeds 20,000 character limit returns validation error","Invalid 'mode' value (not 'encode' or 'decode') returns 400","Insufficient USDC balance or x402 payment failure returns 402","Network/gateway timeout returns 5xx"],"whenToPreferThis":"Use this endpoint when you need a simple, pay-per-call Base64 encode or decode operation via x402 micropayment on Base, without subscribing to a larger service. Suitable for agents that need occasional Base64 transformations and want to avoid API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:26:46.260Z","isFirstParty":false}