{"uid":"cap_7oXbN7pvt-2YuFMnatdJe","slug":"delx-commerce-dns-soa-serial-compare-936d477b","name":"Delx Commerce DNS SOA Serial Compare","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/dns-soa-serial-compare?utm_source=zero.xyz","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_H2U8YulfHUsbPOvrch5Bg","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 modular arithmetic to determine which is newer and by how much","exampleAgentPrompt":"Compare DNS SOA serial 2026080901 as the current value against candidate 2026080902 and tell me if the candidate is newer and by how much.","exampleUseCases":[{"title":"DNS zone transfer freshness check","prompt":"I need to check if my secondary DNS server's zone serial 2026080800 is behind the primary's serial 2026080902 — is the secondary stale and by how much?"},{"title":"Automated DNS sync monitoring","prompt":"My monitoring script has current SOA serial 2025123101 and just pulled candidate serial 2025123199 from a remote nameserver — confirm the candidate is newer and give me the modular delta."},{"title":"Validate zone rollover after update","prompt":"I just updated my DNS zone and the old serial was 2026010101 and the new one is 2026010102 — can you verify the new serial is correctly ahead of the old one using RFC 1982 serial comparison?"}],"resultDescription":"Returns a JSON object with both input serials, the delta computed modulo 2^32, a boolean indicating whether the candidate is newer than the current, the schema version, a pass/fail status, and evidence metadata including input hash and confirmation that no data was retained and no external calls were made.","failureModes":["Missing required 'current' or 'candidate' integer fields returns a validation error","Non-integer inputs (strings, floats) fail schema validation","Payment failure or insufficient USDC balance results in 402 response before computation","Extremely large integers outside 32-bit serial number range may produce unexpected modular results"],"whenToPreferThis":"Use this endpoint when you need a verifiable, pay-per-call, cryptographically evidenced computation of DNS SOA serial comparison using RFC 1982 modular arithmetic — particularly when you need auditability (input hash, no-retention evidence) and don't want to implement the modular arithmetic yourself. Prefer this over local computation when operating in agent workflows that require verifiable, trustless execution logs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:06.681Z","isFirstParty":false,"canonicalSlug":"delx-commerce-dns-soa-serial-compare-936d477b"}