{"uid":"cap_KxSpHuaNjzPAQVrKxzIyV","slug":"delx-commerce-http-request-canonicalize-5ea38dfd","name":"Delx Commerce HTTP Request Canonicalize","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/http-request-canonicalize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","description":"Input field: request."}}},"responseSchema":{"type":"json","example":{"schema":"delx/util-http-request-canonicalize/v1","request":{"url":"https://api.example.com/jobs?a=1&b=2","method":"GET","headers":{"accept":"application/json"},"body_sha256":"74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b"},"fingerprint":"af2e466edad44443374c2fe4ac631b6beb771da69420202b62476eb599543e88","credentials_removed":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZzXrcbStIY60dw25tnymn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Canonicalizes an HTTP request object into a normalized, credential-stripped fingerprint for verifiable, deterministic comparison","exampleAgentPrompt":"Canonicalize this HTTP request for me — it's a GET to https://api.example.com/jobs?a=1&b=2 with an Accept: application/json header — I need a stable fingerprint with credentials stripped so I can deduplicate it.","exampleUseCases":[{"title":"Deduplication of outbound API calls","prompt":"I'm making a bunch of API calls and some might be duplicates — can you canonicalize this GET request to https://api.example.com/orders?status=open&page=1 with Authorization and Accept headers so I can fingerprint it and skip repeats?"},{"title":"Audit log with credential-free request record","prompt":"Before I store this API call in my audit log, strip out the credentials and give me a canonical fingerprint — it's a POST to https://payments.example.com/charge with a Bearer token in the Authorization header."},{"title":"Request equivalence check for caching","prompt":"I have two versions of what might be the same HTTP request — one is https://api.example.com/search?q=hello&lang=en and the other has the params reversed. Can you canonicalize both so I can tell if they're actually identical?"}],"resultDescription":"Returns a JSON object containing the schema identifier (delx/util-http-request-canonicalize/v1), the normalized request (with URL, method, headers, and body_sha256), a deterministic hex fingerprint string, and a boolean confirming credentials were removed.","failureModes":["Missing or malformed request object returns a validation error","Invalid URL format causes canonicalization failure","Unsupported HTTP method may produce unexpected normalization","Empty body results in default SHA256 hash for empty content","Network timeout or upstream service unavailability returns 5xx"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, credential-stripped fingerprint of an HTTP request for purposes such as deduplication, caching, audit logging, or replay detection. It is ideal when you want a pay-per-use, no-signup utility that returns a verifiable canonical form with USDC micropayment settlement on Base or Solana via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:50.006Z","isFirstParty":false,"canonicalSlug":"delx-commerce-http-request-canonicalize-5ea38dfd"}