{"uid":"cap_MfRa84gSI9Tav6Q87WGlM","slug":"delx-commerce-url-query-parameter-diff-6461f8e1","name":"Delx Commerce — URL Query Parameter Diff","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/url-query-param-diff?utm_source=zero.xyz","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_9dkE5IUENTtsc9BqBsLeL","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 the query parameters of two URLs and returns which parameters were added, changed, or removed between them.","exampleAgentPrompt":"Can you tell me what query parameters changed between these two URLs? Before: 'https://example.com/search?a=1&b=2' and after: 'https://example.com/search?a=2&c=3' — I want to know what was added, removed, or updated.","exampleUseCases":[{"title":"Audit redirected URL parameter changes","prompt":"I have two versions of a tracking URL — the one we sent out and the one the redirect landed on. Can you diff their query params? Before: 'https://ads.example.com/click?campaign=summer&source=email&ref=abc' and after: 'https://ads.example.com/click?campaign=summer&source=web&utm_medium=cpc'. I need to know what was added, changed, or dropped."},{"title":"Detect A/B test URL parameter drift","prompt":"We're running an A/B test and I want to check if the URLs being served have drifted from the original spec. Compare the query params on 'https://shop.example.com/product?variant=A&price=99&discount=10' versus 'https://shop.example.com/product?variant=B&price=89' and tell me what's different."},{"title":"Verify webhook callback URL integrity","prompt":"Before processing this webhook, I want to make sure no unexpected query parameters were added or removed from the callback URL. Can you diff 'https://api.myapp.com/callback?token=xyz&event=purchase&version=1' against 'https://api.myapp.com/callback?token=xyz&event=purchase&version=2&debug=true' and flag any changes?"}],"resultDescription":"Returns a JSON object with three sections — 'added' (new query params in the after URL), 'changed' (params present in both but with different values, showing before and after values), and 'removed' (params in the before URL but absent in the after URL). Also includes an evidence block confirming no data was retained, an input SHA-256 hash for verifiability, zero external calls, and a status of 'pass'.","failureModes":["Malformed or non-URL strings may result in parse errors","URLs exceeding 8192 characters will be rejected","Missing required 'before_url' or 'after_url' fields will cause validation errors","URLs with no query parameters will return empty diff sections","Payment failure via x402 will block the request from being processed"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, verifiable, privacy-safe comparison of query parameters between two URL versions — especially in agent pipelines where no data retention is acceptable and you want cryptographic proof (SHA-256 hash) of the input. Ideal for URL auditing, redirect validation, parameter drift detection, and webhook integrity checks. At $0.001 USDC per call with no signup required, it fits pay-as-you-go agent workflows well. Prefer it over general-purpose string diff tools when you specifically need structured query-parameter-level semantics rather than raw text diffing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:59:41.733Z","isFirstParty":false,"canonicalSlug":"delx-commerce-url-query-parameter-diff-6461f8e1"}