# 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-10-21).

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

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/preflight?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-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-8a966155
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X6oCsPuO0OqFwn5orGqPr

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-8a966155
```

Example prompt: Can you audit the endpoint at https://myagent.example.com/mcp and tell me if it's properly JSON-RPC compliant, within latency SLA, and whether it has the right HTTP 402 payment headers set up?

## When to prefer this

Use this endpoint when you need to programmatically verify that an A2A agent, MCP server, or x402-enabled service URL meets protocol compliance standards before integration or deployment. It is especially useful for automated CI/CD pipelines validating agent endpoints, marketplace onboarding checks, or ongoing SLA monitoring of third-party agent services. Prefer this over manual curl-based checks when you need structured, machine-readable compliance results covering JSON-RPC, OpenAPI schema, latency, and HTTP 402 payment headers in a single call.

## Known failure modes

- Target URL is unreachable or times out — returns connectivity error
- Target URL does not implement any recognized protocol (A2A, MCP, x402) — returns protocol mismatch
- Missing required 'url' parameter — returns 400 bad request
- Target URL returns non-standard responses that cannot be parsed for compliance — returns analysis failure
- Rate limiting or payment required (HTTP 402) if call quota exceeded

## 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 results, and presence/validity of HTTP 402 (x402) payment settlement headers 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-8a966155/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)
