# Foundry Calendar Month Layout

> Foundry Calendar Month Layout is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-01).

Returns a calendar layout for any given month, including the days arranged by week, month length, and first weekday.

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/calendar?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-calendar-month-layout-bf239efc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__3LZTr1HcNTY7GzYA7q7w

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 foundry-calendar-month-layout-bf239efc -d '<json body>'
```

Example prompt: Can you show me a calendar layout for November 2026, with the days arranged by week?

## When to prefer this

Use this endpoint when you need a structured, pre-formatted month calendar layout — including week groupings, first weekday, and month length — without doing the date arithmetic yourself. Ideal for agents that need to display or reason about month layouts for scheduling, reporting, or UI generation.

## Known failure modes

- Invalid or malformed YYYY-MM input returns an error
- Future or historical dates outside supported range may fail
- Missing input field causes a validation error
- Non-string input type rejected

## How this service works

Calendar: the days of any month laid out by week, with month length and first weekday. Input: 'YYYY-MM'.

## Output

A JSON object containing a formatted text calendar grid (suitable for display), the number of days in the month, the year, month number, month name, first weekday, and a weeks array showing how dates are grouped into weekly rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "A month as YYYY-MM"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "days": 30,
  "text": "   November 2026\nMo Tu We Th Fr Sa Su\n                   1\n 2  3  4  5  6  7  8\n 9 10 11 12 13 14 15\n16 17 18 19 20 21 22\n23 24 25 26 27 28 29\n30\n",
  "year": 2026,
  "month": 11,
  "weeks": [
   [
    0,
    0,
    0
   ],
   [
    2,
    3,
    4
   ],
   [
    9,
    10,
    11
   ]
  ],
  "month_name": "November",
  "first_weekday": "Sunday"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-calendar-month-layout-bf239efc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
