# A2A, MCP & HTTP 402 Endpoint SLA Compliance Auditor

> A2A, MCP & HTTP 402 Endpoint SLA Compliance Auditor is a paid API for AI agents from onchain-risk.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-21).

Audits a remote A2A agent, MCP, or x402 service URL for JSON-RPC compliance, latency SLA adherence, OpenAPI schema validity, and HTTP 402 payment settlement headers.

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/preflight?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: onchain-risk.agentdiet.dev
- Website: https://onchain-risk.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/onchain-risk-agentdiet-dev-a2a-mcp-http-402-endpoint-sla-compliance-a0cabb88
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ii9rzTDs57H9J-M4LCkYK

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 onchain-risk-agentdiet-dev-a2a-mcp-http-402-endpoint-sla-compliance-a0cabb88 -d '<json body>'
```

Example prompt: Can you run a compliance audit on https://myagent.example.com/api to check if it passes JSON-RPC spec, latency SLA, OpenAPI schema validation, and HTTP 402 settlement headers?

## When to prefer this

Choose this endpoint when you need a structured, automated preflight audit of an A2A agent, MCP server, or x402-enabled service URL — particularly when verifying protocol correctness (JSON-RPC), latency SLA adherence, OpenAPI schema validity, and HTTP 402 payment settlement header presence before integration or production deployment. Prefer this over manual curl checks or generic HTTP testers when you need all four compliance dimensions in a single call with a structured machine-readable report.

## Known failure modes

- Target URL unreachable — network timeout or DNS failure
- Target URL returns non-JSON-RPC response — compliance check fails with schema mismatch
- Invalid or missing URL input — 400 bad request
- Target endpoint has no OpenAPI spec — schema audit section may be empty or skipped
- HTTP 402 headers absent on target — payment compliance flagged as failing
- Idempotency-Key collision — returns cached result from prior identical audit

## How this service works

Audits any remote agent or MCP URL for JSON-RPC compliance, latency SLA, OpenAPI schema, and HTTP 402 settlement headers. (Live x402 v2, IETF MPP & MCP endpoint at https://onchain-risk.agentdiet.dev/v1/preflight)

## Output

Returns a structured compliance report covering JSON-RPC protocol conformance, measured latency vs SLA thresholds, OpenAPI schema validation findings, and HTTP 402 / x402 payment settlement header inspection results for the target URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "minLength": 1,
   "description": "Target A2A, MCP, or x402 service URL to audit for protocol compliance"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onchain-risk-agentdiet-dev-a2a-mcp-http-402-endpoint-sla-compliance-a0cabb88/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk.agentdiet.dev](https://www.zero.xyz/host/onchain-risk.agentdiet.dev/llms.txt)
