{"uid":"cap_770rBsGdoviBUC3fhEXWU","slug":"one-engine-text-t5-line-tokenizer-d60f9feb","name":"ONE Engine Text T5 Line 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/t5?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.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_00dEPqmBPcOtEq9F0FHv3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits input text into lines using a T5-compatible tokenization scheme, returning line-level token segments for up to 50,000 characters.","exampleAgentPrompt":"Can you split this 10,000-character research paper into tokenized lines using T5-style tokenization so I can feed each segment into my NLP pipeline? Here's the text: [paste text]","exampleUseCases":[{"title":"Preprocess documents for T5 model","prompt":"I need to prepare this legal contract for a T5 transformer — can you tokenize it into individual lines so each segment is ready for model input? Here's the full text of the contract."},{"title":"Segment article for NLP analysis","prompt":"Take this news article and break it into line-level tokens so I can run per-line sentiment analysis on each segment."},{"title":"Chunk long text for pipeline ingestion","prompt":"I have a 40,000-character transcript I need split into tokenized lines before feeding it into my processing pipeline — can you run T5 line tokenization on it?"}],"resultDescription":"Returns a JSON object containing the text split into line-level token segments, structured for downstream NLP or transformer model consumption. The exact shape is flexible (additionalProperties: true), but typically includes arrays of tokenized lines or line-boundary data.","failureModes":["Text exceeds 50,000 character limit — request rejected","Empty or missing 'text' field — validation error","Malformed JSON body — 400 bad request","Payment not included or insufficient — 402 payment required","Service unavailable or worker timeout — 5xx error"],"whenToPreferThis":"Choose this endpoint when you need fast, low-cost T5-style line-level tokenization of text up to 50,000 characters in a pay-per-call model via x402 on Base. It is ideal for autonomous agents that need to preprocess documents for transformer pipelines without maintaining a persistent NLP infrastructure. Prefer this over heavier NLP APIs when you only need line segmentation and want minimal per-call cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:34.219Z","isFirstParty":false,"canonicalSlug":"one-engine-text-t5-line-tokenizer-d60f9feb"}