---
title: "Paid: API Key Health Check"
method: POST
path: "/api/x402/api-key-health"
---

# Paid: API Key Health Check

`POST /api/x402/api-key-health`

## Request

- Base URL: `https://three.ws`
- URL: `https://three.ws/api/x402/api-key-health`
- Auth: none required

API Key Validity Health Check — verifies that the platform has a valid, non-expired access key covering a given scope. Checks x402 subscription keys and the internal service key. Returns valid, scopes, expires_at, and key_type. Used by the autonomous loop to confirm its access lane is healthy before each tick. Pay-per-call in USDC on Solana or Base mainnet.

## Request body

- object
  - `scope` string

## Response `200`

three.ws API Key Health Check result JSON

## Other responses

- `400`: Validation error
- `402`: Payment Required (x402)

---

[API](https://skmtc.dev/three/apis/three-ws-api.md) · [All operations](https://skmtc.dev/three/apis/three-ws-api/llms.txt) · [OpenAPI document](https://skmtc.dev/three/apis/three-ws-api/revisions/dbc5e3a81b79?raw)
