{"uid":"cap_clD-ku4xPU1bSKkkxj0rM","slug":"minia2a-x402-is-night-feb478cb","name":"minia2a x402-is-night","description":"minia2a service: x402-is-night","url":"https://minia2a.uk/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_dCIvZ6fW84-Q64uDa6G6q","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 it is currently nighttime, returning a boolean day/night status","exampleAgentPrompt":"Is it currently nighttime right now?","exampleUseCases":[{"title":"Nighttime automation trigger","prompt":"Check if it's currently nighttime so I can decide whether to send a push notification or wait until morning."},{"title":"Smart home lighting decision","prompt":"Is it night right now? I want to know so I can automatically turn on the outdoor lights."},{"title":"Scheduling content for daytime hours","prompt":"Tell me if it's currently day or night so my bot knows whether to post the announcement now or hold it."}],"resultDescription":"Returns a boolean or status indicator specifying whether it is currently nighttime, enabling agents to branch logic based on time of day.","failureModes":["Service unavailable or timeout — HTTP 402/5xx returned","Ambiguous timezone context — result may reflect server-side UTC or a default timezone rather than the caller's local time","Malformed query parameters — unexpected input shape may yield an error response"],"whenToPreferThis":"Choose this endpoint when you need a simple, cheap ($0.01 USDC) real-time day/night boolean check without managing timezone libraries or date parsing yourself. Best suited for lightweight automation triggers where a yes/no night status is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:03:21.462Z","isFirstParty":false}