{"slug":"saylorinnovations-com-api-text-chunk-f1bf9a","title":"Split text into sentence, paragraph or fixed-size chunks for RAG with optional o","host":"saylorinnovations.com","method":"GET","resource":"https://saylorinnovations.com/api/text/chunk","category":"market","description":"Split text into sentence, paragraph or fixed-size chunks for RAG with optional overlap, character offsets and a rough token estimate per chunk","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":981,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"mode":"sentence","size":"100","text":"First sentence here. Second sentence follows it. Third one ends the paragraph.\n\nNew paragraph starts now. It has two sentences."},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"mode":{"description":"optional sentence (default), paragraph or fixed","type":"string"},"size":{"description":"optional target characters per chunk 100-8000, default 1000","type":"string"},"text":{"description":"Text to split, up to 30000 characters","type":"string"}},"required":["text"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"average_chunk_characters":{"description":"Average chunk characters","type":"number"},"chunk_count":{"description":"Number of chunk","type":"number"},"chunks":{"description":"Chunks with index, start and end offsets in the original text, character count, rough token estimate and text","items":{"properties":{"characters":{"description":"Characters in the chunk","type":["number","null"]},"end":{"description":"End offset in the original text","type":["number","null"]},"estimated_tokens":{"description":"Estimated tokens"},"index":{"description":"Index value"},"start":{"description":"Start offset in the original text","type":["number","null"]},"text":{"description":"Text content"}},"type":"object"},"type":"array"},"largest_chunk_characters":{"description":"Largest chunk characters","type":"number"},"mode":{"description":"Mode used","type":"string"},"note":{"description":"Caveat or context for reading the result","type":"string"},"overlap":{"description":"Overlap between chunks in characters","type":"number"},"size":{"description":"Target characters per chunk","type":"number"},"source":{"description":"Data source the values come from","type":"string"},"total_characters":{"description":"Total characters","type":"number"}},"required":["chunk_count","chunks"],"type":"object"},"type":{"const":"json","type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":981,"error":null}],"description_full":"Split text into sentence, paragraph or fixed-size chunks for RAG with optional overlap, character offsets and a rough token estimate per chunk","last_updated":"2026-10-20T14:52:01.965Z","schemes":["exact"]}