{"uid":"cap_Gg-0X2n2fd6tcSKqooDKj","slug":"work-time-calc-iso-week-number-sprint-lookup-1b54c355","name":"Work Time Calc – ISO Week Number & Sprint Lookup","description":"ISO 8601 week number and week-year for a date (2021-01-03 is 2020-W53), reverse lookup and sprint numbering.","url":"https://work-time-calc.x402tookit.com/iso-week?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":[],"properties":{"date":{"type":"string","description":"Date YYYY-MM-DD (give this, or weekYear with week)"},"week":{"type":"integer","description":"ISO week 1 to 53 for the reverse lookup"},"weekYear":{"type":"integer","description":"ISO week-year for the reverse lookup, 1 to 9998"},"sprintStart":{"type":"string","description":"With date: first day of sprint 1, YYYY-MM-DD"},"sprintWeeks":{"type":"integer","description":"Sprint length in weeks, 1 to 8 (default 2)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"week":{"type":["null","number"]},"source":{"type":["null","string"]},"sprint":{"type":["null","object"],"properties":{"end":{"type":["null","string"]},"start":{"type":["null","string"]},"number":{"type":["null","number"]},"lengthDays":{"type":["null","number"]},"dayOfSprint":{"type":["null","number"]},"beforeSprintOne":{"type":["boolean","null"]}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"weekday":{"type":["null","number"]},"degraded":{"type":["boolean","null"]},"weekYear":{"type":["null","number"]},"dayOfYear":{"type":["null","number"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"weekMonday":{"type":["null","string"]},"weekSunday":{"type":["null","string"]},"isoWeekDate":{"type":["null","string"]},"weekdayName":{"type":["null","string"]},"calendarYear":{"type":["null","number"]},"weeksInWeekYear":{"type":["null","number"]},"weekYearDiffersFromYear":{"type":["boolean","null"]}}}}}}},"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__kp6qCM2OL_vZvL5GZVr6","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 ISO 8601 week number and week-year for a given date, supports reverse lookup (week+weekYear to date range), and calculates sprint numbers relative to a configurable sprint start date.","exampleAgentPrompt":"What ISO week number and week-year does January 3, 2021 fall in, and which sprint is it if our sprint 1 started on 2021-01-04 with 2-week sprints?","exampleUseCases":[{"title":"Year-end ISO week confusion check","prompt":"My reporting system shows 2020-W53 for January 3 2021 — can you confirm that's correct by looking up the ISO week number and week-year for 2021-01-03?"},{"title":"Reverse-lookup sprint dates for planning","prompt":"Our sprints are 2 weeks long and sprint 1 started on 2024-01-08. What sprint number are we in today, and when does that sprint start and end?"},{"title":"Find ISO week boundaries for payroll","prompt":"What are the Monday and Sunday dates for ISO week 14 of 2024? I need the exact start and end of that week for a payroll report."}],"resultDescription":"Returns a JSON object containing the ISO week number (1–53), ISO week-year, whether the week-year differs from the calendar year, the Monday and Sunday bounding the week, the full ISO week date string, weekday number and name, day-of-year, total weeks in the week-year, and optionally sprint number, sprint start/end dates, day-of-sprint, and sprint length in days.","failureModes":["Missing both 'date' and 'weekYear'+'week' parameters returns an error indicating insufficient input","Invalid date format (not YYYY-MM-DD) causes a parsing error","Week number out of range (e.g. week 53 in a year with only 52 weeks) returns an error or null sprint fields","sprintWeeks out of range (>8 or <1) may cause a validation error","sprintStart date provided without a date parameter may return null sprint fields"],"whenToPreferThis":"Choose this endpoint when you need authoritative ISO 8601 week numbering — especially around year boundaries where the week-year diverges from the calendar year (e.g. late December or early January). It is also the right choice for reverse lookup (week number + week-year to date range) and for calculating agile sprint numbers relative to a known sprint start date, all in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:44.986Z","isFirstParty":false,"canonicalSlug":"work-time-calc-iso-week-number-sprint-lookup-1b54c355"}