Text Encoder API

What it does

Encodes and decodes text in various formats: Base64, URL encoding, HTML entities, ROT13, and hexadecimal.

Endpoints

POST https://text-encoder-api-x402-689670267582.us-central1.run.app/encode

POST https://text-encoder-api-x402-689670267582.us-central1.run.app/decode

Price

$0.005 USDC per request (Base L2)

Supported Formats

Encode - Request Example

{
  "text": "Hello World!",
  "format": "base64"
}

Encode - Response

{
  "result": "SGVsbG8gV29ybGQh",
  "format": "base64"
}

Decode - Request Example

{
  "text": "SGVsbG8gV29ybGQh",
  "format": "base64"
}

Decode - Response

{
  "result": "Hello World!",
  "format": "base64"
}