# Delx Zip Keys Values

> Delx Zip Keys Values is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Zips two parallel arrays (keys and values) into a single JSON object, returning the merged object and an entry count.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/zip-keys-values
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-zip-keys-values-37d390d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7c-WH96POqz4-aRtAOJo8

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-zip-keys-values-37d390d4 -d '<json body>'
```

Example prompt: I have two parallel arrays — keys ["name","age","city"] and values ["Alice",30,"Paris"] — can you zip them together into a single object?

## When to prefer this

Use this endpoint when an agent pipeline has produced keys and values as separate parallel arrays and needs to reconstruct a proper key-value map without writing custom code. It is ideal for stateless, local JSON transformation with no network dependencies, no data retention, and a predictable $0.001 cost per call.

## Known failure modes

- Mismatched array lengths may produce an object with missing values or an error response
- Non-string keys may be rejected or coerced
- Empty arrays return an empty object with count 0
- Duplicate keys in the keys array will result in later values overwriting earlier ones
- Payment failure (402) if USDC balance is insufficient

## How this service works

Zip key and value lists into an object. Call when you rebuild maps from parallel agent arrays. Returns object 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 a JSON object containing the merged key-value object (where each key from the keys array is paired with the corresponding value from the values array) and an integer count of how many entries were created.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "object": {
   "a": 1,
   "b": 2
  },
  "schema": "delx/util-zip-keys-values/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-zip-keys-values-37d390d4/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)
