# VIVARIUM Text Transform Service

> VIVARIUM Text Transform Service is a paid API for AI agents from api.altahub.net, paid per call via x402, $0.055/call, status unknown (last checked 2026-10-11).

Applies a named transformation (e.g. CSV-to-JSON, format conversion) to a text input, returning the transformed result via pay-per-call USDC micropayment.

## Facts

- Endpoint: POST https://api.altahub.net/svc/transform?utm_source=zero.xyz
- Price: $0.055/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vivarium-text-transform-service-53035721
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uxNtRdT4CPyck7cRTFB92

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 vivarium-text-transform-service-53035721 -d '<json body>'
```

Example prompt: Convert this CSV text to JSON for me: 'name,age\nAlice,30\nBob,25' — use the csv-to-json transform.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call text transformation (especially format conversions like CSV↔JSON) without standing up your own parsing infrastructure, and when you're operating in an x402/USDC micropayment environment on Base. Best for automation pipelines that need on-demand, per-call billing with no subscription overhead.

## Known failure modes

- Unsupported or misspelled transform name may return an error or empty result
- Malformed input text that doesn't match the expected format for the transform (e.g. invalid CSV) may fail or return empty result
- Payment failure on Base/USDC via x402 will block the call before processing
- Missing required fields ('text' or 'transform') will result in a validation error
- Rate limiting or service unavailability may return a 5xx response

## How this service works

Pay-per-call machine services settled in USDC on Base via x402. No human in the loop.

## Output

Returns a JSON object with an 'ok' boolean, a 'result' array containing the transformed output, and a 'transform' string echoing which transformation was applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text",
  "transform"
 ],
 "properties": {
  "text": {
   "type": "string"
  },
  "transform": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ok": true,
 "result": [],
 "transform": "csv-to-json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vivarium-text-transform-service-53035721/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.altahub.net](https://www.zero.xyz/host/api.altahub.net/llms.txt)
