# ForgeMesh Government Contract Lookup

> ForgeMesh Government Contract Lookup is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Looks up US federal government contract awards for a given company, returning structured award records with amounts, agencies, dates, descriptions, and USAspending.gov URLs.

## Facts

- Endpoint: POST https://x402.forgemesh.io/gov-contract-lookup
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-government-contract-lookup-17eed9c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eLiQPAxLKYg17FP3w-YU_

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-contract-lookup-17eed9c0 -d '<json body>'
```

Example prompt: Can you pull up all the federal government contracts awarded to Palantir in the last two years, especially anything from the Department of Defense? Show me the amounts, dates, and descriptions.

## When to prefer this

Choose this endpoint when you need structured, per-award federal contracting data for a specific company, including amounts, agencies, and dates, sourced from USAspending.gov. Prefer it over manual USAspending searches when operating in an agent workflow that requires machine-readable output. It is especially useful for vendor due diligence, competitive intelligence on federal contractors, and verifying government revenue claims. Use the agency filter to narrow results to a specific department when broad results would be noisy.

## Known failure modes

- Recipient name too short (under 3 characters) — validation error
- Company name matches no records in USAspending — empty awards array returned
- Invalid ISO date format for since/until — parsing error
- Agency name does not match a recognized top-tier agency — may return no results or broad results
- Limit exceeds maximum of 50 — capped or rejected
- Payment failure (x402 protocol) — 402 response before data is returned

## How this service works

Government contract lookup for agents: recipient company in, structured award list out — id, amount, agency, sub-agency, dates, description, and a canonical record URL per award. Defaults to the last two years; pass since/until for other windows and agency to narrow to one department.

## Output

A JSON object containing the queried recipient name, a list of up to 50 award records (each with award ID, recipient legal name, award amount in USD, awarding agency, awarding sub-agency, start and end dates, a plain-language description, and a canonical USAspending.gov URL), the count of returned records, and attribution to USAspending.gov.

## 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-contract-lookup-17eed9c0/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)
