AI agent that checks a US government contractor before you hire it
The job
Before a prime signs a subcontractor, someone should look up what the public record says about it. This agent takes a company name or UEI, reads its federal contract record, pulls one named award for detail and then looks for a layoff notice, so a person gets a short evidence file instead of three open tabs.
Run it when a new teaming partner is proposed, and again before a large order. It is a screen, and a person still decides.
Tool calls, in order
1. POST /v1/govcon_vet
Start with the contractor itself. A UEI pins the exact legal entity; a bare name can match several firms.
What to read in the answer. Check how the company was matched, then the five year obligated total and how much of it one agency accounts for. A firm that earns most of its federal money from a single customer is exposed to that customer's budget.
curl -X POST https://api.foxapis.com/v1/govcon_vet \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"company":"K19NE1KN3EL5","mode":"snapshot"}'
A real answer (saved 2026-11-23)
The sample below was captured from the full mode; the snapshot returns fewer parts.
{
"contractor": {
"name": "Schwab Engineering, Inc.",
"uei": "K19NE1KN3EL5",
"matched_on": "uei",
"record_url": "https://www.usaspending.gov/recipient/ff993536-a457-6e19-b432-de87e1524527-C/latest"
},
"awards.total_5y": {
"amount_usd": 988347,
"contracts": 7,
"record_url": "https://www.usaspending.gov/recipient/ff993536-a457-6e19-b432-de87e1524527-C/latest"
},
"awards.top_agency": {
"agency": "Department of Veterans Affairs",
"obligated_usd": 988347,
"share_pct": 100,
"record_url": "https://www.usaspending.gov/recipient/ff993536-a457-6e19-b432-de87e1524527-C/latest"
},
"limits": "Contract awards only (not grants or loans). A company group can hold awards under several registrations; this report covers the one registration na..."
}2. POST /v1/contracts/award
A total hides what the work was. One award shows the description, the agency and branch, and the amount for that contract.
What to read in the answer. Compare the description with the job you want this firm to do. Similar work for a government buyer is better evidence than a large figure for something unrelated.
curl -X POST https://api.foxapis.com/v1/contracts/award \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"award_id":"g-l-bruno-associates-36c26126c0070"}'
A real answer (saved 2026-11-25)
{
"page": 1,
"as_of": "2026-11-25T20:37:24.540415+00:00",
"source": "US federal award records on USAspending.gov",
"status": "found",
"has_data": true,
"matched_on": "id",
"page_size": 5,
"total_matching": 1,
"records": [
{
"award_id": "36c26126c0070",
"award_number": "36C26126C0070",
"company": "G. L. BRUNO ASSOCIATES, INC.",
"recipient_uei": "QQK5GYAYT6M3",
"description": "IMPLEMENTING EO 14398 DEI DISCRIMINATION RENOVATE AND EXPAND CHILLED WATER INFRASTRUCTURE",
"agency": "Department of Veterans Affairs",
"branch": "Department of Veterans Affairs",
"amount_usd": 24342644,
"award_date": "2026-10-05",
"end_date": "2029-04-07",
"city": "FRESNO",
"state": "CA",
"source_url": "https://www.usaspending.gov/award/CONT_AWD_36C26126C0070_3600_-NONE-_-NONE-"
}
],
"attribution": "Federal award data from USAspending.gov. Business names and locations may include data supplied by Dun & Bradstreet, Inc."
}3. POST /v1/brand/record
State layoff notices are filed by the employer. A recent one near the team you are hiring is worth a question.
What to read in the answer. Read the notice date, the effective date, the number of employees and whether it is permanent. The notice is looked up by its id, which you take from a layoff page for that company.
curl -X POST https://api.foxapis.com/v1/brand/record \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"warn_notice_id":719}'
A real answer (saved 2026-11-25)
{
"as_of": "2026-11-25T07:04:54.853424+00:00",
"record": {
"city": "Redmond",
"type": "layoff",
"state": "WA",
"sec_cik": "789019",
"employees": 277,
"permanence": "permanent",
"source_url": "https://fortress.wa.gov/esd/file/WARN",
"notice_date": "2026-09-22",
"effective_date": "2026-11-21",
"warn_notice_id": 719,
"company_as_filed": "Microsoft",
"sec_match_confidence": "exact_name_same_state",
"notice_date_precision": "day"
},
"source": "US state WARN layoff notices",
"has_data": true,
"record_type": "layoff_notice"
}Instruction to paste into your agent
You screen a US government contractor for a hiring team. Call the contractor summary first. If the match is not exact, stop and list the candidates. Report federal totals with their record links, describe one relevant award in two sentences, and add any layoff notice you were given an id for. End with a list of what was not checked, headed Not checked.
Rules the agent should follow
- Stop and ask a person if the name matched more than one entity.
- Quote the record link beside every fact the agent repeats.
- Say not checked when a part of the answer says not checked. Never turn that into a pass.
What the agent hands back
A one screen evidence file: the matched legal name and UEI, five year federal obligations with the record link, the share held by the largest customer agency, one described award, and the layoff notice if there was one.
What a person still does
Before signing, a person checks the exclusion lists and registration on the official site, asks the firm for references from the award you described, and decides whether the dependence on one agency is acceptable for the size of work you are giving them.
Limits
- The sample answer marks registration and exclusions as not checked because that source is not connected, so this agent cannot tell you whether a firm is debarred. Check SAM.gov yourself.
- The contractor summary covers contract awards, not grants or loans.
- A layoff notice lookup needs a notice id. It does not search every state by company name.
Cost of one run
- The snapshot mode of step 1: 300 credits
POST /v1/contracts/award: 10 credits per recordPOST /v1/brand/record: 10 credits
Total for one pass, taking one record or lookup from each call above, in credits: 320. Repeating a call costs it again. What a credit costs · Get a free key
MCP setup
The live MCP server offers govcon_vet. It does not offer /v1/contracts/award, /v1/brand/record: call those over HTTP with the function definitions below. Add this to your MCP client's settings (Cursor reads .cursor/mcp.json; other clients use slightly different files), with your own key in place of YOUR_KEY.
{
"mcpServers": {
"foxapis-data": {
"url": "https://foxapis.com/mcp/data",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}
Function definitions (plain JSON)
Each entry names the function, its arguments and the HTTP request it stands for. Your code sends the request with the header Authorization: Bearer YOUR_KEY and returns the JSON to the agent.
[
{
"name": "govcon_vet",
"description": "Start with the contractor itself. A UEI pins the exact legal entity; a bare name can match several firms.",
"parameters": {
"type": "object",
"properties": {
"company": {
"type": "string"
},
"mode": {
"type": "string"
}
},
"required": [
"company"
]
},
"http": {
"method": "POST",
"url": "https://api.foxapis.com/v1/govcon_vet"
}
},
{
"name": "contracts_award",
"description": "A total hides what the work was. One award shows the description, the agency and branch, and the amount for that contract.",
"parameters": {
"type": "object",
"properties": {
"award_id": {
"type": "string"
}
},
"required": [
"award_id"
]
},
"http": {
"method": "POST",
"url": "https://api.foxapis.com/v1/contracts/award"
}
},
{
"name": "brand_record",
"description": "State layoff notices are filed by the employer. A recent one near the team you are hiring is worth a question.",
"parameters": {
"type": "object",
"properties": {
"warn_notice_id": {
"type": "integer"
}
},
"required": [
"warn_notice_id"
]
},
"http": {
"method": "POST",
"url": "https://api.foxapis.com/v1/brand/record"
}
}
]
Pages for these calls
More blueprints
Investor research agent · Release watch agent · New funding agent · Charity check agent · all of them