# Delx Array Reverse

> Delx Array Reverse is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-17).

Reverses the order of a JSON array, returning the reversed list and its count

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/arr-reverse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-array-reverse-fabdde93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fK5mif20bDylv0PH9fQNc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-array-reverse-fabdde93 -d '<json body>'
```

Example prompt: Reverse this list of agent log entries for me so I can read them in reverse chronological order: ["step 1: initialized", "step 2: fetched data", "step 3: processed result"].

## When to prefer this

Choose this endpoint when you need a simple, stateless, low-cost array reversal with no server-side retention and no authentication overhead. Ideal for agents that need to flip chronological sequences such as logs, event histories, or ranked lists on the fly. Prefer it over implementing reversal logic client-side when working within an x402-native micropayment workflow on Base.

## Known failure modes

- Missing or non-array 'items' field returns a validation error
- Empty array input may return an empty reversed array with count 0
- Payment failure via x402 protocol blocks the request before processing
- Very large arrays may hit request size limits

## How this service works

Reverse a list. Call when you need reverse chronological agent logs. Returns reversed items and count 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.

## Output

Returns the input array with all elements in reversed order, along with a count of the number of items in the array. No data is retained after the response.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "description": "Input field: items."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "items": [
   3,
   2,
   1
  ],
  "schema": "delx/util-arr-reverse/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-array-reverse-fabdde93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
