{"uid":"cap_vD9Xket9VahHSvqmjTHVl","slug":"402utils-sentence-segmentation-0724f0d8","name":"402utils Sentence Segmentation","description":"Segment text into sentences — robust to the classic traps: abbreviations (Dr., e.g.), decimals ($3.14), URLs/emails (www.x.com), initials (J. R. R.) and ellipses. A period is a boundary only when followed by whitespace and a sentence-like start; !, ? and … are stronger; blank lines split paragraphs. Rule-based (EN/FR tuned), deterministic. A fine-grained chunking primitive, complements /v1/chunk. Over 1 MB truncated.","url":"https://402utils.com/v1/sentences","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lang":{"type":"string","description":"Optional language hint (e.g. 'en', 'fr'). The abbreviation list already covers EN+FR."},"text":{"type":"string","description":"The text to segment (max 1 MB UTF-8; larger is truncated)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7mm1u0O92yMS7La3ErCdn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits text into sentences using deterministic, rule-based logic robust to abbreviations, decimals, URLs, initials, and ellipses","exampleAgentPrompt":"Split this paragraph into individual sentences — it has abbreviations like Dr. and e.g. and some decimal numbers, so make sure those periods aren't treated as sentence endings: 'Dr. Smith earned approx. $3.14 per unit. He works at J. R. R. Tolkien Ave. Is that enough?'","exampleUseCases":null,"resultDescription":"Returns a list of sentence strings extracted from the input text, with period disambiguation applied so abbreviations (Dr., e.g.), decimals ($3.14), URLs, initials, and ellipses do not create false sentence breaks. Blank lines are treated as paragraph boundaries. Output is deterministic for the same input.","failureModes":["Text exceeding 1 MB is silently truncated before processing","Unsupported or unrecognized language hint may fall back to default EN/FR abbreviation list","Very unusual punctuation or non-Latin scripts may produce unexpected boundaries","Empty or whitespace-only input may return an empty sentence list","HTTP 402 if payment header is missing or insufficient"],"whenToPreferThis":"Choose this endpoint when you need deterministic, rule-based sentence boundary detection that correctly handles common traps like abbreviations, decimals, URLs, initials, and ellipses — especially for English or French text. Prefer it over generic chunkers when you need fine-grained sentence-level splitting rather than paragraph or token-level chunking, and when reproducibility matters (no ML non-determinism). Pairs well with the sibling /v1/chunk endpoint for multi-level text decomposition.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:50:36.951Z","isFirstParty":false}