# Agent Rest Stop – Clock Skew

> Agent Rest Stop – Clock Skew is a paid API for AI agents from agent-gas-station.agent-gas-station.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Computes the difference in seconds between a client-supplied Unix timestamp and the server's current worker time, returning the clock skew delta.

## Facts

- Endpoint: POST https://agent-gas-station.agent-gas-station.workers.dev/v1/ClockSkew?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-rest-stop-clock-skew-b8d7d2aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3_M3Qmp1H8D9UebKGdzyC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-rest-stop-clock-skew-b8d7d2aa -d '<json body>'
```

Example prompt: What's the clock skew between my current Unix time of 1717500000 and your server — how many seconds off am I?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Delta versus Worker time, in seconds.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "client_unix": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-rest-stop-clock-skew-b8d7d2aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-gas-station.agent-gas-station.workers.dev](https://www.zero.xyz/host/agent-gas-station.agent-gas-station.workers.dev/llms.txt)
