# ScriptMasterLabs Federal Contract Opportunities API

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

Retrieves federal contract opportunities and award data from USASpending/SAM.gov, filterable by agency, NAICS code, keyword, and source type, settled via x402 micropayment in USDC.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/federal-contract-opportunities?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-federal-contract-opportunities-api-80e480c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9gYyCB1ZWwmjkvhwfvgiW

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-80e480c5
```

Example prompt: Search federal contract awards for cybersecurity-related opportunities from the Department of Veterans Affairs — pull the top 10 results using the awards source.

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to federal contract opportunities or award data filtered by agency, NAICS code, or keyword without subscribing to a full data platform. Ideal for agents doing government market research, procurement intelligence, or compliance checks where micro-payment economics ($0.001/call) are preferred over subscription APIs. Choose this over SAM.gov direct API when you need a simple REST interface with x402 crypto settlement.

## Known failure modes

- No results returned for obscure NAICS codes or agencies with no recent awards
- Invalid NAICS code format causes empty or error response
- Payment failure via x402 if USDC balance is insufficient or Base network is congested
- Rate limiting or service unavailability on the underlying render.com host
- Source parameter set to unsupported value returns empty dataset
- Keyword too broad returns truncated or low-relevance results

## 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 query filters, including details such as agency, contract title, NAICS code, award amounts, and relevant procurement metadata. Results are limited to the top_n specified (default 20).

## 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-80e480c5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
