# FLINTtrust Contractor Trust Check

> FLINTtrust Contractor Trust Check is a paid API for AI agents from flinttech-x402.f1intt3ch.workers.dev, paid per call via x402, $0.2/call, status unknown (last checked 2026-11-16).

Returns a trust score, license status, permit history, and compliance flags for a construction contractor in Minnesota or Washington state.

## Facts

- Endpoint: GET https://flinttech-x402.f1intt3ch.workers.dev/trust/contractor?utm_source=zero.xyz
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/flinttrust-contractor-trust-check-d55741f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_38K_HGDPCocMZhIHNQdf9

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 flinttrust-contractor-trust-check-d55741f3
```

Example prompt: Can you run a FLINTtrust check on 'Superior Roofing LLC' in Minnesota and tell me their trust score, whether their license is active, and how many permits they've pulled recently?

## When to prefer this

Use this endpoint when you need a structured, scored trust assessment of a construction contractor in Minnesota or Washington, combining license status and permit history into a single trust score. It is ideal for pre-hire vetting workflows, contractor marketplace compliance checks, or automated due diligence pipelines. Prefer this over raw government portals when you need clean JSON output, a composite trust score, and pay-per-call access with no API key setup.

## Known failure modes

- Contractor name not found — returns empty or null license/permits fields
- Ambiguous business name matches multiple contractors — may return first match or require more specific query
- Invalid or unknown license number — returns null license object
- State parameter not supported (only mn and wa accepted) — schema validation error
- Stale data if underlying government sources haven't been refreshed recently — indicated in freshness object
- Network timeout from upstream government data sources — may return partial results

## How this service works

Live construction permit leads for Minneapolis, Chicago, Austin, Seattle, San Francisco, New York and Los Angeles, contractor permit history and website audits as clean JSON for AI agents. Pay per call in USDC on Base via x402: no API key, no signup, from $0.01.

## Output

A JSON object containing: a numeric trust score (0–100), a trust band label (e.g. 'strong'), an array of compliance flags, a license object (active status, expiry date, business name, license number, enforcement action indicator), a permits summary (total count, breakdown by trade/city, most recent permit date), a scoring explanation with per-rule point breakdowns, and data freshness timestamps indicating when each source was last fetched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "ubi": {
       "type": "string",
       "description": "WA 9-digit UBI (state=wa only)"
      },
      "name": {
       "type": "string",
       "description": "Business name or part of it (3-80 chars)"
      },
      "state": {
       "enum": [
        "mn",
        "wa"
       ],
       "type": "string",
       "description": "Default mn"
      },
      "license": {
       "type": "string",
       "description": "MN DLI license number (alternative to name); WA L&I number when state=wa"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "product",
      "score",
      "flags",
      "scoring",
      "freshness"
     ],
     "properties": {
      "band": {
       "type": "string"
      },
      "flags": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "query": {
       "type": "object"
      },
      "score": {
       "type": "number"
      },
      "license": {
       "type": [
        "object",
        "null"
       ]
      },
      "permits": {
       "type": "object"
      },
      "product": {
       "type": "string"
      },
      "scoring": {
       "type": "object"
      },
      "checkedAt": {
       "type": "string"
      },
      "freshness": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "band": "strong",
  "flags": [],
  "query": {
   "name": "Example Roofing"
  },
  "score": 85,
  "license": {
   "active": true,
   "status": "ISSUED",
   "expires": "03/31/2027",
   "business": "EXAMPLE ROOFING LLC",
   "licenseNumber": "BC000000",
   "enforcementAction": false
  },
  "permits": {
   "total": 12,
   "byTrade": {
    "Minneapolis, MN: Res": 12
   },
   "lastPermit": "2026-10-01"
  },
  "product": "FLINTtrust Contractor Trust Check",
  "scoring": {
   "version": "flinttrust-v1",
   "explanation": [
    {
     "rule": "license_active",
     "detail": "License BC000000 status ISSUED",
     "points": 40
    }
   ]
  },
  "freshness": {
   "mnDli": {
    "fetchedAt": "2026-11-01T08:00:00.000Z"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/flinttrust-contractor-trust-check-d55741f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from flinttech-x402.f1intt3ch.workers.dev](https://www.zero.xyz/host/flinttech-x402.f1intt3ch.workers.dev/llms.txt)
