{"uid":"cap_mZMgZcKMiKKf8oqJtuYd4","slug":"arabic-pipeline-text-chunker-b037ccfc","name":"Arabic Pipeline – Text Chunker","description":"Nine micro-capabilities for Arabic-language work, sold per call over x402 in USDC on Base. No API key, no account, no subscription for the buyer: the first request returns a 402 payment challenge, the client pays it and retries. Text utilities are pure computation and cost nothing to serve.","url":"https://arabic-pipeline.arabic-pipeline.workers.dev/text/chunk?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"The text to split."},"overlap":{"type":"integer","minimum":0},"max_chars":{"type":"integer","maximum":8000,"minimum":1}}},"responseSchema":{"type":"json","example":{"count":1,"chunks":[{"end":12,"text":"مرحبا بالعالم","index":0,"start":0}],"cost_usd":0.002,"endpoint":"POST /text/chunk","total_chars":12}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YCwmFQEn1VAEhuBVWdopj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits Arabic text into overlapping or non-overlapping chunks of a specified maximum character length","exampleAgentPrompt":"Split this Arabic text into chunks of at most 500 characters each with a 50-character overlap between consecutive chunks: 'الذكاء الاصطناعي هو محاكاة للعمليات الذكاء البشري...'","exampleUseCases":[{"title":"RAG pipeline document ingestion","prompt":"I have a long Arabic news article and I need to break it into chunks of 300 characters max with a 30-character overlap so I can embed each chunk and store it in my vector database — can you chunk it for me?"},{"title":"LLM context window preparation","prompt":"Take this Arabic legal document and split it into segments of no more than 1000 characters with no overlap so I can feed each piece into the model without exceeding the context limit."},{"title":"Semantic search index building","prompt":"I need to index a collection of Arabic product descriptions for semantic search — chunk each description into pieces of at most 200 characters with a 20-character overlap so I can generate embeddings."}],"resultDescription":"Returns a JSON object containing an array of chunk objects (each with index, start offset, end offset, and text), a total chunk count, total character count, the endpoint name, and the cost in USD ($0.002 per call).","failureModes":["Text exceeds processing limits — max_chars must be between 1 and 8000","Invalid overlap value — overlap must be a non-negative integer","Missing required 'text' field returns validation error","Non-Arabic or mixed-script text may produce unexpected chunk boundaries","402 Payment Required on first call — client must complete x402 USDC payment challenge before retrying","Network timeout on Cloudflare Worker if text payload is extremely large"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, no-registration Arabic text chunker with configurable chunk size and overlap, especially when building RAG pipelines, embedding workflows, or semantic search indexes over Arabic content. Prefer it over general-purpose chunkers when the text is primarily Arabic and you want fine-grained control over chunk boundaries via character counts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:36:54.189Z","isFirstParty":false,"canonicalSlug":"arabic-pipeline-text-chunker-b037ccfc"}