{"uid":"cap_7e2wThSu8FnpsELxlup2T","slug":"agent-rest-stop-unix-window-open-closed-check-c87ad592","name":"Agent Rest Stop - Unix Window Open/Closed Check","description":"Open or closed for a unix window.","url":"https://agent-gas-station.agent-gas-station.workers.dev/v1/WindowOpen?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"end_unix":{"type":"string"},"start_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_PrrQlnGnLAUXjTP9aAX1K","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":"Determines whether a given unix timestamp range represents an open or closed time window.","exampleAgentPrompt":"Is the time window from unix timestamp 1700000000 to 1700086400 currently open or closed?","exampleUseCases":[{"title":"Scheduled maintenance window check","prompt":"Is the maintenance window open right now? It's supposed to run from unix time 1710000000 to 1710003600 — tell me if it's currently open or closed."},{"title":"Trading hours gate for automated agent","prompt":"Check whether the trading window is active — it starts at unix timestamp 1709900000 and ends at 1709950000. Is it open or closed?"},{"title":"Access control time window validation","prompt":"My access window runs from unix 1709800000 to 1709900000 — can you tell me if it's currently open?"}],"resultDescription":"Returns an open or closed status indicating whether the current time falls within the provided unix timestamp range defined by start_unix and end_unix.","failureModes":["Missing start_unix or end_unix parameters — returns error","Invalid or malformed unix timestamp strings — returns error","end_unix before start_unix — may return unexpected result","Payment not processed — returns 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a simple, cheap ($0.01 USDC) boolean determination of whether a unix timestamp range is currently active. Ideal for agents doing time-gated logic, scheduling checks, or availability windows based on unix epoch times.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:34:23.181Z","isFirstParty":false,"canonicalSlug":"agent-rest-stop-unix-window-open-closed-check-c87ad592"}