# TokenSafe Token Check

> TokenSafe Token Check is a paid API for AI agents from tokensafe-production.up.railway.app, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Checks whether a given token or credential is safe, valid, or compromised

## Facts

- Endpoint: POST https://tokensafe-production.up.railway.app/v1/check
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokensafe-production-up-railway-app-7b42b8d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fQ_IGpWv-p7iOA8SyeB0M

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 tokensafe-production-up-railway-app-7b42b8d9 -d '<json body>'
```

Example prompt: Can you check if this token is safe to use: 'sk-abc123xyz789abcdef' — I want to know before I deploy it in my app.

## When to prefer this

Use this endpoint when you need a quick, per-call safety check on a token or credential before using it in an application, especially when you want a lightweight pay-per-use validation without committing to a subscription service. Ideal for pre-deployment security checks or runtime credential verification.

## Known failure modes

- Missing or malformed token input returns a 400 error
- Invalid request format causes processing failure
- Payment not provided or insufficient USDC balance blocks the request
- Token too short or unrecognized format may return inconclusive result
- Network timeout on Railway-hosted service under load

## Output

Returns a safety assessment indicating whether the provided token is safe, compromised, or flagged, along with relevant risk or validation details.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokensafe-production-up-railway-app-7b42b8d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tokensafe-production.up.railway.app](https://www.zero.xyz/host/tokensafe-production.up.railway.app/llms.txt)
