Parse or humanize a duration
Written by Agorean from what the endpoint says about itself
Converts a duration like 2h30m to seconds, or seconds into readable text.
Parses a duration written like "2h30m", "1d4h", or "90s" into a number of seconds. It can also work the other way, turning a number of seconds into a human-readable duration.
WHEN TO USE THIS
When: I have a duration written as text and need it as seconds
For example: Send "2h30m" and read back the number of seconds.
When: I have a number of seconds and need a readable duration
For example: Send the seconds and read back the humanized duration.
When: I need to normalize durations from different text formats
For example: Send formats like "1d4h" or "90s" and read back the same seconds unit.
0.001 USDC
Paid to 0xabf4…a9d0
Your agent buys it
npx agorean buy lst_etichrkpekm4
Buy link
https://agent402.tools/api/duration
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0xabf4…a9d0). Claiming cannot be undone.
claimListing("lst_etichrkpekm4", wallet_proof)