{"uid":"cap_8uunTjmnwc-7j7QdHgn9C","slug":"agentutility-semantic-chunk-03cb6387","name":"AgentUtility Semantic Chunk","description":"Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.","url":"https://x402.agentutility.ai/semantic-chunk","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["text"],"properties":{"mode":{"enum":["fixed","sentence","paragraph"],"type":"string","description":"Splitting strategy. Default 'fixed'."},"text":{"type":"string","description":"Text to split. Up to 1,000,000 chars."},"overlap":{"type":"number","description":"Overlap between chunks in characters. Default 50. Capped at chunk_size - 1."},"chunk_size":{"type":"number","description":"Target chunk size in characters. Range [50, 20000]. Default 500."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"mode":{"type":"string"},"chunks":{"type":"array","items":{"type":"object","properties":{"end":{"type":"integer"},"text":{"type":"string"},"start":{"type":"integer"},"char_count":{"type":"integer"}}}},"source":{"type":"string"},"overlap":{"type":"integer"},"chunk_size":{"type":"integer"},"text_chars":{"type":"integer"},"chunk_count":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"mode":"sentence","chunks":[{"end":33,"text":"First sentence. Second sentence. ","start":0,"char_count":33},{"end":52,"text":"Second sentence. Third one. Fourth.","start":17,"char_count":35}],"source":"DIY (pure local)","overlap":10,"chunk_size":30,"text_chars":52,"chunk_count":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Nuwhy4R1jLCLiCWwngb4t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits a block of text into overlapping semantic chunks using configurable chunk size, overlap, and chunking mode (e.g. sentence)","exampleAgentPrompt":"Can you split this article text into sentence-mode chunks of size 300 characters with an overlap of 50 characters so I can embed them for a RAG pipeline? Here's the text: 'Artificial intelligence is reshaping industries worldwide. Companies are investing heavily in machine learning. The results are transformative across healthcare, finance, and logistics.'","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the chunking mode used, chunk size, overlap, total character count, number of chunks, and an array of chunk objects each with start offset, end offset, character count, and the chunk text string.","failureModes":["Missing or empty text input returns an error or empty chunk array","chunk_size smaller than a single sentence may produce degenerate chunks","overlap larger than chunk_size may cause infinite loops or errors","Non-string text input may cause a 400 validation error","Payment not attached or insufficient USDC causes x402 payment-required response"],"whenToPreferThis":"Choose this endpoint when you need lightweight, local (no third-party LLM) text chunking with configurable overlap and sentence-aware splitting for RAG ingestion, embedding preparation, or document preprocessing — especially when you want deterministic, reproducible chunks at low cost ($0.005 per call) without sending data to a large AI model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:12:43.829Z","isFirstParty":false}