{"uid":"cap_lxs9mMqedh85qDz9rMxJa","slug":"iso-week-date-calendar-decomposition-api-b02e6aa7","name":"ISO Week Date & Calendar Decomposition API","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/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_Hhizg59xBZPwdSC5bZpzo","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 ISO 8601 week-date components (year, week number, weekday), plus ordinal day-of-year, quarter, and days remaining in the year.","exampleAgentPrompt":"What is the ISO week number, weekday, quarter, ordinal day of year, and days remaining in 2025 for March 15, 2025?","exampleUseCases":[{"title":"Project sprint week numbering","prompt":"Our sprint planning tool uses ISO week numbers — what ISO week number, week year, and weekday does October 6, 2025 fall on?"},{"title":"Quarterly reporting date check","prompt":"I need to know which quarter November 28, 2025 falls in, plus how many days are left in the year from that date."},{"title":"Day-of-year milestone tracking","prompt":"What is the ordinal day of the year for July 4, 2025, and what ISO week number does it land in?"}],"resultDescription":"Returns the ISO 8601 week-date components: ISO week-year (which may differ from the calendar year near year boundaries), ISO week number (1–53), ISO weekday number (1=Monday, 7=Sunday), the ordinal day-of-year (1–366), the calendar quarter (1–4), and the number of days remaining in the year.","failureModes":["Invalid or unparseable date string returns an error response","Ambiguous date formats (e.g. 01/02/03) may be rejected or misinterpreted","Missing date field in POST body returns a validation error","Dates outside supported range may return an error"],"whenToPreferThis":"Choose this endpoint when you need precise ISO 8601 week-date decomposition alongside ordinal and quarter data in a single call, especially for scheduling, sprint planning, reporting pipelines, or calendar-based logic that requires week numbers — rather than building this logic manually or using a generic date library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:00:20.880Z","isFirstParty":false}