{
  "x402Version": 2,
  "id": 8178,
  "slug": "8178",
  "resource": "https://x402-echo-service.onrender.com/base64",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "Infra",
      "coverImage": "https://x402-echo-service.onrender.com/icon.png",
      "info": {
        "input": {
          "body": {
            "input": "hello world",
            "mode": "encode"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "bytes": 11,
            "mode": "encode",
            "output": "aGVsbG8gd29ybGQ="
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "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": {
            "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"
          }
        },
        "required": [
          "input",
          "output"
        ],
        "type": "object"
      },
      "serviceName": "Base64 Codec",
      "summary": "Encode or decode base64 and base64url, with validation.",
      "tags": [
        "base64",
        "encode",
        "decode",
        "codec",
        "utility"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-echo-service.onrender.com",
  "lastUpdated": "2026-09-02T01:18:53.752Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-02T01:18:53.582Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-echo-service.onrender.com",
    "manifest_name": "x402-echo-service.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}