{"uid":"cap_WlUYvP2idPO8fgXtxpJId","slug":"scriptmasterlabs-base64-encode-api-x402-a6342305","name":"ScriptMasterLabs Base64 Encode API (x402)","description":"Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).","url":"https://acp-x402-discovery.onrender.com/x402/base64-encode","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"example":{}},"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_qdkImNCOSahObKeVqqu5C","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 input data to Base64 format, accessible via pay-per-call x402 micropayment settled in USDC on Base.","exampleAgentPrompt":"Can you Base64 encode the string 'Hello, World!' using the ScriptMasterLabs x402 API and give me the result?","exampleUseCases":[{"title":"Encode API credentials for HTTP header","prompt":"Base64 encode the string 'myuser:mypassword123' so I can use it in a Basic Auth header."},{"title":"Encode JSON payload for transmission","prompt":"I need to Base64 encode this JSON blob before embedding it in a URL parameter: '{\"user\":\"alice\",\"role\":\"admin\"}'."},{"title":"Verify encoding output for debugging","prompt":"Can you Base64 encode the text 'test-token-abc987' so I can check if my client library is producing the correct output?"}],"resultDescription":"Returns a Base64-encoded representation of the input string or data provided in the request, allowing downstream use in HTTP headers, URL parameters, or any system requiring Base64-formatted input.","failureModes":["Missing or malformed input property returns empty or error response","Underpayment via x402 results in 402 Payment Required with payment details","Invalid USDC/Base payment transaction causes request rejection","Render.com cold-start latency may cause occasional timeouts on first call"],"whenToPreferThis":"Prefer this endpoint when you need a pay-per-call, micropayment-gated Base64 encoding utility without standing up your own compute, or when integrating into an x402-native agentic payment workflow on Base. Less ideal for high-volume batch encoding where a free local library would be more cost-effective.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:50:48.407Z","isFirstParty":false}