# Delx Commerce — Query Parameter Picker

> Delx Commerce — Query Parameter Picker 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).

Extracts specific query parameters by key name from a given URL string

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/query-param-pick?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-query-parameter-picker-4aff3c41
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kVUJvXqTWSsAObF_Wk34t

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-query-parameter-picker-4aff3c41 -d '<json body>'
```

Example prompt: From the URL 'https://example.com/search?q=delx&n=2&page=5', extract just the 'q' and 'n' query parameters and return their values.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use utility to extract specific named query parameters from a URL without setting up a full URL parsing library or dependency. Ideal for agent workflows that encounter arbitrary URLs and need to pluck out specific values quickly and cheaply at $0.001 per call.

## Known failure modes

- Malformed or non-URL input may cause extraction failure or empty params
- Requested keys not present in URL query string return with empty or missing values
- Invalid JSON body results in a 400-level error
- Payment failure (insufficient USDC) blocks the request via x402 protocol

## 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 with 'ok' status, a 'params' map containing only the requested keys and their values from the URL's query string, the schema identifier, and a count of how many keys were successfully extracted.

## 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-commerce-query-parameter-picker-4aff3c41/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)
