{"uid":"cap_CLX5xjRhw0jE64-se1ZNP","slug":"bounty-engineer-text-chunker-4f3c4d98","name":"Bounty Engineer Text Chunker","description":"Machine-buyable infrastructure for autonomous agents: API cost routing, margin optimization, funding-rate data, webpage extraction, result verification, spend controls, retry planning, state, tender search and GitHub bounty intelligence.","url":"https://bounty-engineer-x402-prod.onrender.com/v1/text-chunker?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"chunk_chars":{"type":"integer"},"overlap_chars":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"ok":true,"mode":"text_chunker","chunks":[{"text":"One two three four five six seven eight nine ten. One two three four five six seven eight nine ten. One two three four five six","index":0,"sha256":"32885d3ed2faf9ef13427870eaa245ec1db41662193b7e82c54184d5f6562c59","end_utf16":127,"start_utf16":0},{"text":"ee four five six seven eight nine ten.","index":1,"sha256":"cf7ed180f6a6e9beb991ae31adf3c8862553c393e7ae13745d7420cdabd337eb","end_utf16":149,"start_utf16":111}],"truncated":false,"chunk_chars":128,"chunk_count":2,"input_chars":149,"overlap_chars":16}},"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_4IrKHMlN2pWEkprSgIkvW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits a text string into overlapping fixed-size chunks with SHA-256 hashes and UTF-16 byte offsets for downstream processing by AI agents.","exampleAgentPrompt":"Split this article into chunks of 256 characters each with a 32-character overlap so I can embed them for search: 'The quick brown fox jumps over the lazy dog. This is a test document with multiple sentences to demonstrate chunking.'","exampleUseCases":[{"title":"RAG pipeline document ingestion","prompt":"Take this 5000-word research paper text and break it into 512-character chunks with 64 characters of overlap so I can store each piece in my vector database for semantic search."},{"title":"Webpage text preparation for embedding","prompt":"I scraped this webpage and got back a big block of text — can you chunk it into 128-character segments with 16-character overlap and give me the SHA-256 hash for each chunk so I can track deduplication?"},{"title":"LLM context window segmentation","prompt":"This document is too long to fit in one prompt — please split it into 1024-character chunks with 100-character overlap so my agent can process each piece sequentially without losing context at the boundaries."}],"resultDescription":"Returns a JSON object containing an array of chunk objects, each with the chunk text, its sequential index, a SHA-256 hash, and UTF-16 start/end character offsets. Also returns metadata: total chunk count, input character count, chunk size used, overlap size used, and a truncated flag indicating whether the input was cut short.","failureModes":["Missing or empty 'text' field returns an error","chunk_chars value of zero or negative may cause undefined behavior","Very large text inputs may time out or be truncated (truncated: true)","Non-integer values for chunk_chars or overlap_chars may be rejected","overlap_chars equal to or greater than chunk_chars could cause infinite loop or error"],"whenToPreferThis":"Choose this endpoint when you need deterministic, reproducible text chunking with per-chunk SHA-256 fingerprints and UTF-16 byte offsets — especially useful for RAG pipelines, vector database ingestion, or deduplication workflows. Prefer it over in-process chunking libraries when you need a consistent, auditable, payable micro-service call that integrates with the x402 agent commerce ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:49:44.672Z","isFirstParty":false,"canonicalSlug":"bounty-engineer-text-chunker-4f3c4d98"}