82trust / 100

Stats Opportunities

by api.govparse.io in Onchain & crypto

x402 APIPassing, checked 2 h ago

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.

GET https://api.govparse.io/v1/stats/opportunities

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
268 ms typical, 268 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.govparse.io/v1/stats/opportunities"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.govparse.io%2Fv1%2Fstats%2Fopportunities
const res = await pay("https://api.govparse.io/v1/stats/opportunities");
console.log(await res.json());

Example input

{}

Example output

{
  "active_contract_opportunities": 78811,
  "awards_on_file": 100000,
  "awards_total_amount_usd": 812345678901.5,
  "contract_opportunities_with_open_deadline": 31204,
  "grant_opportunities": {
    "forecasted": 508,
    "posted": 1279
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402270 ms$0.001
7 h agoPassed402268 ms$0.001