# xAudit API Response Validator

> xAudit API Response Validator is a paid API for AI agents from xaudit.melis.ai, paid per call via x402, $0.002000/call, status down (last checked 2026-10-23).

Validates an API response object for correctness, compliance, or quality at $0.002 per call

## Facts

- Endpoint: POST https://xaudit.melis.ai/validate?utm_source=zero.xyz
- Price: $0.002000/call
- Payment: x402
- Status: down
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/xaudit-melis-ai-4b6a90fb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j-hhpEwqBrA9Jas_kStGv

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 xaudit-melis-ai-4b6a90fb -d '<json body>'
```

Example prompt: Can you validate this API response object for me using xAudit and tell me if it passes or has any issues: {"status":200,"data":{"userId":"abc123","score":null}}?

## When to prefer this

Use xAudit when you need a lightweight, pay-per-call API response validation service and want to avoid standing up your own validation infrastructure. Ideal for agents that need to verify API outputs on-the-fly before passing them downstream, at very low cost per check.

## Known failure modes

- Malformed or non-object input returns a 400-level error
- Missing api_response field causes validation failure
- Payment of 0.002 USDC not fulfilled triggers x402 payment-required response
- Response too large or complex may cause timeout
- Ambiguous or empty response object may yield inconclusive validation result

## How this service works

xAudit: $0.002 per API response validation

## Output

A validation result indicating whether the provided API response object is valid, along with any audit findings, errors, or compliance issues detected.

## Example request

```json
{
 "api_response": {
  "data": {
   "id": "user_67890",
   "name": "Test User",
   "email": "test@example.com",
   "created_at": "2024-01-15T10:30:00Z"
  },
  "status": 200,
  "message": "Success",
  "timestamp": 1705318200
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "api_response": {
   "type": "object",
   "description": "API response object to validate"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "valid",
  "checks",
  "certificate",
  "payment_hash",
  "quality_score"
 ],
 "properties": {
  "valid": {
   "type": "boolean"
  },
  "checks": {
   "type": "object",
   "required": [
    "schema",
    "freshness",
    "completeness",
    "hallucination"
   ],
   "properties": {
    "schema": {
     "type": "object",
     "required": [
      "issues",
      "passed"
     ],
     "properties": {
      "issues": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "passed": {
       "type": "boolean"
      }
     }
    },
    "freshness": {
     "type": "object",
     "required": [
      "passed",
      "age_seconds"
     ],
     "properties": {
      "passed": {
       "type": "boolean"
      },
      "age_seconds": {
       "type": "number"
      }
     }
    },
    "completeness": {
     "type": "object",
     "required": [
      "passed",
      "missing_fields"
     ],
     "properties": {
      "passed": {
       "type": "boolean"
      },
      "missing_fields": {
       "type": "array",
       "items": {
        "type": "unknown"
       }
      }
     }
    },
    "hallucination": {
     "type": "object",
     "required": [
      "passed",
      "suspicious_fields"
     ],
     "properties": {
      "passed": {
       "type": "boolean"
      },
      "suspicious_fields": {
       "type": "array",
       "items": {
        "type": "unknown"
       }
      }
     }
    }
   }
  },
  "certificate": {
   "type": "object",
   "required": [
    "hash",
    "issued_at",
    "signature",
    "expires_at"
   ],
   "properties": {
    "hash": {
     "type": "string"
    },
    "issued_at": {
     "type": "string"
    },
    "signature": {
     "type": "string"
    },
    "expires_at": {
     "type": "string"
    }
   }
  },
  "payment_hash": {
   "type": "string"
  },
  "quality_score": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/xaudit-melis-ai-4b6a90fb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from xaudit.melis.ai](https://www.zero.xyz/host/xaudit.melis.ai/llms.txt)
