{"uid":"cap_93MRGw8B0cQfCvfgyWD-j","slug":"delx-commerce-base64-encode-decode-api-411e50df","name":"Delx Commerce Base64 Encode/Decode API","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/base64?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","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_paz8XH-Q17vYw7PNniDwh","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":"Converts data to or from Base64 encoding via a pay-per-call HTTP API using USDC micropayments on Base or Solana","exampleAgentPrompt":"Can you Base64-encode this JSON object for me — {\"user\":\"alice\",\"token\":\"abc123\"} — using the Delx pay-per-result API so I don't need to sign up for anything?","exampleUseCases":[{"title":"Encode auth credentials for API header","prompt":"Base64-encode the string 'myusername:mysecretpassword' so I can use it as a Basic Auth header in my next API call."},{"title":"Transform JSON payload for safe transport","prompt":"I need to Base64-encode this JSON body — {\"orderId\":\"8821\",\"amount\":99.99,\"currency\":\"USD\"} — before sending it over a legacy system that requires encoded payloads."},{"title":"Agent encodes config blob without signup","prompt":"Encode this config object to Base64 for me: {\"env\":\"production\",\"debug\":false,\"maxRetries\":3} — I want to use a pay-per-call API so there's no account setup needed."}],"resultDescription":"A JSON response containing the Base64-encoded representation of the submitted input data, returned immediately after a successful micropayment via the x402 protocol on Base or Solana.","failureModes":["Missing required fields (input.body, input.type, input.bodyType, output.type, output.example) returns a validation error","Invalid bodyType enum value causes rejection","Payment failure or insufficient USDC balance causes a 402 Payment Required response","Malformed JSON body returns parsing error","Network timeout on blockchain payment confirmation"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, no-signup Base64 encoding utility that charges only per successful result via USDC micropayments — ideal for AI agents operating autonomously without pre-registered accounts or subscription billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:53.951Z","isFirstParty":false,"canonicalSlug":"delx-commerce-base64-encode-decode-api-411e50df"}