---
title: "API Status"
method: GET
path: "/status"
tags: ["System"]
---

# API Status

`GET /status`

Status of the key you authenticate with: its plan and rate limit, request counts for today, this week and this month, the top endpoints it calls, and a daily series. Authenticate with the `X-Api-Key` header; without one the answer is 400 MISSING_KEY. The `?key=` query parameter still works but is deprecated and answers carry a `Deprecation` header: a URL ends up in access logs, CDN logs and browser history, so a key passed that way stops being secret.

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `key` object, nullable
      - `name` string, nullable
      - `plan` string, nullable
      - `rateLimit` number, nullable
      - `requestsTotal` number, nullable
      - `lastUsedAt` string, nullable
      - `createdAt` string, nullable
    - `usage` object, nullable
      - `today` number, nullable
      - `week` number, nullable
      - `month` number, nullable
    - `limits` object, nullable
      - `plan` string, nullable
      - `requestsPerMinute` number, nullable
      - `dailyEstimate` number, nullable
      - `monthlyEstimate` number, nullable
      - `usagePercent` object, nullable
        - `today` number, nullable
        - `month` number, nullable
      - `onExceeded` string, nullable
    - `endpoints` object[], nullable
      - `endpoint` string, nullable
      - `total` number, nullable
    - `daily` object[], nullable
      - `date` string, nullable
      - `count` number, nullable

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/6828e5609564/schema)
