{"uid":"cap_A024glLBzbR-H4yOptDdk","slug":"agent402-tools-seconds-to-weeks-converter-375d99ee","name":"agent402.tools Seconds to Weeks Converter","description":"Convert seconds to weeks (time). Pass ?value=N.","url":"https://agent402.tools/api/convert/seconds-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":"down","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_uokB9GSnejqG-oEo5LdfC","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 seconds to its equivalent in weeks via a simple GET request","exampleAgentPrompt":"How many weeks is 31536000 seconds? Convert that for me.","exampleUseCases":null,"resultDescription":"Returns the converted value representing the input number of seconds expressed as weeks (a decimal or fractional week count).","failureModes":["Missing 'value' query parameter returns an error","Non-numeric value passed causes a parse or validation error","Negative values may return an error or unexpected result","Network timeout or service unavailability returns HTTP 5xx","Payment not provided or insufficient funds returns HTTP 402"],"whenToPreferThis":"Use this endpoint when you need a quick, programmatic conversion from seconds to weeks and want a single-purpose microservice. Prefer this over general-purpose math libraries when operating in an agent workflow that already uses the x402 payment rail and the agent402.tools ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:27:49.274Z","isFirstParty":false}