# Strale API Health Check

> Strale API Health Check is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054/call, status unknown (last checked 2026-09-13).

Performs a live health check on the Strale API, verifying the service is operational and returning a valid response structure.

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/api-health-check
- Price: $0.054/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-api-health-check-fe617a13
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6iqGvcVsOY4EutaAuiwcs

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability strale-api-health-check-fe617a13
```

Example prompt: Can you do a quick health check on the Strale API to confirm it's up and responding correctly before I start sending real requests through it?

## When to prefer this

Use this endpoint when you need to confirm Strale API availability before initiating dependent workflows, when debugging connectivity issues with Strale services, or when building monitoring pipelines for the Strale trust layer. It provides a lightweight, low-cost ($0.054 USDC) way to validate service health with an auditable cryptographic record.

## Known failure modes

- Service unavailable (5xx) if Strale API is down or under maintenance
- Schema mismatch if expected_schema does not match actual response structure
- Network timeout if the endpoint is unreachable
- Payment failure if x402 micropayment of $0.054 USDC cannot be processed

## How this service works

Test an API endpoint: send request, validate response status and schema. Integration testing as a service.

## Output

Returns a status indicator confirming the Strale API is operational, along with an audit record containing a cryptographic chain hash for traceability. The response confirms service availability and, if an expected schema was provided, validates that the response matches it.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "API endpoint URL"
  },
  "body": {
   "type": "string"
  },
  "method": {
   "type": "string"
  },
  "headers": {
   "type": "object"
  },
  "expected_schema": {
   "type": "object"
  },
  "expected_status": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "is_healthy": {
  "type": "boolean"
 },
 "status_code": {
  "type": "integer"
 },
 "schema_valid": {
  "type": "boolean"
 },
 "response_body": {
  "type": "string"
 },
 "response_time_ms": {
  "type": "integer"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-api-health-check-fe617a13/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
