# BRAINIAC Prevailing Wage Payroll Pre-Check

> BRAINIAC Prevailing Wage Payroll Pre-Check is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-15).

Validates a weekly certified payroll submission against prevailing wage rules (DBRA/Davis-Bacon) and returns a structured list of compliance findings before official submission.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/prevailing-wage/payroll-precheck?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-prevailing-wage-payroll-pre-check-a7631bec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AiSsVFnIHNldWeNnAE0kn

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 brainiac-prevailing-wage-payroll-pre-check-a7631bec -d '<json body>'
```

Example prompt: Run a prevailing wage pre-check on our certified payroll for project 'Main Street Bridge Rehab' (contractor: Apex Construction, address: 100 Main St Austin TX, location: Travis County TX) under wage determination TX20260001, payroll number 7, for the week ending 2026-10-24. We have one worker — John A. Smith, journeyman, classification Carpenter, straight-time rate $38.50, overtime rate $57.75, fringe credit $4.20/hr, cash-in-lieu $0, 8 straight hours each on Mon through Fri with no overtime, federal tax withheld $120, FICA $85, no other deductions.

## When to prefer this

Use this endpoint when you need automated, structured compliance pre-screening of weekly certified payroll data against Davis-Bacon/DBRA prevailing wage rules before official submission. It is purpose-built for federal and state government construction projects requiring certified payroll, and returns machine-readable findings with regulatory citations — making it ideal for agentic workflows that need to catch errors programmatically rather than relying on manual review or generic payroll software.

## Known failure modes

- Missing required fields (worker name, classification, days array not exactly 7 entries) returns a 400 validation error
- Invalid wage determination ID (wdId) may return FAIL with CLASSIFICATION_UNVERIFIED finding
- Unrecognized worker classification triggers a FAIL finding with cite to SAM.gov
- Rates below prevailing wage minimums produce FAIL findings per rule
- Malformed date format in days array causes schema validation failure
- API payment failure (x402) if USDC not provided or insufficient balance

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

A JSON object containing: overall compliance status (PASS or FAIL), the ruleset applied, the week-ending date, worker count, timestamp of the check, and an array of findings where each finding identifies the row (worker index), column, rule ID, a human-readable message, severity level, and a citation URL to the governing regulation (e.g. SAM.gov wage determinations).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "wdId": {
   "type": "string",
   "minLength": 1
  },
  "project": {
   "type": "object",
   "required": [
    "name",
    "contractor",
    "address",
    "location"
   ],
   "properties": {
    "name": {
     "type": "string",
     "maxLength": 240,
     "minLength": 1
    },
    "address": {
     "type": "string",
     "maxLength": 500,
     "minLength": 1
    },
    "location": {
     "type": "string",
     "maxLength": 240,
     "minLength": 1
    },
    "contractor": {
     "type": "string",
     "maxLength": 240,
     "minLength": 1
    },
    "payrollNumber": {
     "type": "string",
     "maxLength": 120
    },
    "contractNumber": {
     "type": "string",
     "maxLength": 120
    }
   },
   "additionalProperties": false
  },
  "workers": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "lastName",
     "firstName",
     "identifyingNumber",
     "status",
     "classification",
     "hoursOtherWork",
     "days",
     "straightRate",
     "overtimeRate"
    ],
    "properties": {
     "days": {
      "type": "array",
      "items": {
       "type": "object",
       "required": [
        "date"
       ],
       "properties": {
        "date": {
         "type": "string",
         "format": "date",
         "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "overtime": {
         "type": "number",
         "default": 0,
         "maximum": 24,
         "minimum": 0
        },
        "straight": {
         "type": "number",
         "default": 0,
         "maximum": 24,
         "minimum": 0
        }
       },
       "additionalProperties": false
      },
      "maxItems": 7,
      "minItems": 7
     },
     "status": {
      "enum": [
       "J",
       "RA"
      ],
      "type": "string"
     },
     "lastName": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "firstName": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "netAllWork": {
      "type": "number",
      "minimum": 0
     },
     "taxWithheld": {
      "type": "number",
      "default": 0,
      "minimum": 0
     },
     "ficaWithheld": {
      "type": "number",
      "default": 0,
      "minimum": 0
     },
     "grossAllWork": {
      "type": "number
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "wdId": "TX20260001",
  "status": "FAIL",
  "ruleset": "brainiac-dbra-precheck-1",
  "findings": [
   {
    "col": "3",
    "row": 1,
    "cite": "https://sam.gov/wage-determinations",
    "ruleId": "CLASSIFICATION_UNVERIFIED",
    "message": "Classification requires review.",
    "severity": "FAIL"
   }
  ],
  "checkedAt": "2026-10-29T12:00:00.000Z",
  "weekEnding": "2026-10-24",
  "workerCount": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-prevailing-wage-payroll-pre-check-a7631bec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
