ONE Engine Array Index-Of is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).
Finds the index of a given value within an array, returning whether it was found and at what position.
Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.
Returns a JSON object with a boolean 'found' field indicating whether the value was present in the array, and an 'index' integer field indicating the zero-based position of the first match (e.g. {"found": true, "index": 1}).
POSThttps://one-search.one-engine.workers.dev/v1/array/index-of?utm_source=zero.xyzChoose this endpoint when an AI agent needs a lightweight, pay-per-call array search operation without spinning up its own compute. Ideal for agents that occasionally need to locate an element in a list and want a simple, cheap utility call rather than embedding array logic in the agent itself. Best for small-to-medium arrays where a real-time lookup costing $0.001 USDC is acceptable.
| Field | Type | Description |
|---|---|---|
| value | — | |
| values | array |
{
"type": "json",
"example": {
"found": true,
"index": 1
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"