API Status & Request

The Status endpoint provides a simple way to check the health and availability of our API.

Endpoint

  • URL: https://api.erensko.xyz/v1/status

  • Method: Any Method

  • Description: Evaluates the operational status of the API and provides a detailed response indicating its current health and availability. Echoes back your request.

Headers

Key
Value

Authorization

Your own personal API key, create one by clicking here. This is required.

Request Example

GET https://api.erensko.xyz/v1/status

Response Example

{
  "status": "online",
  "latencyStable": true,
  "latency": "50.672ms",
  "current_time": "2025-01-24T18:15:06.880Z",
  "version": "v1",
  "environment": "prod",
  "database": {
    "status": "online",
    "latency": "good"
  },
  "request_details": {
    "method": "POST",
    "status_code": 200,
    "url": "/?very+cool+key=this+is+a+value+for+a+query",
    "path": "/",
    "root_url": "/v1/status",
    "query": {
      "very cool key": "this is a value for a query"
    },
    "body": {
      "requestttt bodyyy": "hello people"
    },
    "headers": {
      "x-real-ip": "172.68.168.182",
      "x-forwarded-for": "18.218.23.235, 172.68.168.182",
      "x-nginx-proxy": "true",
      "x-forwarded-proto": "http",
      "connection": "Upgrade",
      "host": "api.erensko.xyz",
      "content-length": "36",
      "cf-ray": "907201ca5cb4cf46-CMH",
      "cf-connecting-ip": "18.218.23.235",
      "accept-encoding": "gzip, br",
      "user-agent": "axios/0.21.4",
      "content-type": "application/json",
      "cf-visitor": "{\"scheme\":\"https\"}",
      "cf-ipcountry": "US",
      "accept": "application/json, text/plain, */*",
      "cdn-loop": "cloudflare; loops=1"
    }
  }
}

Last updated