← Back to directory

Fetch a URL and return content as base64. Useful for embedding images, PDFs in A...

https://api.strale.io/x402/v2/base64-encode-url

Overview

Fetch a URL and return content as base64. Useful for embedding images, PDFs in API calls. Returns base64, content type, data URI.

Protocol x402
Price $0.02
Payment Asset USD Coin
Payment Network eip155:8453
Category media/images
Provider strale
Source bazaar
Indexed 2026-08-27 16:12:44

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

{ "discoverable": true, "method": "GET", "queryParams": { "url": { "description": "URL to fetch and encode", "required": true, "type": "string" } }, "type": "http" }

Output Schema

{ "base64": { "type": "string" }, "content_type": { "type": "string" }, "data_uri": { "type": "string" }, "size_bytes": { "type": "integer" } }