Fetch any public URL and return its content as base64 with the content type and
Fetch any public URL and return its content as base64 with the content type and a ready-to-use data URI. Embed images, PDFs and files directly in LLM and API calls without downloading them yourself. Clean JSON.
Answeringour last check, 2026-10-10
1 of 1checks answered this week
621 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://base64encode.use.x402atlas.com/base64-encode-url
| Category | Image and media |
|---|---|
| Provider host | base64encode.use.x402atlas.com |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-10 | valid payment request | 402 | $0.01 | 621 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"url": "https://x402atlas.com/apple-touch-icon.png"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"url": {
"description": "Public URL of the file to fetch and base64-encode (image, PDF, any file). Absolute http or https; private, loopback and link-local hosts are rejected. Content over 4 MiB is refused. Defaults to the example URL when omitted.",
"format": "uri",
"maxLength": 2048,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"base64": {
"description": "Standard base64 with padding of the fetched bytes, no line breaks.",
"type": "string"
},
"content_type": {
"description": "Media type without parameters; application/octet-stream when the upstream sent none.",
"type": "string"
},
"data_uri": {
"description": "data:<content_type>;base64,<base64>, ready to embed.",
"type": "string"
},
"final_url": {
"description": "URL after redirects (equals url when none).",
"type": "string"
},
"size_bytes": {
"description": "Decoded byte length of the fetched content (at most 4194304).",
"type": "integer"
},
"url": {
"description": "The URL as given by the caller.",
"type": "string"
}
},
"required": [
"url",
"final_url",
"content_type",
"size_bytes",
"base64",
"data_uri"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}