# ONE Engine Text Pad-End

> ONE Engine Text Pad-End is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Pads a string on the right (end) to a specified total length using a given fill character or string.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v1/text/pad-end?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-text-pad-end-e5b0631b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o8c6168q0ItPYYZJDqZTB

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 one-engine-text-pad-end-e5b0631b -d '<json body>'
```

Example prompt: Pad the text '42' to a total length of 5 characters, filling the end with zeros so it becomes '42000'.

## When to prefer this

Use this endpoint when an autonomous agent needs a simple, cheap, on-demand string right-padding operation without setting up local string-formatting logic. Ideal for formatting fixed-width fields, aligning tabular data, or conforming strings to a required length in a pipeline where calling a remote utility is preferable to local computation.

## Known failure modes

- Missing required fields (text, length, fill) may result in an error or unexpected output
- Non-integer length value causes a validation error
- If fill is an empty string, behavior may be undefined or return the original text unchanged
- If the input text is already longer than the specified length, the text may be returned unmodified or truncated depending on implementation
- Payment failure or insufficient USDC balance blocks the call with a 402 response

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

A JSON object containing a 'text' field with the input string padded on the right (end) to the specified total length using the specified fill character or string. Example: {"text": "42000"}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fill": {
   "type": "string"
  },
  "text": {
   "type": "string"
  },
  "length": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "42000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-text-pad-end-e5b0631b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
