# Agent Data Tools: Moon Phase Lookup

> Agent Data Tools: Moon Phase Lookup is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Returns the current moon phase, illumination percentage, age in days, and upcoming new/full moon dates for today's date.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/moon?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-moon-phase-lookup-3140d8b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4IJKROJZHMJnW5_wJO4l9

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 agent-data-tools-moon-phase-lookup-3140d8b5
```

Example prompt: What is today's moon phase — is it waxing or waning, how illuminated is it, and when are the next new and full moons?

## When to prefer this

Choose this endpoint when you need a quick, no-setup, pay-per-use moon phase lookup with structured JSON output including illumination, lunar age, and upcoming new/full moon dates. Ideal for AI agents that need real-time lunar data without managing API keys or subscriptions. Cost is $0.001 USDC per call via x402 on Base.

## Known failure modes

- Service unavailable if Cloudflare Worker is down — returns HTTP 5xx
- x402 payment failure if USDC balance is insufficient — call is not charged
- Unexpected schema changes if the underlying provider updates the endpoint without notice

## How this service works

Moon phase name, illuminated percentage and age in days for any date, plus the next new and full moon (UTC). Computed locally from the mean synodic month. Use for calendars and night-sky planning.

## Output

A JSON object containing today's date, the named moon phase (e.g. 'Waning Crescent'), the moon's age in days within the current cycle, the illumination percentage, the datetime of the next new moon, and the datetime of the next full moon.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string",
   "description": "Date or ISO time (default now)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string"
  },
  "phase": {
   "type": "string"
  },
  "ageDays": {
   "type": "number"
  },
  "nextNewMoon": {
   "type": "string"
  },
  "nextFullMoon": {
   "type": "string"
  },
  "illuminationPercent": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-moon-phase-lookup-3140d8b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
