# Delx Pluck

> Delx Pluck 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).

Extracts all values for a specified key from an array of JSON objects, returning a flat list of those values.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/pluck
- 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-pluck-b0a72152
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M6v0Lj-KaLoXnE5-g3OdF

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-pluck-b0a72152 -d '<json body>'
```

Example prompt: From this array of user objects I have, pull out every 'id' field and give me just the flat list of those values.

## When to prefer this

Choose this endpoint when you already have a JSON array in memory and need to extract a single field's values into a flat list without writing custom mapping logic. It is ideal for lightweight, stateless field extraction in agentic pipelines where spinning up code execution is overkill. Prefer it over general-purpose code execution when the operation is purely a projection of one key across objects and you want a fast, cheap ($0.001 USDC), no-side-effect utility call.

## Known failure modes

- Key not found in any object — returns an empty list
- Items field is not an array — validation error
- Key field is empty or missing — bad request error
- Malformed JSON in items array — parse error
- Payment failure via x402 — 402 response, no result returned

## How this service works

Pluck a key from a list of objects. Call when you extract IDs/fields from agent-held JSON arrays. Returns values list and key 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 specified key and a flat array of all the values found under that key across the input list of objects. Missing keys in individual items may yield nulls or be omitted depending on implementation.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "key": "id",
  "count": 2,
  "schema": "delx/util-pluck/v1",
  "values": [
   1,
   2
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-pluck-b0a72152/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)
