InputPOST /api/v1/x402/index-of
{
"text": "hello delx agents",
"needle": "delx"
}
Agent data quality · data-quality
Find first index of a substring. Call when you need slice boundaries for agent text surgery. Returns index and found flag (-1 if missing) for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/index-of -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"text":"hello delx agents","needle":"delx"}'
{
"text": "hello delx agents",
"needle": "delx"
}
{
"schema": "delx/util-index-of/v1",
"index": 6,
"found": true
}
Machine-readable evidence