LifeAstroAPILifeAstroAPI

API Reference / Reports & Utilities / Meta

GET
free

/v1/meta/version

API version + build commit.

What this tells you

Build and runtime information for support and health dashboards. Costs 0 credits and needs no API key.

Request

All requests require an Authorization header with your dv_live_* API key.

example request
curl "https://api.lifeastroapi.com/v1/meta/version?date=1990-01-15&time=10%3A30&tz=Asia%2FKolkata&lat=19.076&lon=72.8777" \
  -H "Authorization: Bearer YOUR_API_KEY"

Query parameters

Checked against the API: a parameter is marked required when the request fails without it.

NameRequiredExampleDescription
dateno1990-01-15Birth date (YYYY-MM-DD).
timeno10:30Birth time (HH:MM, 24-hour, local). Defaults to 12:00.
tznoAsia/KolkataBirth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
latno19.076Birth place latitude in decimal degrees.
lonno72.8777Birth place longitude in decimal degrees.

Response (200 OK)

The real response to the example request above, generated from the API itself. Long arrays are trimmed to their first two items. Field names are stable across versions.

200 response
{
  "swisseph_version": "2.10.03",
  "build_commit": "dev",
  "phase": "phase6",
  "milestone": 1,
  "total_routes": 314,
  "go_version": "go1.26.2",
  "server_time_utc": "2026-10-17T20:55:25Z"
}

Field reference

Every field in the response, with its type, a real example, and what it means.

FieldTypeMeaning
swisseph_versionstring
Version of the Swiss Ephemeris library used for all calculations.
example: "2.10.03"
build_commitstring
Git commit of the running build; "dev" for a local build.
example: "dev"
phasestring
Internal build marker. Ignore it.
example: "phase6"
milestoneinteger
Internal release marker. Ignore it.
example: 1
total_routesinteger
Number of registered routes (same as /v1/meta/endpoints).
example: 314
go_versionstring
Go runtime version of the server.
example: "go1.26.2"
server_time_utcstring (RFC 3339, UTC)
Server clock at the time of the request. Useful to check clock skew.
example: "2026-10-11T07:08:35Z"

Usage tips

How to use it

  • Health check
    For uptime monitors use /healthz or /readyz. Record `build_commit` from this endpoint when you report an issue, so support knows which build served you.

Errors

Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.

401 Unauthorized

{
  "error": {
    "code": "unauthorized",
    "message": "missing or invalid API key",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

402 Payment Required

{
  "error": {
    "code": "trial_exhausted",
    "message": "your free trial credits are exhausted — pick a plan to continue",
    "top_up_url": "https://lifeastroapi.com/pricing",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

429 Too Many Requests

{
  "error": {
    "code": "rate_limited",
    "message": "rate limit exceeded; retry after 12 seconds",
    "request_id": "req_01hqy7k8c3e7m1n"
  }
}

Try it

Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 1,500 free credits. Sign up.