# x402 Trust Layer A2A Execute

> x402 Trust Layer A2A Execute is a paid API for AI agents from x402trustlayer.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-28).

Runs an agent-to-agent (A2A) trust preflight check, dispatching guard, trust score, and seller validation before allowing an API transaction to proceed.

## Facts

- Endpoint: POST https://x402trustlayer.xyz/api/a2a/execute?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-trust-layer-a2a-execute-81315017
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J0So-nemuM91I4EDqImsR

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-a2a-execute-81315017 -d '<json body>'
```

Example prompt: Run a trust preflight check on this agent-to-agent GET request to make sure the schema is valid, the trust score passes, and the seller is cleared before I proceed — use the x402 Trust Layer A2A execute endpoint.

## When to prefer this

Choose this endpoint when an AI agent needs to perform a trust-gated preflight check before executing an agent-to-agent API transaction, especially when compliance, seller certification, and schema validation must all pass before proceeding. Prefer this over generic auth endpoints when you need the full x402 trust stack including guard, trust score, and seller dispatch in a single call.

## Known failure modes

- Schema validation failure if required fields 'type' or 'method' are missing
- Invalid HTTP method (only GET, HEAD, DELETE are accepted — POST/PUT/PATCH will be rejected)
- Trust score below threshold returns allowed=false
- Seller dispatch failure returns sellerResponse.ok=false with summary
- Orchestrator not ready returns orchestratorReady=false
- Payment failure or insufficient USDC balance (x402 payment required per call)
- Network timeout from downstream seller or orchestration layer

## 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 indicating whether the call is allowed (boolean), whether the operation succeeded, an array of named checks that passed (e.g. a2a_schema_valid, trust_score, seller_dispatch), the current orchestration status string, a seller response object with ok/allowed/summary fields, and a boolean indicating orchestrator readiness.

## 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": [
      "success",
      "allowed",
      "orchestratorReady",
      "orchestration",
      "sellerResponse",
      "checks_passed"
     ],
     "properties": {
      "allowed": {
       "type": "boolean"
      },
      "success": {
       "type": "boolean"
      },
      "checks_passed": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "orchestration": {
       "type": "string"
      },
      "sellerResponse": {
       "type": "object",
       "required": [
        "ok",
        "allowed",
        "summary"
       ],
       "properties": {
        "ok": {
         "type": "boolean"
        },
        "allowed": {
         "type": "boolean"
        },
        "summary": {
         "type": "string"
        }
       }
      },
      "orchestratorReady": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "allowed": true,
  "success": true,
  "checks_passed": [
   "a2a_schema_valid",
   "trust_score",
   "seller_dispatch"
  ],
  "orchestration": "in-process",
  "sellerResponse": {
   "ok": true,
   "allowed": true,
   "summary": "Guard preflight passed for A2A seller call"
  },
  "orchestratorReady": true
 }
}
```

## More

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