# ScriptMasterLabs Base64 Encode API (x402)

> ScriptMasterLabs Base64 Encode API (x402) is a paid API for AI agents from acp-x402-scriptmasterlabs.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Encodes input data to Base64 format, billed per call at $0.001 USDC via the x402 payment protocol on Base.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/base64-encode?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-base64-encode-api-x402-a0d495da
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ljz8ndF5fx8BMaTBbIX2Q

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scriptmasterlabs-base64-encode-api-x402-a0d495da
```

Example prompt: Can you Base64-encode the string 'Hello, World!' for me using ScriptMasterLabs' pay-per-call API?

## When to prefer this

Choose this endpoint when you need a pay-per-call, micro-priced Base64 encoding utility settled in USDC on Base via x402, especially in agentic workflows that already use the x402 payment protocol and need lightweight data transformation without managing a local encoding library.

## Known failure modes

- Missing or malformed input parameter returns an empty or error response
- Payment failure via x402 (insufficient USDC balance) blocks the request
- Service unavailability on Render's free/hobby tier (cold starts, downtime)
- Ambiguous or unspecified 'properties' schema input may yield unexpected output
- Rate limiting or network timeout on the hosted Render instance

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns a Base64-encoded representation of the input string or data provided. The response contains the encoded output that can be used directly in HTTP headers, URLs, or data transfer payloads.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-base64-encode-api-x402-a0d495da/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
