X

X402stock · GOV Contracts

by X402stock

GETBase

$0.02

per call · USD Coin on Base

Federal contract and grant awards to a US company, from USAspending.gov. Pass `?recipient=Lockheed Martin` (required, fuzzy name match) plus optional `?award_type=contracts|grants|all`, `?order=amount|date`, `?limit=` (max 50). Each award carries the award id, amount, awarding agency, period of performance, description, and a usaspending.gov link, with a total. A government-spending catalyst.

Endpoint

GET https://x402stock.xyz/api/v1/gov-contracts

1

Calls / 30d

1

Unique payers / 30d

Aug 17

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://x402stock.xyz/api/v1/gov-contracts", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402stock.xyz/api/v1/gov-contracts?award_type=contracts&limit=20&order=amount&recipient=Lockheed+Martin" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "as_of": "2026-06-05T12:00:00.000Z",
  "attribution": "Source: USAspending.gov (U.S. Department of the Treasury, Bureau of the Fiscal Service)",
  "award_type": "contracts",
  "awards": [
    {
      "amount": 48063763681.32,
      "award_id": "DEAC0494AL85000",
      "awarding_agency": "Department of Energy",
      "awarding_sub_agency": "Department of Energy",
      "description": null,
      "end_date": "2017-04-30",
      "recipient": "LOCKHEED MARTIN CORP",
      "start_date": "1993-10-15",
      "url": "https://www.usaspending.gov/award/CONT_AWD_DEAC0494AL85000_8900_-NONE-_-NONE-"
    },
    {
      "amount": 35135514910.2,
      "award_id": "N0001917C0001",
      "awarding_agency": "Department of Defense",
      "awarding_sub_agency": "Department of the Navy",
      "description": "LRIP LOT 12 ADVANCE ACQUISITION CONTRACT",
      "end_date": "2031-03-31",
      "recipient": "LOCKHEED MARTIN CORPORATION",
      "start_date": "2017-11-17",
      "url": "https://www.usaspending.gov/award/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-"
    }
  ],
  "count": 2,
  "matched_recipients": [
    "LOCKHEED MARTIN CORPORATION",
    "LOCKHEED MARTIN CORP"
  ],
  "recipient": "Lockheed Martin",
  "source": "usaspending",
  "total_awarded": 83199278591.32
}

Payment details

Pay to0x3070fbb3803819fb5bdfe9286fdc6325a877fa85
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from X402stock & similar services