# minia2a x402-is-night

> minia2a x402-is-night is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Determines whether it is currently nighttime, returning a boolean day/night status

## Facts

- Endpoint: GET https://minia2a.uk/x402/is-night
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-x402-is-night-feb478cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_clD-ku4xPU1bSKkkxj0rM

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability minia2a-x402-is-night-feb478cb
```

Example prompt: Is it currently nighttime right now?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

minia2a service: x402-is-night

## Output

Returns a boolean or status indicator specifying whether it is currently nighttime, enabling agents to branch logic based on time of day.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-x402-is-night-feb478cb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
