{"uid":"cap_bBXsCkqe76ltJtw6LT0Vs","slug":"one-engine-text-to-lines-tokenizer-9bc96651","name":"ONE Engine Text-to-Lines Tokenizer","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v3/text-token/lines/t2?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text up to 50000 characters"}}},"responseSchema":{"type":"object","additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0007","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.0007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SEFGbpsg1JhdVTBGAGJqG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits and tokenizes text into individual lines using a pay-per-call utility API on Base via x402.","exampleAgentPrompt":"Split this block of text into individual lines for me — it's a multi-line log file about 2,000 characters long and I need each line as a separate entry.","exampleUseCases":[{"title":"Log file line extraction","prompt":"I have a server log that's a big blob of text — can you split it into individual lines so I can process each event separately? Here's the raw log output."},{"title":"Poem or lyric line segmentation","prompt":"Take this song lyrics block and break it into separate lines for me so I can analyze each line's sentiment individually."},{"title":"Code snippet line tokenization","prompt":"Split this Python script into its individual lines — I want to iterate over each line to count how many are comments versus actual code."}],"resultDescription":"Returns a JSON object containing the input text split and tokenized into individual lines, allowing downstream agents or processes to iterate over each line as a discrete unit.","failureModes":["Text exceeds 50,000 character limit — request rejected with validation error","Empty text field submitted — may return empty array or error","Malformed JSON body — returns 400 bad request","Payment not provided or insufficient — x402 payment required error returned","Network timeout on Cloudflare Worker — transient 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, cheap ($0.0007 USDC per call) pay-per-call line tokenization utility without standing up your own text-processing infrastructure. Ideal for autonomous agents on Base that need deterministic line-splitting of moderately sized text blocks (up to 50k characters) within an x402 micropayment workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:33.023Z","isFirstParty":false,"canonicalSlug":"one-engine-text-to-lines-tokenizer-9bc96651"}