← Back to directory

Fetch any public URL and return the file as base64. Downloads an image, PDF, or ...

https://api.kadec0.xyz/v1/base64-encode-url

Overview

Fetch any public URL and return the file as base64. Downloads an image, PDF, or other file and returns the base64-encoded bytes, a ready-to-use data URI, the content type, and the size, so an agent can pass a remote file to a vision model or embed it inline without handling binary itself. Follows redirects, 5MB cap, public addresses only. Keyless.

Protocol x402
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category media/images
Provider URL to Base64 Encoder
Source bazaar
Indexed 2026-11-08 15:09:07

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "url": "https://www.google.com/favicon.ico" }, "type": "http" }

Output Schema

{ "example": { "count": 1, "items": [ { "base64": "AAABAAIAEBAAAAEAIABoBAAAJgAAACAgAAABACAAqBAAAI4EAAAoAAAAEAAAACAAAAABACAAAAAAAAAEAAATCwAAEwsAAAAAAAAAAAAA...", "content_type": "image/x-icon", "data_uri": "data:image/x-icon;base64,AAABAAIAEBAAAAEAIABoBAAAJgAAACAg...", "final_url": "https://www.google.com/favicon.ico", "size_bytes": 5430, "type": "base64_encoded_url", "url": "https://www.google.com/favicon.ico" } ] }, "type": "json" }