# 2s.io US Federal Government Spending by Stock Ticker

> 2s.io US Federal Government Spending by Stock Ticker is a paid API for AI agents from 2s.io, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-14).

Returns US federal government contract and grant awards made to a public company, sourced from USAspending.gov, filterable by date range.

## Facts

- Endpoint: GET https://2s.io/api/stocks/gov-spending
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-us-federal-government-spending-by-stock-ticker-edae242a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wkRVID5y4UyBuo3szOcTd

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 2s-io-us-federal-government-spending-by-stock-ticker-edae242a
```

Example prompt: How much federal money has Lockheed Martin (ticker LMT) received in government awards from 2022-01-01 to 2024-01-01 — break it down by awarding agency and show the obligated and outlayed amounts?

## When to prefer this

Use this endpoint when you need to look up US federal government contract and grant spending awarded to a specific publicly traded US company by ticker symbol. It is ideal for government contracting research, defense sector analysis, ESG/political risk assessments, or any scenario where you need to understand how much federal money flows to a particular public company. Prefer this over general web search when you need structured, per-award financial data with agency attribution.

## Known failure modes

- Unknown or invalid ticker returns empty results or an error
- Date range too narrow may return no awards
- Non-US-listed tickers may not be found in USAspending data
- USAspending data may lag real-time by days or weeks
- Rate limiting or payment failure returns 402 or 429 error

## How this service works

US federal government spending awarded to a public company (sourced from USAspending). Pass ticker and optionally a from/to window (YYYY-MM-DD; defaults to ~2 years); returns each award with the recipient (and parent), awarding agency/sub-agency, obligated/outlayed/potential/total values in USD, action date, and period of performance. Use it to see how much federal money flows to a company. Data by Finnhub.

## Output

A list of federal award records for the specified company, each containing the recipient name and parent entity, the awarding agency and sub-agency, obligated/outlayed/potential/total dollar values in USD, the action date, and the period of performance start and end dates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "ticker"
     ],
     "properties": {
      "ticker": {
       "type": "string",
       "description": "US-listed ticker, e.g. LMT."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-us-federal-government-spending-by-stock-ticker-edae242a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
