CUBSOFTWARE// CUB // CORRUPTED
Public API — Free to Use
← All APIs

Durations

Read "1h30m" as seconds, or seconds back into words. Free, no key, no account.

5
Response Fields
FREE
No API Key Needed
JSON
Response Format
Base URL
Base https://cubsoftware.site
Authentication
No API key required — this endpoint is publicly accessible.
Please include a descriptive User-Agent header identifying your app.
Durations
GET /api/duration Time

Read "1h30m" as seconds, or seconds back into words.

ParameterTypeRequiredDescription
duration string optional A duration like 1h30m or 2w3d.
seconds integer optional A number of seconds, to turn into words instead.
Example Response
{
  "compact": "1h30m",
  "hours": 1.5,
  "human": "1 hour, 30 minutes",
  "minutes": 90.0,
  "seconds": 5400
}
curl 'https://cubsoftware.site/api/duration?duration=1h30m'
Try It

Live request

Edit the path and send it. This runs against the real endpoint.

Press Send to run the request.
Rate Limits
10 requests per second per IP, across every endpoint.
Going over returns 429 — back off and retry.
The Other 45 APIs