# x402 Trust Layer Risk Gate Scanner

> x402 Trust Layer Risk Gate Scanner is a paid API for AI agents from x402trustlayer.xyz, paid per call via x402, $0.08/call, status unknown (last checked 2026-10-12).

Scans an HTTP request through a risk gate to determine if it is allowed, returning a compliance decision after x402 micropayment settlement.

## Facts

- Endpoint: POST https://x402trustlayer.xyz/api/risk-gate/scan?utm_source=zero.xyz
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-trust-layer-risk-gate-scanner-d9ce46e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nMz1FhL3bLqzkLOkhznWY

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 x402-trust-layer-risk-gate-scanner-d9ce46e1 -d '<json body>'
```

Example prompt: Run a risk gate scan on an incoming GET request to check if it's allowed — I need to know whether the request passes compliance before we proceed.

## When to prefer this

Use this endpoint when you need a lightweight, paid compliance decision on whether a specific HTTP request (GET, HEAD, or DELETE) should be allowed to proceed, particularly within an x402-native payment infrastructure context. Prefer this over general-purpose firewalls or API gateways when working within a Web3 trust layer ecosystem that uses on-chain settlement to gate access.

## Known failure modes

- Payment not settled — request blocked with 402 Payment Required if x402 settlement fails
- Invalid HTTP method — only GET, HEAD, DELETE are accepted; POST/PUT/PATCH will be rejected
- Missing required 'type' or 'method' fields in input object returns validation error
- Request flagged as disallowed returns ok:true but allowed:false with a blocking summary
- Network or infrastructure timeout returns an error response with ok:false

## How this service works

68 paid x402 trust infrastructure APIs: guard, semantic escrow, mandate diff, certified seller network, KYM, mandates, compliance, disputes, and orchestration.

## Output

Returns a JSON object with three fields: 'ok' (boolean indicating request success), 'allowed' (boolean indicating whether the scanned request passes the risk gate), and 'summary' (a plain-language string explaining the compliance decision). Delivered after x402 micropayment settlement of $0.08 USDC.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "allowed",
      "summary"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "allowed": {
       "type": "boolean"
      },
      "summary": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "allowed": true,
  "summary": "Paid response after x402 settlement"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-trust-layer-risk-gate-scanner-d9ce46e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402trustlayer.xyz](https://www.zero.xyz/host/x402trustlayer.xyz/llms.txt)
