# ScriptMasterLabs Federal Contract Opportunities API

> ScriptMasterLabs Federal Contract Opportunities API is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Fetches federal contract opportunities and award data from SAM.gov or similar sources, filterable by NAICS code, agency, keyword, and result limit, settled via x402 micropayment in USDC on Base.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/federal-contract-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/scriptmasterlabs-federal-contract-opportunities-api-bca9564d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TPC_ivWVtpKEi1EcxOatg

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 scriptmasterlabs-federal-contract-opportunities-api-bca9564d
```

Example prompt: Find me the top 10 federal contract awards related to cybersecurity from the Department of Veterans Affairs — use the awards source and filter by NAICS code 541512.

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to federal contract opportunity or award data filtered by industry code, agency, or keyword without managing a SAM.gov API key. Ideal for AI agents that need lightweight, low-cost access to government procurement data settled in USDC via x402 micropayments, especially when building BD pipelines, compliance dashboards, or competitive intelligence tools around federal spending.

## Known failure modes

- No results returned if NAICS code or agency name is invalid or misspelled
- Payment failure if USDC balance is insufficient or x402 header is missing
- Rate limiting or timeout if upstream federal data source (SAM.gov/USASpending) is unavailable
- Empty response if keyword yields no matches in the selected source
- Invalid source value (anything other than 'awards' or supported enum) may return an error

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns a list of federal contract opportunities or awards matching the specified filters, including details such as agency name, contract value, NAICS code, description, and award metadata. Number of results is controlled by the limit/top_n parameters.

## 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": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "example": 10
      },
      "naics": {
       "type": "string",
       "example": "541512"
      },
      "top_n": {
       "type": "integer",
       "default": 20,
       "example": 10
      },
      "agency": {
       "type": "string",
       "example": "DEPARTMENT OF VETERANS AFFAIRS"
      },
      "source": {
       "type": "string",
       "default": "awards",
       "example": "awards"
      },
      "keyword": {
       "type": "string",
       "example": "cyber"
      }
     }
    }
   }
  },
  "output": {
   "properties": {
    "example": {}
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-federal-contract-opportunities-api-bca9564d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
