F

Forgemesh · Government Contracts BY Company

by Forgemesh

POSTBase

$0.01

per call · USD Coin on Base

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.

Endpoint

POST https://x402.forgemesh.io/government-contracts-by-company

1

Calls / 30d

1

Unique payers / 30d

Aug 20

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.forgemesh.io/government-contracts-by-company", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "limit": 5,
    "recipient": "Palantir"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://x402.forgemesh.io/government-contracts-by-company" \
  -H "Content-Type: application/json" \
  -d '{"limit":5,"recipient":"Palantir"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

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

Payment details

Pay to0x850363a27f0ac6feb9c7a3ec4c1d295262df9432
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Data & Enrichment and the homepage with a featured placement.

Get featured →

More from Forgemesh & similar services