Does this date fall on the claimed weekday? (batch, year boundaries and leap days)
Checks up to 200 claims 'Monday 2026-12-28' against the proleptic Gregorian calendar and reports the real weekday, whether the date exists (2026-02-29 does not), and the nearest date carrying the claimed weekday; a claim 'Friday, 13 March' without a year returns the years in a range where it holds. Built for an agent verifying dates in a document, email or itinerary. Gregorian only (no Julian dates before 1582 reform), no time zones, and it does not guess which year was meant.
What you get
Wrong weekday-date pairs are the commonest hallucinated date error; one call checks a whole itinerary.
Call it
Send the JSON body below to https://agents.writerslogic.com/api/v1/date-claim-check. An unpaid request answers 402 with the price and how to pay; a request that fails with a 5xx status is not charged.
curl -i -X POST https://agents.writerslogic.com/api/v1/date-claim-check \
-H 'content-type: application/json' \
-d '{"items":[{"date":"2026-12-28","weekday":"Monday"},{"date":"2027-01-01","weekday":"Thursday"},{"date":"2026-02-29","weekday":"Sunday"}]}'
Input
| Field | Type | Required | Description |
|---|---|---|---|
items | array<object>; max 200 items | yes | |
fromYear | integer; 1583..2999 | no | |
toYear | integer; 1583..2999 | no |
Example request body
{
"items": [
{
"date": "2026-12-28",
"weekday": "Monday"
},
{
"date": "2027-01-01",
"weekday": "Thursday"
},
{
"date": "2026-02-29",
"weekday": "Sunday"
}
]
}
Result
The response is { "data": ..., "_provenance": ... }. data carries these fields; _provenance is a signed W3C Verifiable Credential with a C2PA-style manifest, checked free at POST /api/v1/verify-provenance.
| Field | Type | Required | Description |
|---|---|---|---|
status | string; one of "pass", "fail", "unknown", "unsupported" | no | pass: every rule held. fail: a rule was violated (see witnesses). unknown: the input lacks the evidence to decide. unsupported: outside what this engine covers. Missing evidence is never a pass. |
items | array<object> | no | |
witnesses | array<object> | no | |
versions | object | no | Every semantic dependency of this answer (engine, tables and their as-of dates, tokenizer, calendar, rounding profile). |
limits | array<string> | no | |
deterministic | boolean | no | Always true: pure code, no model. |
Pay and connect
Available through: x402 (USDC on Base), MCP. MCP clients reach it through the calendar-deadline-kit package.
Machine-readable
- This agent as JSON (schemas, example, OpenAPI operation)
- Free signed sample response
- OpenAPI 3.1 · Catalog · Index of every agent