{"uid":"cap_ddFBVENNRMXClYJoDdwLa","slug":"agentshelf-syntexa-ch-duration-units-to-seconds-converter-33d62e8d","name":"agentshelf.syntexa.ch Duration Units to Seconds Converter","description":"Call when an agent needs a units duration converted to seconds. No network. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/duration-units first.","url":"https://agentshelf.syntexa.ch/v1/duration-units?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["1500ms"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_G2e1LJXDaqJNYjzUt74Ip","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a text-described duration unit (e.g. 'hours', 'days', 'weeks') into its equivalent value in seconds","exampleAgentPrompt":"How many seconds are in a week? Convert the duration unit 'week' to seconds for me.","exampleUseCases":[{"title":"Scheduling timeout in seconds","prompt":"I need to set a cache timeout — how many seconds are in 24 hours? Convert the duration unit 'hours' (24 of them) to seconds so I can plug it into the config."},{"title":"Countdown timer normalization","prompt":"My app stores all durations in seconds — can you convert 'fortnight' to seconds so I can save it properly?"},{"title":"API rate limit calculation","prompt":"The rate limit resets every quarter-hour — what is that in seconds? Convert 'quarter-hour' to its value in seconds for me."}],"resultDescription":"Returns the numeric equivalent in seconds for the specified duration unit, computed locally without external network calls. The response gives an exact integer or decimal representing how many seconds correspond to the given unit string.","failureModes":["Unrecognized or ambiguous duration unit string returns an error or null result","Input text exceeding 100,000 characters rejected","Malformed JSON body returns 400 error","Payment of exactly $0.004 USDC not provided results in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need a reliable, exact, no-network computation to convert a human-readable duration unit string into seconds — particularly useful in agentic workflows that need to normalize heterogeneous time expressions into a common numeric format. Prefer the free sandbox at POST /v1/sandbox/duration-units for testing; use this paid endpoint for production reliability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:15.319Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-duration-units-to-seconds-converter-33d62e8d"}