# Strale Data Quality Check

> Strale Data Quality Check is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-15).

Validates data against custom or auto-detected quality rules and returns a structured quality report with audit trail

## Facts

- Endpoint: GET https://api.strale.io/x402/v2/data-quality-check
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/strale-data-quality-check-d381323c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VzzdGwRgSHj8nTi41Ffnq

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 strale-data-quality-check-d381323c
```

Example prompt: Can you run a data quality check on this value — 'user@example..com' — using the email_format rule, and tell me what issues come up?

## When to prefer this

Choose this endpoint when you need auditable, cryptographically-hashed data quality validation with support for custom rules like email_format, range, and pattern — especially in compliance-sensitive contexts where a tamper-evident audit trail is required. Prefer over generic validators when operating across international data standards or when needing a REST/MCP/x402-compatible quality gate in an automated agent workflow.

## Known failure modes

- Missing or empty 'data' field returns validation error
- Invalid rule name in 'rules' parameter returns unknown rule error
- Malformed input schema returns 400 bad request
- Payment not included or insufficient USDC returns 402 payment required
- Service unavailable returns 503 with no audit record

## How this service works

Check data quality with custom rules (email_format, range, pattern, etc.) or auto-detect issues. Returns quality score and field-level report. Algorithmic.

## Output

Returns a structured data quality report listing detected issues, rule violations, pass/fail status per rule, and an audit record with cryptographic chain hash for traceability.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data"
 ],
 "properties": {
  "data": {
   "type": "array",
   "description": "JSON array of objects"
  },
  "rules": {
   "type": "array",
   "description": "Optional validation rules"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "issues": {
  "type": "array"
 },
 "valid_rows": {
  "type": "integer"
 },
 "field_report": {
  "type": "array"
 },
 "invalid_rows": {
  "type": "integer"
 },
 "quality_score": {
  "type": "integer"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/strale-data-quality-check-d381323c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
