Api Endpoint

Base64 Codec

Encode or decode base64. POST {"mode":"encode","input":"..."} or {"mode":"decode",...}. Supports standard and url-safe alphabets via {"urlsafe":true}. Decoding validates the input and reports an error rather than returning silent garbage.

Open interactive test console

Offering

Provider
x402-echo-service.onrender.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-echo-service.onrender.com/base64
MIME type
Not provided
First seen
2026-10-16T01:50:10.647Z
Last seen
Tags
Base64, encode, decode, codec, Utility

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE"
  }
]

Observed health

Status
Reachable
Latest latency
71 ms
Average latency
179 ms
HTTP status
405
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "properties": {
    "body": {
      "additionalProperties": false,
      "properties": {
        "input": {
          "maxLength": 65536,
          "type": "string"
        },
        "mode": {
          "enum": [
            "encode",
            "decode"
          ]
        },
        "urlsafe": {
          "type": "boolean"
        }
      },
      "required": [
        "mode",
        "input"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json"
      ]
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http"
    }
  },
  "required": [
    "type",
    "bodyType",
    "body",
    "method"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "bytes": {
          "type": "integer"
        },
        "mode": {
          "type": "string"
        },
        "output": {
          "type": "string"
        }
      },
      "required": [
        "mode",
        "output"
      ],
      "type": "object"
    },
    "type": {
      "const": "json"
    }
  },
  "required": [
    "type",
    "example"
  ],
  "type": "object"
}