# ForgeMesh Government Contracts by Company

> ForgeMesh Government Contracts by Company is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Looks up US federal contract awards won by a named company, returning structured JSON with dollar amounts, awarding agencies, dates, descriptions, and USAspending.gov links sorted largest first.

## Facts

- Endpoint: POST https://x402.forgemesh.io/government-contracts-by-company?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-government-contracts-by-company-cd4e62ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C7_R0_GgAp2vXX8ZLENCi

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 forgemesh-government-contracts-by-company-cd4e62ec -d '<json body>'
```

Example prompt: Pull up all the federal government contracts that Palantir has won from the Department of Defense — show me the top 10 sorted by dollar amount, going back to 2020.

## When to prefer this

Choose this endpoint when you need structured, filterable federal contract data for a specific company — especially when you want dollar amounts, agency breakdowns, and date ranges in a single call. Prefer this over manual USAspending.gov searches when building automated research pipelines, competitive analyses, or vendor due-diligence workflows. It is distinct from endpoints that look up state/local contracts, grants, or general company financial data.

## Known failure modes

- Company name too short (under 3 characters) returns a validation error
- No matching awards found returns an empty awards array
- Invalid ISO date format for since/until returns a parsing error
- Unknown or misspelled agency name may return zero results without error
- Rate limiting or payment failure returns a 402 or 429 response
- Very common company names may return unrelated entities with similar names

## How this service works

What contracts has a company won from the US government: pass a company name and get its federal contract awards — dollar amounts, awarding agencies, start and end dates, award descriptions, and record links — as structured JSON sorted largest first. Optionally narrow to one agency or a date window.

## Output

A JSON object containing the query parameters echoed back, an array of award objects (each with award_id, recipient, amount_usd, awarding_agency, awarding_sub_agency, start_date, end_date, description, and award_url linking to USAspending.gov), a count of returned records, and attribution to USAspending.gov. Results are sorted by award amount descending.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "maximum": 50,
   "minimum": 1
  },
  "since": {
   "type": "string",
   "description": "ISO start date (default: 2 years back)"
  },
  "until": {
   "type": "string",
   "description": "ISO end date (default: today)"
  },
  "agency": {
   "type": "string",
   "description": "awarding top-tier agency name, e.g. 'Department of Defense'"
  },
  "recipient": {
   "type": "string",
   "description": "company name, min 3 chars (required)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": {
   "recipient": "Palantir"
  },
  "awards": [
   {
    "award_id": "W56KGY18C0184",
    "end_date": "2026-03-08",
    "award_url": "https://www.usaspending.gov/award/CONT_AWD_...",
    "recipient": "PALANTIR TECHNOLOGIES INC.",
    "amount_usd": 823000000,
    "start_date": "2018-03-09",
    "description": "ARMY INTELLIGENCE DATA PLATFORM",
    "awarding_agency": "Department of Defense",
    "awarding_sub_agency": "Department of the Army"
   }
  ],
  "returned": 5,
  "attribution": "USAspending.gov (public domain)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-government-contracts-by-company-cd4e62ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
