# x402-toolbox Sunrise & Sunset Times

> x402-toolbox Sunrise & Sunset Times is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-29).

Returns sunrise and sunset times for a given location and date via pay-per-call x402 micropayment

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/weather/sunrise-sunset-times?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-sunrise-sunset-times-c90dc2a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Egtw_DDgLcy3ZE_V0DZdZ

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 x402-toolbox-sunrise-sunset-times-c90dc2a8
```

Example prompt: What time does the sun rise and set in Denver, Colorado tomorrow?

## When to prefer this

Choose this endpoint when you need sunrise/sunset times without API key signup overhead and want to pay per call via USDC micropayment on Base. Ideal for AI agents that need occasional solar time lookups without managing credentials or subscriptions.

## Known failure modes

- Invalid or missing location/coordinate input returns an error
- Unsupported date range may return no data
- Payment failure via x402 results in 402 response blocking the call
- Malformed schema parameter causes a validation error
- Network timeout on the Cloudflare Worker edge

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object confirming the payment succeeded along with sunrise time, sunset time, and potentially related solar data (solar noon, day length, twilight times) for the requested location and date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-sunrise-sunset-times-c90dc2a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
