{"uid":"cap_E7AMzzWlnbzsF5mn8Nv2G","slug":"agent-utility-network-base64-encode-api-913304a8","name":"Agent Utility Network Base64 Encode API","description":"Quality-scored paid utility APIs for AI agents over x402 on Base USDC.","url":"https://agent-utility-network.frosty-sound-4560.workers.dev/v1/paid/base64-encode","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":100000}}},"responseSchema":{"type":"json","example":{"result":{"base64":"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_A_q5aSvOiZ8WqdeP3vAIA","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 arbitrary text strings to Base64 format via a paid x402/USDC API endpoint","exampleAgentPrompt":"Can you base64 encode this text for me: 'Hello, world! This is my API payload.'","exampleUseCases":[{"title":"Encode API credentials for auth header","prompt":"I need to base64 encode my username and password combined as 'myuser:mypassword' so I can use it in a Basic Auth header."},{"title":"Encode JSON payload for embedding","prompt":"Can you base64 encode this JSON string so I can embed it safely in a URL parameter: '{\"userId\":\"abc123\",\"role\":\"admin\"}'?"},{"title":"Encode large text block for transmission","prompt":"I have a large text document I need to encode as base64 before sending it through our message queue — can you encode this content for me: 'Invoice #4521: Total due $1,200.00. Payment terms: Net 30.'"}],"resultDescription":"A JSON object containing a 'result' key with a 'base64' field holding the Base64-encoded string representation of the input text (e.g. {\"result\":{\"base64\":\"aGVsbG8=\"}}).","failureModes":["Input text exceeds 100,000 character limit — request rejected","Payment failure via x402/USDC — 402 Payment Required returned","Malformed request body missing 'text' field — validation error","Network timeout or worker unavailability — 5xx error","Empty string input may return empty base64 result"],"whenToPreferThis":"Choose this endpoint when your agent workflow requires a metered, pay-per-call Base64 encoding step with guaranteed quality scoring and x402/USDC payment integration on Base. It is especially suitable for AI agent pipelines on Coinbase's ecosystem that already handle x402 micropayments and need a reliable, on-demand encoding utility without managing local libraries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:46:02.960Z","isFirstParty":false}