---
title: API Health Check
description: Returns the current health status of the API. No authentication required. Use this endpoint to verify connectivity before making authenticated requests.
url: "https://betterdocs.shahrear.msf.bd/index.php/docs/hell0-boys-docs/hell0-boys/health/api-health-check/"
updated: "2026-08-20"
category: hell0 boys / Health
---

# API Health Check

GET`/health`

## Code Samples

```curl

                curl --request GET \
  --url 'https://app.xcloud.host/api/v1/health'

                const response = await fetch('https://app.xcloud.host/api/v1/health', {
  method: 'GET'
});

const data = await response.json();
console.log(data);

                import requests

response = requests.get("https://app.xcloud.host/api/v1/health")

print(response.json())

                <?php
$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => 'https://app.xcloud.host/api/v1/health',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_CUSTOMREQUEST => 'GET',
]);

$response = curl_exec($curl);
curl_close($curl);

echo $response;

                using System.Net.Http;

var client = new HttpClient();
var request = new HttpRequestMessage(new HttpMethod("GET"), "https://app.xcloud.host/api/v1/health");
var response = await client.SendAsync(request);
var body = await response.Content.ReadAsStringAsync();
Console.WriteLine(body);

                import java.net.URI;
import java.net.http.*;

HttpClient client = HttpClient.newHttpClient();
HttpRequest request = HttpRequest.newBuilder()
    .uri(URI.create("https://app.xcloud.host/api/v1/health"))
    .method("GET", HttpRequest.BodyPublishers.noBody())
    .build();

HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
```

## Response

```json

                {
    "status": "ok",
    "version": "v1"
}
```

Returns the current [health](https://betterdocs.shahrear.msf.bd/encyclopedia/health/) status of the [API](https://betterdocs.shahrear.msf.bd/encyclopedia/api/). No authentication required. Use this endpoint to verify connectivity before making authenticated requests.

## Responses

### 200 — [API](https://betterdocs.shahrear.msf.bd/encyclopedia/api/) is healthy

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | string | Optional |  |
| `version` | string | Optional |  |

```json

                {
    "status": "ok",
    "version": "v1"
}
```
