{"uid":"cap_YMhSM2p7zfGscH1FLM8YF","slug":"agentshelf-hms-duration-to-seconds-converter-d3270771","name":"AgentShelf HMS Duration to Seconds Converter","description":"Call when an agent needs a hms duration converted to seconds. No network. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/duration-hms first.","url":"https://agentshelf.syntexa.ch/v1/duration-hms?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["1:02:03"],"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.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xyPQ961xUmzTM1HtV-Cjc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts an HMS (hours:minutes:seconds) duration string to its equivalent total number of seconds","exampleAgentPrompt":"Convert the duration '1:45:30' from hours-minutes-seconds format into total seconds for me.","exampleUseCases":[{"title":"Normalize video clip durations","prompt":"I have a list of video durations like '0:03:45' and '1:22:10' — can you convert each of those HMS strings into total seconds so I can sort them numerically?"},{"title":"Calculate elapsed time in seconds","prompt":"My workout log shows a run time of '0:47:23' in hours:minutes:seconds — how many total seconds is that?"},{"title":"Scheduling event duration arithmetic","prompt":"I need to know the total seconds in a session that lasted '2:15:00' so I can plug it into my scheduling system."}],"resultDescription":"Returns the total number of seconds represented by the input HMS duration string as a numeric value, computed locally without any external network calls.","failureModes":["Malformed or non-HMS input string returns an error or unexpected result","Empty string rejected due to minLength:1 constraint","Input exceeding 100,000 characters rejected","Ambiguous formats (e.g. missing colons, extra fields) may not parse correctly"],"whenToPreferThis":"Use this endpoint when you need a reliable, deterministic conversion of an HMS duration string to seconds and cannot or prefer not to implement the parsing logic yourself. The description notes a free sandbox alternative at POST /v1/sandbox/duration-hms should be tried first to avoid the $0.003 USDC cost. Prefer this paid endpoint only when the sandbox is unavailable or rate-limited.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:07.370Z","isFirstParty":false,"canonicalSlug":"agentshelf-hms-duration-to-seconds-converter-d3270771"}