{"uid":"cap_s_1Krl3LmgJWqSP8KIzis","slug":"life-dates-milestones-weekday-of-date-cabcac38","name":"Life Dates & Milestones – Weekday of Date","description":"Day of the week for any date from year 1000, with day of year, days left in the year, quarter and leap-year facts.","url":"https://life-dates.x402tookit.com/weekday-of-date?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["date"],"properties":{"date":{"type":"string","description":"Date as YYYY-MM-DD (proleptic Gregorian calendar)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"date":{"type":["null","string"]},"source":{"type":["null","string"]},"quarter":{"type":["null","number"]},"reasons":{"type":["array","null"]},"summary":{"type":["null","string"]},"unixDay":{"type":["null","number"]},"verdict":{"type":["null","string"]},"weekday":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"dayOfYear":{"type":["null","number"]},"isWeekend":{"type":["boolean","null"]},"monthName":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"isLeapYear":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"daysInMonth":{"type":["null","number"]},"daysLeftInYear":{"type":["null","number"]},"julianDayNumber":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UpXBwEQh3VJ50nkzhfLDz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the day of the week, day of year, days left in year, quarter, and leap-year facts for any date from year 1000 onward.","exampleAgentPrompt":"What day of the week was July 20, 1969, and was it a weekend? Also tell me what day of the year that was and how many days were left in 1969.","exampleUseCases":[{"title":"Historical date weekday lookup","prompt":"What day of the week did World War II end — September 2, 1945 — and was it a weekend? Also tell me what day of the year that was."},{"title":"Year-end planning countdown","prompt":"For December 15, 2024, how many days are left in the year and what quarter is it in?"},{"title":"Leap year and calendar fact check","prompt":"Was February 29, 2000 actually a valid date? Tell me if 2000 was a leap year and what weekday that day fell on."}],"resultDescription":"Returns a JSON object with the full weekday name, whether the date is a weekend, the day-of-year number, days remaining in the year, the calendar quarter (1–4), leap-year status, month name, number of days in that month, Unix day offset, and Julian Day Number for the requested date.","failureModes":["Missing 'date' query parameter returns a validation error","Date string in wrong format (not YYYY-MM-DD) returns a parse error","Date before year 1000 may return an out-of-range error","Non-existent dates like February 30 return an invalid date error","Network timeout results in no response"],"whenToPreferThis":"Choose this endpoint when you need authoritative calendar metadata for a single date — especially the weekday, day-of-year, days remaining, or quarter — for any date back to year 1000. It is particularly well-suited for historical date lookups, calendar enrichment pipelines, or when leap-year and Julian Day Number data are needed alongside weekday information. Prefer sibling endpoints for age calculations, date differences, or birthday logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:12:45.851Z","isFirstParty":false,"canonicalSlug":"life-dates-milestones-weekday-of-date-cabcac38"}