# Delx Calendar Quarter

> Delx Calendar Quarter is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns the calendar quarter number (1–4) for a given ISO-8601 date or timestamp

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/quarter-of-year
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-calendar-quarter-5e723637
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_45Vajx2HB5TVBVUap9wXV

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 delx-calendar-quarter-5e723637 -d '<json body>'
```

Example prompt: What calendar quarter does October 14, 2025 fall in? I need the quarter number (1 through 4) for a finance report.

## When to prefer this

Choose this endpoint when you need a simple, deterministic, first-party computation of the calendar quarter for a given date with no API key or subscription — especially useful in agent pipelines doing finance-style bucketing, quarterly reporting, or OKR period assignment, and you want a pay-per-call micro-payment model via x402 on Base.

## Known failure modes

- Invalid or missing date field returns a structured validation error with no charge
- Malformed ISO-8601 string (e.g. ambiguous formats) may be rejected
- Dates far outside normal ranges may produce unexpected results
- Network or payment failures may result in no response

## How this service works

Calendar quarter 1–4. Use for finance-style bucketing and quarterly goals tracking. Returns quarter number 1–4 for the given date. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

## Output

A JSON object containing the quarter number as an integer between 1 and 4, corresponding to the calendar quarter (Jan–Mar = 1, Apr–Jun = 2, Jul–Sep = 3, Oct–Dec = 4) of the supplied date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "date": {
   "type": "string",
   "format": "date-time",
   "description": "ISO-8601 date or timestamp (e.g. 2026-08-04 or 2026-08-04T12:00:00Z)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "year": 2026,
  "month": 8,
  "schema": "delx/quarter-of-year/v1",
  "quarter": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-calendar-quarter-5e723637/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
