{"uid":"cap_qegpHa0-OtqEZQyI5pXm3","slug":"days-to-weeks-converter-99d715e6","name":"Days to Weeks Converter","description":"Convert days to weeks (time). Pass ?value=N.","url":"https://agent402.tools/api/convert/days-to-weeks","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":["value"],"properties":{"value":{"type":"string","description":"Numeric value to convert"}}}},"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_PR056i2591DG3rJWPfyZs","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 numeric value in days to its equivalent in weeks via a simple GET request.","exampleAgentPrompt":"How many weeks is 45 days? Can you convert that for me?","exampleUseCases":null,"resultDescription":"Returns the equivalent number of weeks for the given number of days (divides the input by 7).","failureModes":["Missing 'value' query parameter returns an error","Non-numeric value in the 'value' parameter causes a bad request error","Payment of 0.001 USDC not fulfilled results in 402 Payment Required","Negative or zero values may return unexpected results"],"whenToPreferThis":"Use this endpoint when an agent needs a quick, reliable programmatic conversion of days to weeks without implementing the arithmetic locally, especially in x402-payment-enabled workflows where micropayment APIs are acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:13:31.564Z","isFirstParty":false}