PeumeAPI

Developer & public data

Time

Current time, date, and timezone data for AI agents: the clock an LLM does not have. Returns current UTC time and local time for any IANA timezone, abbreviation (EST, JST, CET), or city, with UTC offset, DST state, and the next daylight-saving transition. Also converts timestamps between timezones, does DST-correct date arithmetic and business-day math, and diffs two instants. Unix epoch, ISO 8601, week and quarter. Keyless.

$0.0075 per call

Call it

curl https://api.peume.com/v1/call/time \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "mode": "now"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: time.

Parameters

modestring

inferred from the other params when omitted

now · convert · add · diff

Example: now

addstring

duration for mode=add: 3d, -2h30m, 1y2mo, 5bd (business days), or ISO P1DT2H

tzstring

IANA zone, abbreviation (EST/JST), city, or UTC offset; comma list for up to 12 at once

fromstring

zone a naive `time` is interpreted in (default UTC)

timestring

ISO 8601, a bare date, or a unix epoch (s/ms); defaults to now

tostring

target zone(s) for mode=convert

to_timestring

end instant for mode=diff

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.