{"uid":"cap_AiSsVFnIHNldWeNnAE0kn","slug":"brainiac-prevailing-wage-payroll-pre-check-a7631bec","name":"BRAINIAC Prevailing Wage Payroll Pre-Check","description":"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.","url":"https://www.brainiac.software/api/v1/prevailing-wage/payroll-precheck?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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","minimum":0},"grossProject":{"type":"number","minimum":0},"overtimeRate":{"type":"number","minimum":0},"straightRate":{"type":"number","minimum":0},"middleInitial":{"type":"string","maxLength":1},"classification":{"type":"string","maxLength":120,"minLength":1},"hoursOtherWork":{"type":"number","minimum":0,"description":"Hours this worker worked for the week on other work, in addition to the listed project. Enter 0 when none."},"apprenticeLevel":{"type":"string","maxLength":80},"otherDeductions":{"type":"number","default":0,"minimum":0},"cashInLieuHourly":{"type":"number","default":0,"minimum":0},"identifyingNumber":{"type":"string","maxLength":8,"minLength":1,"description":"Use a worker-specific ID or last four digits only; never enter a full SSN."},"fringeCreditHourly":{"type":"number","default":0,"minimum":0}},"additionalProperties":false},"maxItems":100,"minItems":1},"weekEnding":{"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])))$"},"cwhssaCovered":{"type":"boolean"}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k0rHdDHD_3mibwkuCIlO2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a weekly certified payroll submission against prevailing wage rules (DBRA/Davis-Bacon) and returns a structured list of compliance findings before official submission.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Weekly certified payroll compliance check","prompt":"Before I submit this week's certified payroll for our federal highway project, run a pre-check using wage determination TX20260001. The project is 'I-35 Expansion Phase 2' with contractor BuildRight LLC at 500 Congress Ave, Austin TX. I have three workers — all journeymen carpenters — working 8 straight hours Monday through Friday at $40.00 straight and $60.00 overtime. Fringe credit is $4.50/hr with no cash-in-lieu, and each had $150 tax and $95 FICA withheld. Tell me if anything will fail before I file."},{"title":"Flagging misclassified worker before filing","prompt":"We're about to submit our weekly payroll for the Riverside School renovation (contractor: Summit Builders, 200 River Rd, Dallas TX, wage determination TX20260002). One of our workers is listed as 'Laborer' but has been doing electrician work. Can you pre-check the payroll and flag any classification issues? She worked 8 hours straight Monday through Thursday and 4 hours Friday, straight rate $29.00, overtime rate $43.50, $2.00 fringe, $110 tax withheld, $78 FICA."},{"title":"Verifying fringe benefit credit compliance","prompt":"Run a prevailing wage precheck for payroll number 3 on contract #TX-2026-0055 for the 'City Hall HVAC Upgrade' project (contractor: CoolAir Systems, 75 Oak St, Houston TX, location Harris County TX) under wage determination TX20260003. The worker is Maria Lopez, journeyman HVAC Technician, straight rate $45.00, overtime $67.50, fringe credit $6.00/hr, cash-in-lieu $1.50/hr, worked 8 straight hours each day Mon through Sun, tax withheld $200, FICA $120. I need to know if the fringe credit passes muster."}],"resultDescription":"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).","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-15T06:38:36.552Z","isFirstParty":false,"canonicalSlug":"brainiac-prevailing-wage-payroll-pre-check-a7631bec"}