# gov.halowerk.com Regulatory Check

> gov.halowerk.com Regulatory Check is a paid API for AI agents from gov.halowerk.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-14).

Evaluates a set of scalar facts against explicit rules (equals, not-equals, numeric bounds, membership, contains, existence) and returns pass/fail results per rule

## Facts

- Endpoint: POST https://gov.halowerk.com/v1/regulatory-check
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gov-halowerk-com-regulatory-check-5453bd47
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X6ifDjtA5dSjJrBX1iZRi

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 gov-halowerk-com-regulatory-check-5453bd47 -d '<json body>'
```

Example prompt: Check these data fields against my rules: facts are [{ field: 'age', value: 25 }, { field: 'country', value: 'US' }, { field: 'license_type', value: 'A' }], and rules are [{ rule_id: 'r1', field: 'age', operator: 'gte', expected: 18 }, { rule_id: 'r2', field: 'country', operator: 'in', allowed_values: ['US','CA','GB'] }, { rule_id: 'r3', field: 'license_type', operator: 'equals', expected: 'A' }] — tell me which rules pass and which fail.

## When to prefer this

Use this endpoint when you need to evaluate structured scalar data against an explicit, caller-defined set of rules using standard comparison operators (equals, not-equals, gte, lte, in, contains, exists). It is ideal for validating form inputs, checking policy constraints, auditing data records, or running eligibility checks where the rules are known in advance and do not require retrieval of external law or regulation. It does not perform legal interpretation, determine which regulations apply, or certify compliance — choose it strictly for deterministic data-against-rule evaluation.

## Known failure modes

- Missing required 'rules' array returns a validation error
- Empty or malformed 'facts' array may cause rules referencing those fields to fail as field-not-found
- Operator 'in' without 'allowed_values' returns a schema validation error
- Facts array exceeding 10,000 items is rejected
- Rules array exceeding 10,000 items is rejected
- Field name exceeding 256 characters is rejected
- 'allowed_values' with more than 1,000 entries is rejected
- Type mismatch between fact value and expected value may cause unexpected comparison results

## How this service works

Joins scalar facts by field name and evaluates explicit equals, not-equals, numeric bound, membership, contains, and existence rules. It does not retrieve law, determine which rules apply, provide legal advice, or certify regulatory compliance.

## Output

Returns a per-rule evaluation outcome for each rule_id submitted, indicating whether the joined fact value satisfies the specified operator and expected/allowed values. Includes which rules passed, which failed, and details about the matched field and comparison result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "facts": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "field",
     "value"
    ],
    "properties": {
     "field": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1
     },
     "value": {
      "type": [
       "string",
       "number",
       "boolean",
       "null"
      ]
     }
    },
    "additionalProperties": false
   },
   "maxItems": 10000
  },
  "rules": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "rule_id",
     "field",
     "operator"
    ],
    "properties": {
     "field": {
      "type": "string",
      "maxLength": 256,
      "minLength": 1
     },
     "rule_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1
     },
     "expected": {
      "type": [
       "string",
       "number",
       "boolean",
       "null"
      ]
     },
     "operator": {
      "enum": [
       "equals",
       "not_equals",
       "gte",
       "lte",
       "in",
       "contains",
       "exists"
      ],
      "type": "string"
     },
     "allowed_values": {
      "type": "array",
      "items": {
       "type": [
        "string",
        "number",
        "boolean",
        "null"
       ]
      },
      "maxItems": 1000,
      "minItems": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 10000,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gov-halowerk-com-regulatory-check-5453bd47/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gov.halowerk.com](https://www.zero.xyz/host/gov.halowerk.com/llms.txt)
