LifeAstroAPILifeAstroAPI

API Reference / Reports & Utilities / Meta

GET
free

/v1/meta/endpoints

Full endpoint catalog.

Try it in the Playground

What this tells you

The live endpoint catalog: every route with its group, credit cost and auth tier. Machine-readable and always in step with the running server.

Request

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

example request
curl "https://api.lifeastroapi.com/v1/meta/endpoints" \
  -H "Authorization: Bearer YOUR_API_KEY"

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
{
  "routes": [
    {
      "path": "/healthz",
      "method": "GET",
      "group": "health",
      "cost": 0,
      "auth": "public"
    },
    {
      "path": "/readyz",
      "method": "GET",
      "group": "health",
      "cost": 0,
      "auth": "public"
    }
  ],
  "total_routes": 324,
  "milestone": 1
}

Field reference

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

FieldTypeMeaning
routes[]array
Every registered route, including /healthz and /readyz.
example: […]
routes[].pathstring
Route path.
example: "/healthz"
routes[].methodstring
HTTP method.
example: "GET"
routes[].groupstring
Logical group (health, meta, panchang, chart, dasha, …).
example: "health"
routes[].costinteger
Credits charged per call, from the live billing cost table. 0 = free.
example: 0
routes[].authstring
"public" (no API key needed) or "bearer" (needs an API key).
example: "public"
total_endpointsinteger
Number of API endpoints: every /v1 route except the OpenAPI spec at /v1/docs. The count quoted on the website and in the SDKs.
example: 321
total_routesinteger
Number of entries in `routes`: the endpoints plus /healthz, /readyz and /v1/docs.
example: 324
milestoneinteger
Internal release marker. Ignore it.
example: 1

Usage tips

How to use it

  • Build-time fetch
    If you are building your own docs or admin UI, fetch this at build time to reflect the live API.
  • Show prices before a call
    Use `routes[].cost` to tell users what a call will cost.
  • Free endpoint
    Costs 0 credits and needs no API key.

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": "unknown or revoked API key",
    "request_id": "52a520f261d3db37"
  }
}

402 Payment Required

{
  "error": {
    "code": "daily_cap_exceeded",
    "message": "free-plan daily limit reached — try again tomorrow or upgrade to a paid plan",
    "request_id": "52a520f261d3db37"
  }
}

429 Too Many Requests

{
  "error": {
    "code": "rate_limited",
    "message": "rate limit exceeded — retry after 12 seconds",
    "request_id": "52a520f261d3db37"
  }
}

Try it

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