# Govparse Federal Opportunities Stats

> Govparse Federal Opportunities Stats is a paid API for AI agents from api.govparse.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns headline aggregate counts and dollar totals across SAM.gov contract opportunities, Grants.gov grant opportunities, and USAspending award records currently in the Govparse dataset.

## Facts

- Endpoint: GET https://api.govparse.io/v1/stats/opportunities
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/govparse-federal-opportunities-stats-e4d79678
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wSmJuGTZJeHayFfX7JtES

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 govparse-federal-opportunities-stats-e4d79678
```

Example prompt: Give me a quick snapshot of the federal opportunity landscape right now — how many SAM.gov contracts are active, how many still have open deadlines, what the Grants.gov posted vs forecasted split looks like, and the total dollar amount of USAspending award records on file.

## When to prefer this

Choose this endpoint when you need a fast, no-parameter summary of the current scale of the federal opportunity market across all three major sources (SAM.gov, Grants.gov, USAspending) in a single call. Prefer it over search endpoints when you do not need individual records but just want market-level counts and dollar totals — for dashboards, briefings, or trend monitoring.

## Known failure modes

- Service unavailable (503) if the Govparse Agent Gateway is down
- Stale counts if the underlying dataset ingestion pipeline has not refreshed recently
- Unexpected null or zero values if a source feed (SAM.gov, Grants.gov, USAspending) is temporarily unavailable
- Payment failure (402) if the x402 micropayment of $0.001 USDC is not completed

## How this service works

How much open federal money is in the dataset right now? Headline aggregates: active SAM.gov contract opportunities (and how many still have an open deadline), Grants.gov opportunities by status (posted vs forecasted), and USAspending award records on file with their total dollar amount.

## Output

A JSON object with headline aggregate statistics: count of active SAM.gov contract opportunities and the subset with open deadlines, Grants.gov opportunity counts broken out by posted vs forecasted status, and total count plus cumulative dollar value of USAspending award records currently indexed in the Govparse dataset.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "properties": {}
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/govparse-federal-opportunities-stats-e4d79678/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.govparse.io](https://www.zero.xyz/host/api.govparse.io/llms.txt)
