# SAM gov Contract Opportunities

> US federal contract opportunities as JSON: title, agency, type, deadlines, links

- Vendor: `samgovopportunities` · version 1.0 · category Government Data · tags sam.gov, government contracts, tenders, procurement, us federal
- Datasource: custom HTTP routes
- Marketplace page: https://apiclay.com/api/samgovopportunities
- This document: https://apiclay.com/docs/samgovopportunities.md
- OpenAPI 3.1: https://apiclay.com/api/samgovopportunities/openapi.json
- MCP: connect https://api.apiclay.com/v1/mcp (see https://apiclay.com/llms.txt), then `apiclay_describe_api` with vendor `samgovopportunities`
- Updated: 2026-11-18

## About

## SAM.gov Contract Opportunities

Search active US federal contract opportunities published on SAM.gov, as clean JSON.

### Routes

#### /opportunities

Opportunities for a search: id, title, solicitation_number, type, agency, office, posted, response_deadline, modified, description, url, plus total. Newest first; page starts at 0, size up to 100.

```bash
curl -G 'https://api.apiclay.com/v1/api/samgovopportunities/opportunities' -H 'token: YOUR_TOKEN' --data-urlencode 'q=software' --data-urlencode 'page=0' --data-urlencode 'size=10'
```

### Notes

US government data from SAM.gov (public domain). Dun &amp; Bradstreet fields are not included. Not affiliated with or endorsed by GSA.

## Pricing

- Pay as you go: 0.0012 credits/request
- Trial: 10 free requests per buyer
- Billing order: trial requests -> subscribed plan requests -> pay as you go. 1 credit's USD value is shown on the marketplace page.

## HTTP routes

Only the public, buyer-facing parts of each route are listed; vendor-side credentials stay on the gateway.

### GET /opportunities — Search contract opportunities
- Gateway: `GET https://api.apiclay.com/v1/api/samgovopportunities/opportunities`
- Public query params: `q` (string, required), `page` (string), `size` (string)
- Upstream proxy: ApiClay proxy paid by the vendor (data cap 2 MB per call). Fetched through an ApiClay proxy paid by the vendor; a response larger than the route's data cap fails with 502 and is refunded in full.

## Call example

```bash
curl -X GET "https://api.apiclay.com/v1/api/samgovopportunities/opportunities?q=<q>" \
  -H "token: <YOUR_APICLAY_TOKEN>"
```

Index of every published API: https://apiclay.com/llms.txt
