{"uid":"cap_hSEkranlhbM4IKrfdOAk0","slug":"iso-week-date-calendar-decomposition-3caf568d","name":"ISO Week Date & Calendar Decomposition","description":"Convert a date to its ISO 8601 week-date (year, week number, weekday), ordinal day-of-year, quarter, and days remaining in the year.","url":"https://api.24klabs.ai/api/v1/iso-week-date","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"date":{"type":"string"}}},"responseSchema":{"type":"json","example":{"iso_week":31,"iso_year":2026,"iso_weekday":1}},"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_v47y1nRH7IknUALfrzLGA","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":"Converts a date into its ISO 8601 week-date components (year, week number, weekday), ordinal day-of-year, quarter, and days remaining in the year.","exampleAgentPrompt":"What ISO week number, quarter, ordinal day-of-year, and days remaining in the year does November 3, 2025 fall on?","exampleUseCases":[{"title":"Fiscal week reporting automation","prompt":"I need to tag this week's sales report with the correct ISO week number and quarter — the report date is Monday, January 13, 2025. Can you get me the ISO week year, week number, weekday, quarter, and days left in the year?"},{"title":"Project deadline week lookup","prompt":"Our project deadline is July 18, 2025. What ISO 8601 week-date components does that fall on — week number, weekday, quarter, ordinal day, and how many days are left in the year?"},{"title":"Year-end countdown for a scheduling tool","prompt":"I'm building a scheduling dashboard and need to show users how many days remain in the year for today's date, December 5, 2025, along with the ISO week number and quarter."}],"resultDescription":"Returns the ISO 8601 week-date year, week number (1–53), ISO weekday (1=Monday through 7=Sunday), ordinal day-of-year (1–366), calendar quarter (1–4), and the number of days remaining in the year for the given input date.","failureModes":["Invalid or unparseable date string returns a 4xx error","Missing date parameter causes a validation error","Dates outside supported calendar range may return an error","Ambiguous date formats (e.g. 01/02/03) may be rejected or misinterpreted"],"whenToPreferThis":"Choose this endpoint when you need ISO 8601 week-date decomposition all in one call — especially when you need week number, quarter, ordinal day, and year-remaining together without writing your own calendar logic. Ideal for agents handling reporting periods, project scheduling, fiscal calendar tagging, or any workflow that requires ISO-standard week numbering rather than simple day-of-week.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:47:28.926Z","isFirstParty":false}