{"uid":"cap_3_M3Qmp1H8D9UebKGdzyC","slug":"agent-rest-stop-clock-skew-b8d7d2aa","name":"Agent Rest Stop – Clock Skew","description":"Delta versus Worker time, in seconds.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/ClockSkew?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"client_unix":{"type":"string"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SHiBEwg6-Tbzg2Z_tidXS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the difference in seconds between a client-supplied Unix timestamp and the server's current worker time, returning the clock skew delta.","exampleAgentPrompt":"What's the clock skew between my current Unix time of 1717500000 and your server — how many seconds off am I?","exampleUseCases":[{"title":"Distributed agent time sync check","prompt":"My agent's current Unix timestamp is 1717500000 — can you tell me how many seconds off it is from the server's clock?"},{"title":"Detecting NTP drift before a payment","prompt":"Before I submit this time-sensitive transaction, check my clock skew — my client Unix time is 1717485600. How far off am I from the server?"},{"title":"Scheduled task timing validation","prompt":"I'm about to fire a scheduled job and I need to know if my system clock is drifting — my Unix timestamp right now is 1717512345, what's the delta versus your worker time?"}],"resultDescription":"Returns the delta in seconds between the submitted client_unix timestamp and the server's current worker time, indicating how much the client clock leads or lags the server.","failureModes":["Missing or malformed client_unix field returns an error","Non-numeric or unparseable timestamp string causes a processing error","Payment failure via x402 protocol blocks the request","Network timeout if the worker is unavailable"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call clock skew measurement between a client agent and a Cloudflare Worker server, particularly in distributed or multi-agent systems where time synchronization affects correctness of scheduling, payments, or coordination.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:39.917Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-clock-skew-b8d7d2aa"}