# 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 agent, MCP, or x402 service URL for JSON-RPC compliance, latency SLA, OpenAPI schema validity, and HTTP 402 payment settlement headers.

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/x402-audit?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-b6c747e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q-lCcNDIr9RyZQherg2WR

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-b6c747e9 -d '<json body>'
```

Example prompt: Can you audit this MCP endpoint — https://myagent.example.com/mcp — and check whether it's JSON-RPC compliant, passes its latency SLA, has a valid OpenAPI schema, and properly supports HTTP 402 payment settlement headers?

## When to prefer this

Use this endpoint when you need to programmatically verify that a remote agent, MCP tool, or x402 payment-enabled service correctly implements JSON-RPC, meets latency SLAs, exposes a valid OpenAPI schema, and supports HTTP 402 settlement headers — especially before integration, marketplace listing, or as part of a continuous compliance pipeline. Prefer this over manual inspection or generic HTTP testers when you need structured, agent-readable compliance output covering all four protocol dimensions simultaneously.

## Known failure modes

- Target URL is unreachable or returns a network error — audit fails with connectivity error
- Target URL is not a valid A2A/MCP/x402 endpoint — may return schema mismatch or unrecognized protocol errors
- Latency SLA thresholds not met — report flags SLA violation
- Missing or malformed HTTP 402 headers — compliance check returns failure for payment settlement
- Invalid or empty URL input — returns validation error for missing required field

## 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/x402-audit)

## Output

Returns a structured audit report covering JSON-RPC protocol compliance, measured latency against SLA thresholds, OpenAPI schema validation results, and HTTP 402 payment settlement header presence and correctness 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-b6c747e9/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)
