# OSF Federal Spending Search — Contracts, Solicitations & Grants

> OSF Federal Spending Search — Contracts, Solicitations & Grants is a paid API for AI agents from api.osf-master-server.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Search US federal spending data across USAspending contract awards, SAM.gov open solicitations, and Grants.gov opportunities in one unified keyword query.

## Facts

- Endpoint: GET https://api.osf-master-server.com/x402/gov/spending/:query
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/osf-federal-spending-search-contracts-solicitations-grants-02b141b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PeI5HqGyLI9zS5Hp76imG

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 osf-federal-spending-search-contracts-solicitations-grants-02b141b3
```

Example prompt: Can you search federal spending for 'maritime surveillance' and show me recent contract awards, open solicitations, and grant opportunities — including who the recipients are, dollar amounts, and links to the official sources?

## When to prefer this

Use this endpoint when you need a single-call aggregated view of US federal spending across all three major sources (awards, solicitations, grants) by keyword. Prefer this over querying USAspending, SAM.gov, or Grants.gov individually when doing govcon competitive intelligence, opportunity discovery, or recipient tracking.

## Known failure modes

- No results found for obscure or misspelled keywords — returns empty result set
- Query too broad returns noisy or truncated results
- SAM.gov or USAspending source temporarily unavailable — partial results returned
- Invalid or missing query parameter — returns 400 error
- Payment not processed — 402 response requiring x402 payment

## How this service works

Search US federal spending by keyword: contract awards (USAspending), open solicitations (SAM.gov), and grant funding opportunities (Grants.gov) in one call. Returns recipient or agency, dollar amount, dates, NAICS, and a provenance URL to the official source per match. For govcon market intelligence, competitor award tracking, and procurement agents.

## Output

Returns a unified list of matches across contract awards (USAspending), open solicitations (SAM.gov), and grant opportunities (Grants.gov), each with recipient or agency name, dollar amount, relevant dates, NAICS code, and a provenance URL linking back to the official government source record.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "description": "Keyword(s): recipient, agency, NAICS, program, or subject. E.g. 'radar navy' or 'maritime grant'."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/osf-federal-spending-search-contracts-solicitations-grants-02b141b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.osf-master-server.com](https://www.zero.xyz/host/api.osf-master-server.com/llms.txt)
