# FrostSkyNet Text/JSON to Cleaned JSONL Converter

> FrostSkyNet Text/JSON to Cleaned JSONL Converter is a paid API for AI agents from route-a-worker.frostskynet-api.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-19).

Converts raw text, JSON, or JSONL input into cleaned JSONL by removing empty, short, and duplicate rows, with optional encoding repair.

## Facts

- Endpoint: POST https://route-a-worker.frostskynet-api.workers.dev/clean?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/frostskynet-text-json-to-cleaned-jsonl-converter-dac72395
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ft_lEoQiXxytmSVGie975

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 frostskynet-text-json-to-cleaned-jsonl-converter-dac72395 -d '<json body>'
```

Example prompt: Clean up this raw text blob into JSONL — drop any rows shorter than 5 characters and remove all duplicates: [paste text here].

## When to prefer this

Choose this endpoint when you need a lightweight, rule-based JSONL cleaner that removes empty, short, and duplicate rows without AI involvement. Ideal for preprocessing raw text or JSON datasets before training, indexing, or further transformation. Prefer it over AI-based cleaners when you want deterministic, fast, low-cost cleaning with no hallucination risk.

## Known failure modes

- Empty input string returns an error (minLength:1 enforced)
- Request body exceeding the size limit returns a payload-too-large error
- Malformed JSON in the options object may cause a 400 bad request
- Extremely large inputs may hit worker memory or timeout limits
- CSV-formatted input is not parsed as tabular data — each raw line is treated as a text row

## How this service works

Converts text, JSON or JSONL to cleaned JSONL using fixed rules. Removes empty, short and duplicate rows; can repair some encoding issues. No AI or CSV parsing.

## Output

Returns cleaned JSONL where each line is a valid JSON row; empty rows, lines shorter than the minChars threshold (default 3), and duplicate rows (unless keepDuplicates is true) are removed, and some encoding issues are repaired.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "minLength": 1,
   "description": "Nonempty input text. Limit applies to the entire UTF-8 JSON request body including options and escaping, not just this string."
  },
  "options": {
   "type": "object",
   "properties": {
    "minChars": {
     "type": "integer",
     "maximum": 1000,
     "minimum": 1,
     "description": "Drop rows shorter than this (1-1000, default 3)."
    },
    "keepDuplicates": {
     "type": "boolean",
     "description": "Keep duplicate rows (default false)."
    }
   },
   "description": "Optional settings."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/frostskynet-text-json-to-cleaned-jsonl-converter-dac72395/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from route-a-worker.frostskynet-api.workers.dev](https://www.zero.xyz/host/route-a-worker.frostskynet-api.workers.dev/llms.txt)
