{"uid":"cap_ft_lEoQiXxytmSVGie975","slug":"frostskynet-text-json-to-cleaned-jsonl-converter-dac72395","name":"FrostSkyNet Text/JSON to Cleaned JSONL Converter","description":"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.","url":"https://route-a-worker.frostskynet-api.workers.dev/clean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1f15pph3e2k1xkIg0nXx_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts raw text, JSON, or JSONL input into cleaned JSONL by removing empty, short, and duplicate rows, with optional encoding repair.","exampleAgentPrompt":"Clean up this raw text blob into JSONL — drop any rows shorter than 5 characters and remove all duplicates: [paste text here].","exampleUseCases":[{"title":"Deduplicating scraped web content","prompt":"I scraped a bunch of text from several web pages and merged it into one blob — can you clean it into JSONL, remove duplicate lines, and drop anything shorter than 10 characters?"},{"title":"Preparing ML training data","prompt":"I have a JSONL file for fine-tuning a model but it has lots of empty rows, short junk lines, and duplicates — clean it up for me, keeping only rows with at least 15 characters and no duplicates."},{"title":"Fixing encoding-corrupted JSON","prompt":"This JSON dataset has some garbled encoding issues along with empty and repeated rows — can you repair and clean it into valid JSONL, dropping anything under 5 characters and deduplicating everything?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:34:38.189Z","isFirstParty":false,"canonicalSlug":"frostskynet-text-json-to-cleaned-jsonl-converter-dac72395"}