{"uid":"cap_PDIFBstyw46rNIR9kzhgs","slug":"dns-soa-serial-compare-0e470b77","name":"DNS SOA Serial Compare","description":"DNS SOA Serial Compare: DNS SOA Serial Compare compares SOA serials with 32-bit wraparound ordering from bounded caller-supplied values without an external provider. Call DNS SOA Serial Compare 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 DNS SOA Serial Compare as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memor…","url":"https://api.delx.ai/api/v1/x402/dns-soa-serial-compare","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"current":{"type":"integer","description":"Current supplied to DNS SOA Serial Compare; used only for this bounded calculation and processed in memory without retention."},"candidate":{"type":"integer","description":"Candidate supplied to DNS SOA Serial Compare; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"current":2026080901,"candidate":2026080902,"delta_mod_32":1,"candidate_newer":true},"schema":"delx/util-dns-soa-serial-compare/v1","status":"pass","evidence":{"retained":false,"input_sha256":"9febd53cb6501e9bcda3f0c607a1384a0ce164c890676f9d5051bc3424e22c53","external_calls":0},"operation":"web_reliability:dns_soa_serial_compare"}},"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_dvuAIT3KOqJmHsGTMH3XO","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 DNS SOA serial numbers using RFC 1982 32-bit wraparound ordering to determine which is newer or equal","exampleAgentPrompt":"Compare DNS SOA serial 2023010101 (current) against candidate serial 2023010102 and tell me if the candidate is newer using RFC 1982 32-bit wraparound ordering.","exampleUseCases":[{"title":"Zone transfer freshness validation","prompt":"I have a current SOA serial of 2023091500 and my secondary DNS just reported a candidate serial of 2023091501 — is the candidate actually newer, or could this be a wraparound artifact?"},{"title":"DNS failover serial sanity check","prompt":"Before I accept this DNS failover response, can you compare the current SOA serial 4294967290 against candidate serial 5 and tell me if candidate is considered newer given 32-bit wraparound?"},{"title":"Caching layer DNS cache invalidation","prompt":"My cache has SOA serial 2024030101 and I just got a response with serial 2024030102 — does the candidate serial indicate I should invalidate the cache and refresh?"}],"resultDescription":"Returns a versioned deterministic JSON object containing: normalized evidence of the two input serials, the computed comparison finding (whether candidate is newer, equal, or older than current under RFC 1982 32-bit modular arithmetic), and an explicit pass or advisory status indicating whether the candidate serial should be accepted.","failureModes":["Missing or invalid integer inputs return an error response","Values outside 32-bit unsigned integer range may produce unexpected results","Ambiguous zone (difference exactly 2^31) returns advisory rather than definitive result"],"whenToPreferThis":"Use this endpoint when you need a stateless, deterministic, RFC 1982-compliant comparison of DNS SOA serials that correctly handles 32-bit wraparound — particularly when current or candidate serials are near the 2^32 boundary where naive integer comparison would give wrong results. Prefer over custom code when you need an auditable, versioned, pay-per-use computation with no server-side state retention.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:49:53.740Z","isFirstParty":false}