Julian Day Calculator API

GET

Convert between calendar dates and continuous Julian Day numbers.

Julian Day Calculator converts between Gregorian calendar dates and Julian Day Numbers (JDN). Julian Day is a continuous count of days used in astronomy and historical research.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/julianday?date=2024-03-15
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "gregorian": "2024-03-15",
    "julianDayNumber": 2460385,
    "modifiedJulianDate": 60384.5,
    "dayOfWeek": "Friday",
    "weekNumber": 11,
    "dayOfYear": 75,
    "daysFromToday": -340
  }
}

About the Julian Day Calculator API

Perfect for astronomical calculations, historical date research, and applications that need a continuous day count across calendar systems.

What people use it for

Astronomical Software
Calculate precise day numbers for celestial events
Historical Research
Convert historical dates to a unified day count
Date Arithmetic
Calculate day differences across long time spans
Scientific Applications
Use continuous day counts for time series data

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Julian Day Calculator

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Julian Day Calculator API.

Read the docs →
Which plan fits 50,000 date conversions a month?
The Starter plan covers that volume. Each conversion uses 2 credits, so 50,000 calls consume 100,000 of the 200,000 credits available on Starter, working out to about $0.30 per 1,000 requests. The Free plan provides 100 conversions every month for testing.
Is the days-from-today offset included on the Free plan?
No, the relative days from today calculation is a premium field. The Free plan returns standard Julian Day Numbers, Modified Julian Dates, and day-of-year figures, while upgrading to any paid plan unlocks the daysFromToday count.
Can I convert in both directions between calendar dates and Julian days?
Yes, the calculator supports bidirectional conversion. You can convert a Gregorian date into its Julian Day Number or provide a Julian Day Number to get the matching calendar year, month, and day.
Does it calculate Modified Julian Date as well?
Yes, both endpoints return the Modified Julian Date alongside the standard Julian Day Number. Responses also calculate useful calendar markers, including the ISO week number, day of the week, and day of the year.
What format is required for Gregorian date inputs?
Gregorian dates must be formatted strictly as YYYY-MM-DD strings. For reverse conversions, the Julian Day Number must be provided as a whole integer.

Ready to build with Julian Day Calculator? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs