# Delx Query Param Pick

> Delx Query Param Pick 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-16).

Extracts specified named query parameters from a URL or raw query string and returns their values as deterministic JSON

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/query-param-pick
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-query-param-pick-000a9722
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KZQvdN02l9mp1QMo5d1Tz

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-query-param-pick-000a9722 -d '<json body>'
```

Example prompt: Pull the 'utm_source', 'utm_medium', and 'campaign' query parameters out of this URL for me: https://example.com/landing?utm_source=google&utm_medium=cpc&campaign=spring_sale&ref=homepage

## When to prefer this

Choose this endpoint when you need a lightweight, deterministic, zero-side-effect way to extract specific named query parameters from a URL or raw query string without standing up your own URL parsing logic. It is ideal for agent preflight steps, URL normalization pipelines, OAuth callback handling, UTM parameter extraction, and any scenario where you need a reliable JSON output from a URL string at very low cost ($0.001 USDC). Prefer it over general-purpose code execution or full URL parsing services when you only need to pick specific named params and want a stateless, memory-only micro-utility.

## Known failure modes

- Malformed or unparseable URL returns an error response
- Requested keys not present in the query string return null or missing entries
- Empty keys array may return an empty result object
- Payment authorization failure (x402) blocks execution before processing
- Ambiguous duplicate query params (same key multiple times) may return first or last value depending on implementation

## How this service works

Pick named query parameters from a URL or raw query string — first-party local utility for agent preflight and proven micro-utils expansion. Returns deterministic machine-readable JSON for $0.001 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, no web search, no live RPC, and no mediagen. Results are advisory; the caller owns authorization, budgets, and production controls. Sibling of Delx routes that already conv…

## Output

A deterministic JSON object mapping each requested key name to its corresponding value found in the query string; keys not present in the URL will likely return null or be absent from the result. The response is machine-readable and stateless with no side effects or data retention.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "params": {
   "n": "2",
   "q": "delx"
  },
  "schema": "delx/util-query-param-pick/v1",
  "key_count": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-query-param-pick-000a9722/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)
