{"uid":"cap_5Xm4XsmBLlq42ixQ5tbgf","slug":"one-engine-text-split-1860cae1","name":"ONE Engine Text Split","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/text/split?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"separator":{"type":"string"}}},"responseSchema":{"type":"json","example":{"count":3,"values":["a","b","c"]}},"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_E3nQOJISnYpnanM1WqfEq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Splits a string of text into an array of substrings using a specified separator, returning the parts and their count.","exampleAgentPrompt":"Split the text 'apple,banana,cherry,date' using a comma as the separator and tell me the resulting parts and how many there are.","exampleUseCases":[{"title":"Parsing CSV row into fields","prompt":"Take this CSV row — 'John,Doe,42,New York,Engineer' — and split it by commas so I can work with each field individually."},{"title":"Segmenting a file path","prompt":"Split the path '/usr/local/bin/python3' by forward slash so I can see each directory component as a separate item."},{"title":"Tokenizing a sentence by spaces","prompt":"Break this sentence into individual words by splitting on spaces: 'The quick brown fox jumps over the lazy dog'."}],"resultDescription":"Returns a JSON object containing 'count' (integer number of resulting substrings) and 'values' (array of the split string parts).","failureModes":["Missing 'text' field returns an error or empty result","Empty separator may split into individual characters or fail depending on implementation","Very large text strings may hit payload size limits","Non-string types for text or separator may cause a 400 error","Payment failure via x402 returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call string splitting operation inside an autonomous agent pipeline without spinning up a full compute environment. It is ideal for simple delimiter-based text parsing tasks where the cost per call ($0.001 USDC) is acceptable and the operation needs to be composable with other ONE Engine utility APIs on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:22.766Z","isFirstParty":false,"canonicalSlug":"one-engine-text-split-1860cae1"}