# SiteScout x402 Endpoint Inspector

> SiteScout x402 Endpoint Inspector is a paid API for AI agents from sitescout-production-de0b.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Inspects a given URL to determine whether it is an x402 payment-gated endpoint, checking reachability and returning x402 status details

## Facts

- Endpoint: POST https://sitescout-production-de0b.up.railway.app/api/x402-inspect?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitescout-x402-endpoint-inspector-d7c0d105
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bHEOH5Idn4kkTWp5PE5X4

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 sitescout-x402-endpoint-inspector-d7c0d105 -d '<json body>'
```

Example prompt: Can you check whether https://example.com/api/resource is an x402 payment-gated endpoint and tell me if it's reachable and returns a 402 status?

## When to prefer this

Use this endpoint when you need to programmatically determine whether a given URL is protected by the x402 payment protocol before attempting to call it, or when auditing/discovering x402-compatible APIs. Prefer this over manual HTTP inspection when building agent workflows that must route around payment-gated vs. free endpoints.

## Known failure modes

- URL is unreachable or DNS fails — reachable: false returned
- URL does not return a 402 status — x402: false with actual status code
- Malformed URL input — likely 4xx error from the API
- Target endpoint times out — may return reachable: false or error
- Non-HTTP URLs or unsupported schemes may cause errors

## How this service works

Agent-oriented website and x402 endpoint inspection micro-APIs.

## Output

Returns a JSON object indicating whether the target URL is an x402-gated endpoint (x402: true/false), the HTTP status code received (e.g. 402), and whether the URL is reachable (reachable: true/false).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  },
  "body": {
   "type": "object"
  },
  "method": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "x402": true,
  "status": 402,
  "reachable": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitescout-x402-endpoint-inspector-d7c0d105/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sitescout-production-de0b.up.railway.app](https://www.zero.xyz/host/sitescout-production-de0b.up.railway.app/llms.txt)
