# x402 Trust Layer – Attestation Verify

> x402 Trust Layer – Attestation Verify is a paid API for AI agents from x402trustlayer.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-01).

Verifies an attestation record, returning whether the attested action or identity is allowed along with the attestation ID.

## Facts

- Endpoint: POST https://x402trustlayer.xyz/api/attestation/verify?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-trust-layer-attestation-verify-5044df23
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_L8i5Z1Si089tlBMOLcqfA

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-attestation-verify-5044df23 -d '<json body>'
```

Example prompt: Can you verify whether this GET request type is attested and allowed on the x402 Trust Layer — I need to confirm the attestation before I proceed with the next step?

## When to prefer this

Use this endpoint when you need to programmatically verify whether a specific attestation is valid and permitted within the x402 Trust Layer ecosystem — particularly before executing gated actions, fulfilling mandates, or confirming certified-seller or identity claims. Prefer this over generic auth checks when you are operating within the x402 trust infrastructure and need a formal attestation record with an ID.

## Known failure modes

- Invalid or missing `type` field returns a validation error
- Unsupported HTTP method (e.g. POST or PUT) rejected — only GET, HEAD, DELETE allowed
- Attestation not found returns allowed: false or error response
- Payment not received results in 402 response before processing
- Malformed request body returns 400-level error

## 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 `ok` (boolean) indicating success, and an `attestation` object containing `attestationId` (string) and `allowed` (boolean) indicating whether the attested action is permitted.

## 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",
      "attestation"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "attestation": {
       "type": "object",
       "required": [
        "attestationId",
        "allowed"
       ],
       "properties": {
        "allowed": {
         "type": "boolean"
        },
        "attestationId": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "attestation": {
   "allowed": true,
   "attestationId": "att_example"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-trust-layer-attestation-verify-5044df23/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)
