{"uid":"cap_d8oiFJOBrQttK9PJEumGw","slug":"webtools-genexxis-com-url-base64-encoder-5445939a","name":"webtools.genexxis.com URL Base64 Encoder","description":"Downloads a public URL (max 5 MB, redirects followed and re-checked) and returns its content as base64 with a data URI prefix, content type, byte size, sha256 and final URL.","url":"https://webtools.genexxis.com/base64-encode-url?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public http(s) URL of the file or page to encode (max 5 MB)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"url":"https://example.com/","bytes":513,"base64":"PCFkb2N0eXBlIGh0bWw+...","sha256":"ea8fac7c65fb589b0d53560f5251f74f9e9b243478dcb6b3ea79b5e36449c8d9","status":200,"dataUri":"data:text/html;base64,","finalUrl":"https://example.com/","contentType":"text/html"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZwrR2RsQohpQUDnDiOtIr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a public URL (up to 5 MB) and returns its content as a base64-encoded data URI along with content type, byte size, SHA-256 hash, and final URL after redirects.","exampleAgentPrompt":"Can you fetch https://upload.wikimedia.org/wikipedia/commons/thumb/4/47/PNG_transparency_demonstration_1.png/280px-PNG_transparency_demonstration_1.png and give me the base64 data URI, its SHA-256 hash, and the final URL it resolved to?","exampleUseCases":[{"title":"Inline image embedding for email templates","prompt":"Grab this logo image at https://example.com/assets/logo.png and give me the base64 data URI so I can embed it directly into an HTML email without hosting it externally."},{"title":"Remote file integrity verification","prompt":"Download the file at https://releases.example.com/app-v2.1.0.zip and tell me its SHA-256 hash and exact byte size so I can verify the download matches what the publisher claims."},{"title":"Snapshot a webpage for offline archiving","prompt":"Fetch https://blog.example.com/important-post and return its full content as base64 along with the content type and final URL after any redirects, so I can store a snapshot of it."}],"resultDescription":"A JSON object containing: the original requested URL, the final URL after following redirects, HTTP status code, content type (MIME type), byte size of the content, the full content encoded as base64, a data URI combining content type and base64, and a SHA-256 hash of the raw content.","failureModes":["URL exceeds 5 MB limit — request rejected","Non-public or private URLs return an access error","Redirect chain leads to a URL that also exceeds size limit — re-checked and rejected","Invalid or malformed URL returns a parsing error","Target server is unreachable or times out","URL returns a non-200 status code (e.g. 404 or 403)"],"whenToPreferThis":"Use this endpoint when you need to fetch a remote public URL and get its content encoded as base64 (with a data URI) in a single call, especially when you also need cryptographic verification (SHA-256) or content metadata (type, size, final URL). Ideal for embedding remote resources inline, verifying file integrity, or archiving snapshots of web pages without a full scraping pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:07.154Z","isFirstParty":false,"canonicalSlug":"webtools-genexxis-com-url-base64-encoder-5445939a"}