{"uid":"cap_yvIeQiWVQEeqznteLREwy","slug":"url-query-param-diff-4e586064","name":"URL Query Param Diff","description":"URL Query Param Diff: URL Query Param Diff finds added, removed, and changed query parameters between URLs from bounded caller-supplied values without an external provider. Call URL Query Param Diff before accepting, caching, redirecting, or retrying a caller-supplied web response. Returns normalized web evidence, the computed finding, and an explicit pass or advisory status for URL Query Param Diff as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, me…","url":"https://api.delx.ai/api/v1/x402/url-query-param-diff","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after_url":{"type":"string","maxLength":8192,"description":"After URL supplied to URL Query Param Diff; used only for this bounded calculation and processed in memory without retention."},"before_url":{"type":"string","maxLength":8192,"description":"Before URL supplied to URL Query Param Diff; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"added":{"c":"3"},"changed":{"a":{"after":"2","before":"1"}},"removed":{"b":"2"}},"schema":"delx/util-url-query-param-diff/v1","status":"pass","evidence":{"retained":false,"input_sha256":"3515f5558fb69829367b6de74545ae835dc31d8214a47050a271c62c654bddfe","external_calls":0},"operation":"web_reliability:url_query_param_diff"}},"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_i3NETimd0pigcRcY8P8pz","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":"Compares two URLs and returns added, removed, and changed query parameters between them as deterministic JSON.","exampleAgentPrompt":"Can you diff the query parameters between these two URLs and tell me what was added, removed, or changed? Before: 'https://example.com/cb?code=abc&state=xyz' and after: 'https://example.com/cb?code=abc&state=xyz&extra=injected'","exampleUseCases":[{"title":"Redirect URL tamper detection","prompt":"Before accepting this OAuth redirect, can you compare the original authorization URL 'https://auth.example.com/authorize?client_id=123&scope=read&state=abc' against the callback 'https://auth.example.com/authorize?client_id=123&scope=read&state=abc&admin=true' and tell me if any query params were added or changed?"},{"title":"Cache invalidation parameter check","prompt":"I'm about to serve a cached response — can you diff the query params between the cached URL 'https://api.service.com/data?user=42&page=1&v=2' and the incoming request URL 'https://api.service.com/data?user=42&page=2&v=2' so I know if they're equivalent or if something changed?"},{"title":"Webhook retry URL validation","prompt":"Before retrying this failed webhook delivery, can you check what query parameters differ between the original URL 'https://hooks.myapp.com/events?token=abc&ts=1000&retry=false' and the new one 'https://hooks.myapp.com/events?token=abc&ts=2000&retry=true' to confirm the only changes are timestamp and retry flag?"}],"resultDescription":"Returns versioned deterministic JSON containing: the normalized before and after URLs as web evidence, a computed finding listing added, removed, and changed query parameters with their values, and an explicit pass or advisory status indicating whether differences were detected.","failureModes":["Malformed or unparseable URL input returns an error or advisory status","URLs exceeding 8192 characters are rejected","Missing before_url or after_url fields result in a validation error","URLs with no query parameters produce an empty diff with pass status"],"whenToPreferThis":"Choose this endpoint when you need a stateless, deterministic, zero-retention comparison of query parameters between two URLs — especially before accepting, caching, redirecting, or retrying a caller-supplied web response. Prefer it over manual string parsing when you need a structured, versioned JSON result with explicit pass/advisory status for downstream decision-making, and when you cannot rely on external dependencies or state.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:15.030Z","isFirstParty":false}