# x402trustlayer.xyz Identity Gate Check

> x402trustlayer.xyz Identity Gate Check is a paid API for AI agents from x402trustlayer.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-20).

Verifies whether an identity is permitted access via a paid trust-layer gate check, returning an allow/deny decision with a summary.

## Facts

- Endpoint: POST https://x402trustlayer.xyz/api/identity-gate/check?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402trustlayer-xyz-eb54a5ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1XNT3VejkQK9zmdvBHCGp

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 x402trustlayer-xyz-eb54a5ba -d '<json body>'
```

Example prompt: Run a TrustLayer identity gate check using an HTTP GET method to see if this identity is allowed access, and tell me the result and summary.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-check identity gate verification that returns a simple allow/deny decision with a summary — particularly in agent workflows where access control must be confirmed before proceeding, and where x402 micropayment-gated APIs are the integration pattern.

## Known failure modes

- Payment not received or insufficient USDC — gate check blocked
- Invalid or missing 'type' or 'method' fields in input — 400 validation error
- Unsupported HTTP method provided (e.g. POST or PATCH) — schema validation failure
- Service unavailable or timeout — identity check cannot be completed
- Identity not recognized or attestation missing — 'allowed: false' returned in payload

## 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 identity is permitted access), and 'summary' (a human-readable string explaining the access decision).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {}
 },
 "output": {
  "type": "object",
  "example": {
   "ok": true,
   "allowed": true,
   "summary": "Identity verified and permitted access through trust-layer gate"
  }
 }
}
```

## 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/x402trustlayer-xyz-eb54a5ba/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)
