{"uid":"cap_spe33nRnQKSoEaH_c-en9","slug":"agent-clock-deadline-check-0dec7108","name":"Agent Clock Deadline Check","description":"Time and schedule micro-tools for AI agents: UTC now, cron next-runs, timezone conversion, business-day math, and deadline checks. Pay with USDC via x402 — no API keys.","url":"https://agent-clock.annushka1190.workers.dev/v1/deadline","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"past":false,"hoursRemaining":12.5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__mL0NRzdwIyYzXH0PFnLH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a deadline has passed and how many hours remain until it, returning a boolean and hours-remaining value.","exampleAgentPrompt":"Has the deadline of December 31st at 5pm UTC already passed, and if not, how many hours do I have left?","exampleUseCases":[{"title":"Submission deadline verification","prompt":"Check whether the grant submission deadline of January 15th at midnight UTC has already passed, and tell me how many hours are left if it hasn't."},{"title":"Contract expiry countdown","prompt":"I need to know if the contract signing deadline of March 3rd at 6pm UTC is still in the future and how many hours remain before it expires."},{"title":"Automated SLA breach detection","prompt":"Has the SLA response deadline for this support ticket — due today at 3pm UTC — already passed, or do I still have time left?"}],"resultDescription":"Returns a JSON object with 'past' (boolean indicating whether the deadline has already passed) and 'hoursRemaining' (float representing hours left until the deadline, or elapsed since it passed).","failureModes":["Missing or malformed deadline datetime parameter returns an error response","Ambiguous or non-UTC timestamp without timezone context may produce incorrect results","Extremely far-future or far-past dates may hit edge cases in time math","Payment failure via x402 returns 402 status before any computation occurs"],"whenToPreferThis":"Use this endpoint when an AI agent needs a quick, pay-per-call, keyless deadline check — particularly when you need both a binary expired/not-expired flag and precise hours-remaining in a single call. Prefer this over rolling your own time math when operating in agentic pipelines where simplicity and micro-billing via USDC are valued.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:38:32.658Z","isFirstParty":false}