{"uid":"cap_0XQMWh-bDcJzwdvvHN-U7","slug":"iso-week-calendar-fields-calculator-fbaa00c8","name":"ISO Week & Calendar Fields Calculator","description":"Get the ISO 8601 week number, ISO day-of-week, quarter, and day-of-year for any date. Useful for fiscal/reporting calendars, weekly aggregations, and sprint planning.","url":"https://agent402.tools/api/iso-week","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"date":{"type":"string","description":"ISO 8601 date string (e.g. \"2026-06-23\")"}}},"responseSchema":{"type":"json","example":{"date":"2026-06-23","isoWeek":26,"isoYear":2026,"quarter":2,"dayOfYear":174,"daysInYear":365,"isoNotation":"2026-W26-2","isoDayOfWeek":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UP1yoapjuZ-CpAUgJGjDN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","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, ISO day-of-week, quarter, and day-of-year for a given date string.","exampleAgentPrompt":"What's the ISO week number, day-of-week, quarter, and day-of-year for 2026-06-23?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the ISO 8601 week number (e.g. week 26), the ISO day-of-week (1=Monday through 7=Sunday), the calendar quarter (1–4), and the day-of-year (1–366) for the given date.","failureModes":["Invalid or non-ISO date string returns a 400 or validation error","Missing 'date' field in request body causes a schema validation failure","Dates outside supported range may return unexpected results","Network or payment authorization failure returns a 402 error"],"whenToPreferThis":"Use this endpoint when you need ISO 8601 calendar decomposition fields — week number, ISO weekday, quarter, or day-of-year — from a date string, especially for fiscal reporting, weekly aggregations, sprint planning, or any workflow that depends on ISO calendar conventions rather than Gregorian week definitions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:14:03.349Z","isFirstParty":false}