{"uid":"cap_rzTPb6ZcZxmuL73s9YJbi","slug":"saylor-innovations-calendar-week-info-6b621c87","name":"Saylor Innovations Calendar Week Info","description":"ISO week number and label, day of year, days left, quarter for calendar and three fiscal years, leap year, Julian day and week start and end for a date","url":"https://saylorinnovations.com/api/calendar/week-info?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","properties":{"date":{"type":"string","description":"optional YYYY-MM-DD, default today"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["date","iso_week","day_of_year"],"properties":{"date":{"type":"string","description":"Date (YYYY-MM-DD)"},"note":{"type":"string","description":"Caveat or context for reading the result"},"month":{"type":"integer","description":"Month"},"source":{"type":"string","description":"Data source the values come from"},"weekday":{"type":"string","description":"Day of the week"},"iso_week":{"type":"number","description":"Iso week"},"checked_at":{"type":"string","description":"Time the check was run (UTC)"},"is_weekend":{"type":"boolean","description":"True when this is weekend"},"julian_day":{"type":"number","description":"Julian day"},"day_of_year":{"type":"number","description":"Day of year"},"days_in_year":{"type":"integer","description":"Days in year"},"is_leap_year":{"type":"boolean","description":"True when this is leap year"},"unix_seconds":{"type":"integer","description":"Unix, in seconds"},"days_in_month":{"type":"number","description":"Days in month"},"iso_week_year":{"type":"integer","description":"Iso week year"},"iso_week_label":{"type":"string","description":"Iso week label"},"us_week_number":{"type":"integer","description":"Us week number"},"week_end_sunday":{"type":"string","description":"Week end sunday"},"quarter_calendar":{"type":"number","description":"Quarter calendar"},"week_start_monday":{"type":"string","description":"Week start monday"},"modified_julian_day":{"type":"integer","description":"Modified julian day"},"quarter_us_fiscal_oct":{"type":"integer","description":"Quarter us fiscal oct"},"days_remaining_in_year":{"type":"integer","description":"Days remaining in year"},"days_remaining_in_month":{"type":"integer","description":"Days remaining in month"},"quarter_uk_india_fiscal_apr":{"type":"integer","description":"Quarter uk india fiscal apr"},"quarter_australia_fiscal_jul":{"type":"integer","description":"Quarter australia fiscal jul"}},"additionalProperties":true},"description":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_joFz0p1USJprI7EN-lIPV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns comprehensive calendar metadata for a given date including ISO week number, day of year, quarter, leap year status, Julian day, and fiscal year quarters","exampleAgentPrompt":"What is the ISO week number, day of year, quarter, and week start and end dates for March 15, 2025?","exampleUseCases":[{"title":"Fiscal quarter classification for reporting","prompt":"Can you tell me which calendar and fiscal quarter April 30, 2025 falls in, along with the ISO week number and week boundaries?"},{"title":"Leap year check for date logic","prompt":"Is 2024 a leap year, and what is the Julian day and day-of-year number for February 29, 2024?"},{"title":"Days remaining for project deadline planning","prompt":"How many days are left in the year from today, and what ISO week are we in right now?"}],"resultDescription":"A JSON object containing the date's ISO week number, ISO week label, US week number, day of year, days left in year, days in year, days in month, calendar quarter, up to three fiscal year quarters, leap year flag, Julian day, modified Julian day, Unix timestamp in seconds, week start (Monday) and end (Sunday) dates, weekday name, weekend flag, month, ISO week year, a data source note, and optional caveat notes.","failureModes":["Invalid date format returns an error; must be YYYY-MM-DD","Dates outside supported historical or future range may return null values for some fields","Missing date parameter defaults to today's date which may cause unexpected results if a specific date was intended","Malformed request returns HTTP 4xx error"],"whenToPreferThis":"Choose this endpoint when you need rich, multi-dimensional calendar metadata for a single date in one call — particularly when you need ISO week numbers, Julian days, fiscal quarters, and week boundaries together. Prefer it over manual date arithmetic or general-purpose date libraries when you need a structured, API-ready JSON response for calendar enrichment, scheduling, or reporting pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:49:26.428Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-calendar-week-info-6b621c87"}