{"uid":"cap_ZDx14yA7GjuUEs4IuiRbO","slug":"minia2a-x402-is-night-2230ab5c","name":"minia2a x402-is-night","description":"minia2a service: x402-is-night","url":"https://minia2a.uk/x402/x402-is-night","method":"GET","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object","properties":{"type":{"type":"string"},"method":{"type":"string"},"bodyType":{"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","properties":{"type":{"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_eWRR3U0pcXf61ye0Hr21v","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 the current time is nighttime, returning a boolean or time-context result for a given query","exampleAgentPrompt":"Is it currently nighttime right now? Just check and tell me if it's night or day.","exampleUseCases":[{"title":"Night mode automation trigger","prompt":"Check if it's currently nighttime so I can decide whether to switch my app into dark/night mode automatically."},{"title":"Scheduling task for nighttime only","prompt":"Before running this background job, can you verify whether it's currently night? I only want it to run during nighttime hours."},{"title":"Content personalization by time of day","prompt":"Is it nighttime right now? I want to show different content to users depending on whether it's day or night."}],"resultDescription":"Returns a boolean or status indicator specifying whether the current time is classified as nighttime, along with any associated time-context metadata available from the service.","failureModes":["Invalid query parameter format returns an error","Service unavailable or timeout for the paid x402 endpoint","Payment failure or insufficient funds prevents access","Ambiguous timezone context may yield unexpected night/day determination"],"whenToPreferThis":"Use this endpoint when you need a simple, paid-gated check on whether the current moment is nighttime, particularly within an agentic workflow on the minia2a platform that already uses x402 micropayment infrastructure. Prefer this over manual time calculations when you want a reliable, externally-verified day/night determination without managing timezone logic yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T06:51:28.735Z","isFirstParty":false}