{"slug":"shop-lordevo-com-api-quick-text-chunk-4abeed","title":"Text chunker for RAG (heading-aware, token-sized chunks)","host":"shop.lordevo.com","method":"GET","resource":"https://shop.lordevo.com/api/quick/text-chunk","category":"market","description":"Text chunker for RAG (heading-aware, token-sized chunks): Splits text you send, or the main content of one public page, into heading-aware chunks of at most max_tokens with optional overlap, each with its heading path and an approximate token count, for RAG ingestion. Input: text (POST for long text","price_listed":0.005,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"max_tokens":"200","text":"The quick brown fox jumps over the lazy dog."},"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":{"max_tokens":{"default":"500","description":"Max tokens per chunk, 50-4000 (default 500)","pattern":"^\\d{2,4}$","type":"string"},"overlap_tokens":{"default":"50","description":"Tokens repeated from the previous chunk, 0 to half of max_tokens (default 50)","pattern":"^\\d{1,4}$","type":"string"},"text":{"description":"Plain text or Markdown, 1-400,000 characters (short text in the query; long text as POST JSON {\"text\": \"...\"}) (or give url)","type":"string"},"url":{"description":"Public http(s) URL or bare domain, e.g. https://example.com (instead of text)","type":"string"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"chunk_count":{"type":"integer"},"chunks":{"items":{"properties":{"approx_tokens":{"type":"integer"},"heading":{"type":["string","null"]},"heading_path":{"type":"array"},"index":{"type":"integer"},"text":{"type":"string"}},"type":"object"},"type":"array"},"max_tokens":{"type":"integer"},"overlap_tokens":{"type":"integer"},"source":{"enum":["text","url"],"type":"string"},"tool":{"type":"string"},"total_tokens_estimate":{"type":"integer"},"truncated":{"type":"boolean"}},"required":["tool","chunk_count","chunks"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Text chunker for RAG (heading-aware, token-sized chunks): Splits text you send, or the main content of one public page, into heading-aware chunks of at most max_tokens with optional overlap, each with its heading path and an approximate token count, for RAG ingestion. Input: text (POST for long text","last_updated":"2026-10-30T14:24:42.102Z","schemes":["exact"]}