← Back to directory

All AI Data API - Parse and format durations (ISO 8601 PT1H30M, 1h30m, 01:30:00, "90 minutes")

https://allai-api.allaihq.workers.dev/v1/tools/duration_convert

Overview

Parses 1 to 200 durations written as ISO 8601 (P1Y2M10DT2H30M, PT0.5S, P2W), Go/Prometheus style (1h30m, 1.5h, 250ms, 2d), clock form (1:30:00, 45:10.5), plain words ("2 days 3 hours", "90 minutes", "1 hr 5 min") or a number of seconds or milliseconds, and returns the normalized ISO 8601 duration, the components, total seconds and milliseconds, the clock form, compact form (1h3 $0.005 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.

Protocol x402 (POST)
Price $0.0050
Payment Asset USDC
Payment Network base
Category data
Provider All AI LLC (All AI Data API)
Source self-registered
Indexed 2026-12-03 06:06:01

Health

Status healthy
Latency (p50) 2225ms
Uptime (30d) 66.7%
Reliability Score 58.3/100
Last Checked 2026-12-05 01:35:21
Last Healthy 2026-12-05 01:35:21
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Recent Health Checks

Time Status HTTP Latency Error
2026-12-05 01:35:21 healthy 402 685ms
2026-12-04 19:02:03 healthy 402 2225ms
2026-12-03 13:17:21 error — — fetch failed