# Sparks RE FHA Compliance Scanner

> Sparks RE FHA Compliance Scanner is a paid API for AI agents from sparks-re-api.sparksdigital-re.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-30).

Scans real estate listing text for Fair Housing Act violations across all 7 federal protected classes and returns flagged phrases with category labels, suggestions, and a compliant rewrite

## Facts

- Endpoint: POST https://sparks-re-api.sparksdigital-re.workers.dev/property/fha-compliance?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sparks-re-fha-compliance-scanner-55188418
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eI5YM2yIN80l9lLT_Gdgd

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 sparks-re-fha-compliance-scanner-55188418 -d '<json body>'
```

Example prompt: Can you scan this rental listing for Fair Housing Act violations and give me a compliant rewrite? Here's the text: 'Perfect for a Christian family, no kids please, quiet neighborhood preferred for able-bodied professionals.'

## When to prefer this

Use this endpoint when you need fast, automated pre-screening of real estate or rental listing text specifically against the 7 FHA federal protected classes, and want both a violation report AND a ready-to-use compliant rewrite in one call. Prefer it over general content moderation APIs because it is purpose-built for real estate compliance with 50+ FHA-specific discriminatory patterns and understands domain vocabulary like MLS copy and property marketing language.

## Known failure modes

- Empty or missing listing_text field causes validation error
- Listing text that is too long may be truncated or rejected
- False negatives possible — subtle or indirect discriminatory phrasing may not be caught by the 50+ pattern scanner
- Service is automated screening, not legal advice — flagged/unflagged status does not constitute legal compliance certification
- API returns non-200 if payment (x402) is not processed correctly at $0.05 USDC per call

## How this service works

AI-powered real estate tools for property normalization, FHA compliance scanning, and investor metrics calculation. Powered by x402 micropayments.

## Output

Returns a JSON object with: is_compliant (boolean), flagged_phrases (array of objects each containing the offending phrase, its violation_category from the 7 FHA protected classes, and a suggested replacement), violation_count (integer total of flagged items), and compliant_rewrite (a full rewritten version of the listing text that removes all discriminatory language).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "listing_text": {
   "type": "string",
   "description": "Property marketing copy to scan for FHA violations"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "is_compliant": false,
  "flagged_phrases": [
   {
    "phrase": "Christian family",
    "suggestion": "all families",
    "violation_category": "Religion"
   },
   {
    "phrase": "No children",
    "suggestion": "[remove phrase]",
    "violation_category": "Familial Status"
   }
  ],
  "violation_count": 2,
  "compliant_rewrite": "Perfect for all families! Walking distance to local amenities."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sparks-re-fha-compliance-scanner-55188418/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sparks-re-api.sparksdigital-re.workers.dev](https://www.zero.xyz/host/sparks-re-api.sparksdigital-re.workers.dev/llms.txt)
