{"uid":"cap_KZQvdN02l9mp1QMo5d1Tz","slug":"delx-query-param-pick-000a9722","name":"Delx Query Param Pick","description":"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…","url":"https://api.delx.ai/api/v1/x402/query-param-pick","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Input field: url."},"keys":{"type":"array","description":"Input field: keys."}}},"responseSchema":{"type":"json","example":{"ok":true,"params":{"n":"2","q":"delx"},"schema":"delx/util-query-param-pick/v1","key_count":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oci5ysLmyFzUxs4F4bvZI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts specified named query parameters from a URL or raw query string and returns their values as deterministic JSON","exampleAgentPrompt":"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","exampleUseCases":[{"title":"Extract UTM tracking params from marketing URL","prompt":"I have this marketing URL and I need to extract just the utm_source and utm_medium values from it: https://shop.example.com/products?utm_source=newsletter&utm_medium=email&utm_campaign=may_launch&ref=header — can you pull those two params out?"},{"title":"Parse OAuth callback code from redirect URL","prompt":"I got this OAuth redirect URL back from the authorization server: https://myapp.com/callback?code=abc123xyz&state=random456&session_state=xyz — grab the 'code' and 'state' params from it."},{"title":"Read pagination params from API request URL","prompt":"Can you extract the 'page', 'limit', and 'sort' query parameters from this API URL: https://api.service.com/items?page=3&limit=50&sort=desc&filter=active"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:53:15.124Z","isFirstParty":false}