Julian day, sidereal time, Delta T and time scales
time_scalesJulian day, modified Julian day, sidereal time (Greenwich and local, mean and apparent), Delta T, TAI-UTC and UT1-UTC for a moment. E.g. {datetime: '2026-06-21T12:00:00Z', longitude: 2.35, latitude: 48.86}. For telescope control, data reduction and education: the Julian day in UTC, UT1, TT and TDB, the modified Julian day, Julian centuries since J2000 (TT), Delta T (TT - UT1), TAI - UTC and UT1 - UTC, Greenwich mean and apparent sidereal time and, with a longitude, the local ones; plus day of year and ISO week. Deterministic (JPL DE440, no LLM); every result carries meta.result_sha256. Price $0.01 per call via REST POST https://astro-agent.dev/v1/astronomy/time (x402 or MPP); each client gets 1 free call on the $0.01-0.02 tools, this one included.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"datetime": "<datetime>"
},
"name": "time_scales"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datetime | Yes | The moment: UTC ('2026-06-21T12:00:00Z'), with an explicit offset, or local civil time with latitude/longitude. | |
| latitude | No | Optional: resolve a local time, and give the local sidereal time. | |
| timezone | No | IANA zone for local times, e.g. 'Europe/Paris'. Optional: resolved from the coordinates (with its historical DST rules). | |
| longitude | No | Optional, with latitude. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Provenance of the result. | |
| error | No | x402 offer only: why payment is required. | |
| result | No | The calculation result. | |
| accepts | No | x402 offer only: the payment options (scheme, network, amount, asset, payTo, ...). | |
| endpoint | No | The REST route that computed it, e.g. 'astronomy/rise-set'. | |
| resource | No | x402 offer only: the resource being paid for. | |
| extensions | No | x402 offer only: protocol extensions (bazaar). | |
| x402Version | No | x402 offer only: protocol version (2). |