Observed-value comparison

Compare the last stored observation at or before each of two times. Reports observation times and evidence; unavailable historical values remain UNKNOWN. Submit the unsigned request first. Sign only the returned x402 v2 exact offer on Base if it fits your USDC limit. Retry with the original body and idempotency key, the signature and the returned quote. After uncertainty, recover the original operation via the catalog instructions.

post/api/paid/v1/compare

Request

  • Base URL
    https://api.xguardgate.com
  • Auth
    none declared. Required headers: Idempotency-Key

Headers

Idempotency-Keystring required

Stable key for the initial call and all retries.

Payment-Signaturestring

Base64 x402 v2 payment payload, for the authorized retry.

X-XGuard-Quotestring

Original signed quote returned by the unsigned call.

Request body

max_amount_atomicstring required

Buyer-authorized maximum in 6-decimal USDC atomic units. No payment occurs merely by supplying a cap.

factstring required

Canonical public fact ID, e.g. npm/react/latest-version; never an arbitrary URL.

fromstring date-time required
tostring date-time required

Response

Purchased result with settlement evidence and signed receipt

okunknown required
resultobject required
receiptobject required
settlementobject required
proofrailobject required

Changes

No recorded changes to this operation across all 1 revision of this API.