# Delx Commerce — Array Reverse

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

Reverses the order of elements in an array, returning the reversed list with a count via a pay-per-call API.

## Facts

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

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-commerce-array-reverse-27549266 -d '<json body>'
```

Example prompt: Can you reverse the order of this list for me: [1, 2, 3, 4, 5]?

## When to prefer this

Choose this endpoint when you need a simple, deterministic, pay-per-call array reversal with no signup required and verifiable delivery via x402 on Base or Solana. Useful when you want an auditable on-chain micropayment for a utility operation rather than relying on a free in-memory operation, or when operating in an agent context that uses x402 for trustless payment.

## Known failure modes

- Missing or empty 'items' field returns an error
- Non-array value for 'items' causes a validation failure
- Payment not provided or insufficient USDC results in a 402 response
- Malformed JSON body returns a parsing error

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing the reversed array under 'items', the count of elements under 'count', and a schema identifier string 'delx/util-arr-reverse/v1'.

## 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-commerce-array-reverse-27549266/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
