# AutoScrape SAM.gov Contract Opportunities API

> AutoScrape SAM.gov Contract Opportunities API is a paid API for AI agents from autoscrape-api-seven.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Searches and retrieves federal contract opportunity notices from SAM.gov by keyword, NAICS code, state, set-aside type, and date range.

## Facts

- Endpoint: GET https://autoscrape-api-seven.vercel.app/x402/v1/sam-gov-contract-opportunities
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/autoscrape-sam-gov-contract-opportunities-api-1f441c93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2DM15rimpbr-80cPZt_7L

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 autoscrape-sam-gov-contract-opportunities-api-1f441c93
```

Example prompt: Search SAM.gov for active federal contract opportunities related to 'cybersecurity' in Virginia, posted after 2025-01-01, for NAICS code 541512, and return up to 5 results.

## When to prefer this

Use this endpoint when an AI agent or workflow needs to discover federal contracting opportunities from SAM.gov without requiring a SAM.gov API key, especially for keyword-driven searches filtered by geography, industry code, set-aside type, or date range. Ideal for small businesses, GovCon BD teams, or automated procurement monitoring pipelines that need structured, machine-readable opportunity data at low cost ($0.01 per call).

## Known failure modes

- No results returned if keyword matches no active notices
- Results capped at 10 per request regardless of maxResults input
- Invalid or unrecognized NAICS codes may return empty result sets
- Malformed date strings may cause query errors or no filtering
- SAM.gov data freshness depends on upstream sync timing

## How this service works

No-key evaluation APIs for public data and utilities: business filings, permits, bankruptcy dockets, NPI providers, HTTP status checks, sitemap URL extraction, SEC EDGAR, IRS 990, WHOIS, and validation. Paid x402 access is live.

## Output

Returns a JSON object with a count of matching notices, a results array containing opportunity title, notice ID, NAICS code, SAM.gov direct link, and active status for each result, plus a setupStatus field indicating data availability.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "results": [
   {
    "active": true,
    "noticeId": "example",
    "naicsCode": "238160",
    "samGovLink": "https://sam.gov/opp/example/view",
    "opportunityTitle": "Roof Replacement"
   }
  ],
  "setupStatus": "found"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/autoscrape-sam-gov-contract-opportunities-api-1f441c93/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from autoscrape-api-seven.vercel.app](https://www.zero.xyz/host/autoscrape-api-seven.vercel.app/llms.txt)
