{"uid":"cap_RSewi7JtlitSXvBEi9_Sk","slug":"iso-week-number-resolver-24ab7de9","name":"ISO Week Number Resolver","description":"Resolve an ISO date to ISO week-year and week number.","url":"https://x402-zoo.lolagent.workers.dev/api/week-number","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"}}}},"additionalProperties":false}}},"responseSchema":null,"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_ceZQmGvBQhbPKUbTSk9Hn","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":"Resolves an ISO calendar date to its corresponding ISO week-year and week number (ISO 8601).","exampleAgentPrompt":"What ISO week number and week-year does 2024-11-07 fall in?","exampleUseCases":[{"title":"Weekly reporting date classification","prompt":"I'm building a weekly report and need to know which ISO week number 2025-01-13 falls in — can you look that up?"},{"title":"Scheduling a recurring calendar event","prompt":"I need to figure out which ISO week 2024-07-04 is in so I can label it correctly in our scheduling system."},{"title":"Validating a week-based data pipeline","prompt":"Can you tell me the ISO week-year and week number for 2023-12-31? I need to confirm whether it falls in week 52 of 2023 or week 1 of 2024."}],"resultDescription":"Returns the ISO week-year and ISO week number corresponding to the supplied date, following ISO 8601 convention (where weeks start on Monday and the first week of the year is the one containing the first Thursday).","failureModes":["Missing or malformed date parameter returns an error","Date string not in ISO format (YYYY-MM-DD) may cause parsing failure","Out-of-range dates may return unexpected results","Payment failure or insufficient funds results in HTTP 402"],"whenToPreferThis":"Use this endpoint when you need authoritative ISO 8601 week-year and week number computation for a specific date, especially in scheduling, reporting, or data pipeline contexts where ISO week boundaries (Monday start, first-Thursday rule) differ from simple calendar week assumptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:59:32.796Z","isFirstParty":false}