curl --request POST \
--url https://api.aisa.one/apis/v1/sam-gov/opportunities/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"include_details": false,
"page_size": 2,
"query": "cybersecurity"
}
'import requests
url = "https://api.aisa.one/apis/v1/sam-gov/opportunities/search"
payload = {
"include_details": False,
"page_size": 2,
"query": "cybersecurity"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({include_details: false, page_size: 2, query: 'cybersecurity'})
};
fetch('https://api.aisa.one/apis/v1/sam-gov/opportunities/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/sam-gov/opportunities/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'include_details' => false,
'page_size' => 2,
'query' => 'cybersecurity'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/sam-gov/opportunities/search"
payload := strings.NewReader("{\n \"include_details\": false,\n \"page_size\": 2,\n \"query\": \"cybersecurity\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/sam-gov/opportunities/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"include_details\": false,\n \"page_size\": 2,\n \"query\": \"cybersecurity\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sam-gov/opportunities/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"include_details\": false,\n \"page_size\": 2,\n \"query\": \"cybersecurity\"\n}"
response = http.request(request)
puts response.read_body{
"complete": true,
"next_cursor": "s1:1:2:c88f395baad286d7:1788986400",
"page": {
"max_records": 10000,
"number": 0,
"size": 2,
"total_pages": 458
},
"records": [
{
"agency": {
"id": "100000000",
"name": "DEPT OF DEFENSE"
},
"archive": null,
"attachments": [],
"attachments_retrieved": false,
"award": null,
"classification_code": null,
"description": "The Naval Air Warfare Center Aircraft Division (NAWC-AD) is officially releasing a Request for Quote (RFQ) for a Firm Fixed Price (FFP) contract on a competitive basis for the procurement of one (1) Cart Adapter, P/N 70700-77200-041, in supp",
"description_is_excerpt": true,
"detail_level": "summary",
"history": null,
"is_active": true,
"is_amendment": false,
"is_archived": null,
"is_cancelled": false,
"is_latest": null,
"latest_opportunity_id": null,
"modification_count": 0,
"naics_codes": [],
"notice_type": "solicitation",
"notice_type_code": "o",
"notice_type_label": "Solicitation",
"office": {
"id": "100255266",
"name": "NAVAIR WARFARE CTR AIRCRAFT DIV"
},
"opportunity_id": "d4b105e622e348b8ad8af095acaa7648",
"organization_hierarchy": [
{
"code": "9700",
"id": "100000000",
"level": 1,
"name": "DEPT OF DEFENSE",
"type": "DEPARTMENT"
},
{
"code": "1700",
"id": "300000188",
"level": 2,
"name": "DEPT OF THE NAVY",
"type": "AGENCY"
},
{
"code": "NAVAIR",
"id": "100005067",
"level": 3,
"name": "NAVAIR",
"type": "MAJOR COMMAND"
},
{
"code": "NAVAIR NAWC AD",
"id": "100005150",
"level": 4,
"name": "NAVAIR NAWC AD",
"type": "SUB COMMAND"
},
{
"code": "N68335",
"id": "100255266",
"level": 5,
"name": "NAVAIR WARFARE CTR AIRCRAFT DIV",
"type": "OFFICE"
}
],
"parent_opportunity_id": null,
"place_of_performance": null,
"points_of_contact": [],
"previous_opportunity_id": null,
"published_at": "2026-09-09T19:14:30Z",
"response_deadline": "2026-10-01T19:00:00Z",
"response_deadline_date": "2026-10-01",
"response_deadline_local": "2026-10-01T15:00:00-04:00",
"response_timezone": "America/New_York",
"set_aside": null,
"set_aside_label": null,
"solicitation_number": "N6833526Q1069",
"source_status": "active",
"source_url": "https://sam.gov/opp/d4b105e622e348b8ad8af095acaa7648/view",
"status": "open",
"title": "Cart Adapter",
"updated_at": "2026-09-09T19:14:30Z",
"version": null
},
{
"agency": {
"id": "100000000",
"name": "DEPT OF DEFENSE"
},
"archive": null,
"attachments": [],
"attachments_retrieved": false,
"award": null,
"classification_code": null,
"description": "**Amendment 0002**\n\nThis amendment is answer questions received by contactors (see Q&A attachment) and to revise the PWS (changes are in red on attachment) and are as follows:\n\nThe Contractor shall provi",
"description_is_excerpt": true,
"detail_level": "summary",
"history": null,
"is_active": true,
"is_amendment": true,
"is_archived": null,
"is_cancelled": false,
"is_latest": null,
"latest_opportunity_id": null,
"modification_count": 2,
"naics_codes": [],
"notice_type": "combined_synopsis_solicitation",
"notice_type_code": "k",
"notice_type_label": "Combined Synopsis/Solicitation",
"office": {
"id": "500020367",
"name": "FA8601 AFLCMC PZIO"
},
"opportunity_id": "e4b01867044a4f0b9b56d506297ba84b",
"organization_hierarchy": [
{
"code": "9700",
"id": "100000000",
"level": 1,
"name": "DEPT OF DEFENSE",
"type": "DEPARTMENT"
},
{
"code": "5700",
"id": "300000251",
"level": 2,
"name": "DEPT OF THE AIR FORCE",
"type": "AGENCY"
},
{
"code": "AFMC",
"id": "100000570",
"level": 3,
"name": "AIR FORCE MATERIEL COMMAND",
"type": "MAJOR COMMAND"
},
{
"code": "AFLCMC",
"id": "100000997",
"level": 4,
"name": "AIR FORCE LIFE CYCLE MANAGEMENT CENTER",
"type": "SUB COMMAND"
},
{
"code": "FA8601",
"id": "500020367",
"level": 5,
"name": "FA8601 AFLCMC PZIO",
"type": "OFFICE"
}
],
"parent_opportunity_id": "a9da8c51e84a4b72a9897a6f483845e3",
"place_of_performance": null,
"points_of_contact": [],
"previous_opportunity_id": null,
"published_at": "2026-09-09T19:05:08Z",
"response_deadline": "2026-09-15T16:00:00Z",
"response_deadline_date": "2026-09-15",
"response_deadline_local": "2026-09-15T12:00:00-04:00",
"response_timezone": "America/New_York",
"set_aside": null,
"set_aside_label": null,
"solicitation_number": "FA860126Q0141",
"source_status": "active",
"source_url": "https://sam.gov/opp/e4b01867044a4f0b9b56d506297ba84b/view",
"status": "open",
"title": "HVAC CLEANING",
"updated_at": "2026-09-09T19:05:08Z",
"version": null
}
],
"retrieved_at": "2026-09-09T00:00:00Z",
"schema_version": "1.0.0",
"source_updated_at": null,
"source_url": "https://sam.gov/api/prod/sgs/v1/search/?index=opp&mode=search&q=cybersecurity&page=0&size=2&sort=-modifiedDate&is_active=true",
"total_count": 916,
"upstream_requests": 1,
"warnings": [
"include_details=false: naics_codes, set_aside, place_of_performance and attachments are not populated on summary records"
]
}Search
Search SAM.gov contract opportunities by keyword, agency, notice status, publication date, NAICS, set-aside, notice type and response deadline. Returns one page (default 20, max 100) with an opaque cursor for the next page. By default each hit is enriched with its full notice detail (NAICS, set-aside, place of performance, full description).
curl --request POST \
--url https://api.aisa.one/apis/v1/sam-gov/opportunities/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"include_details": false,
"page_size": 2,
"query": "cybersecurity"
}
'import requests
url = "https://api.aisa.one/apis/v1/sam-gov/opportunities/search"
payload = {
"include_details": False,
"page_size": 2,
"query": "cybersecurity"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({include_details: false, page_size: 2, query: 'cybersecurity'})
};
fetch('https://api.aisa.one/apis/v1/sam-gov/opportunities/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/sam-gov/opportunities/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'include_details' => false,
'page_size' => 2,
'query' => 'cybersecurity'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/sam-gov/opportunities/search"
payload := strings.NewReader("{\n \"include_details\": false,\n \"page_size\": 2,\n \"query\": \"cybersecurity\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/sam-gov/opportunities/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"include_details\": false,\n \"page_size\": 2,\n \"query\": \"cybersecurity\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/sam-gov/opportunities/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"include_details\": false,\n \"page_size\": 2,\n \"query\": \"cybersecurity\"\n}"
response = http.request(request)
puts response.read_body{
"complete": true,
"next_cursor": "s1:1:2:c88f395baad286d7:1788986400",
"page": {
"max_records": 10000,
"number": 0,
"size": 2,
"total_pages": 458
},
"records": [
{
"agency": {
"id": "100000000",
"name": "DEPT OF DEFENSE"
},
"archive": null,
"attachments": [],
"attachments_retrieved": false,
"award": null,
"classification_code": null,
"description": "The Naval Air Warfare Center Aircraft Division (NAWC-AD) is officially releasing a Request for Quote (RFQ) for a Firm Fixed Price (FFP) contract on a competitive basis for the procurement of one (1) Cart Adapter, P/N 70700-77200-041, in supp",
"description_is_excerpt": true,
"detail_level": "summary",
"history": null,
"is_active": true,
"is_amendment": false,
"is_archived": null,
"is_cancelled": false,
"is_latest": null,
"latest_opportunity_id": null,
"modification_count": 0,
"naics_codes": [],
"notice_type": "solicitation",
"notice_type_code": "o",
"notice_type_label": "Solicitation",
"office": {
"id": "100255266",
"name": "NAVAIR WARFARE CTR AIRCRAFT DIV"
},
"opportunity_id": "d4b105e622e348b8ad8af095acaa7648",
"organization_hierarchy": [
{
"code": "9700",
"id": "100000000",
"level": 1,
"name": "DEPT OF DEFENSE",
"type": "DEPARTMENT"
},
{
"code": "1700",
"id": "300000188",
"level": 2,
"name": "DEPT OF THE NAVY",
"type": "AGENCY"
},
{
"code": "NAVAIR",
"id": "100005067",
"level": 3,
"name": "NAVAIR",
"type": "MAJOR COMMAND"
},
{
"code": "NAVAIR NAWC AD",
"id": "100005150",
"level": 4,
"name": "NAVAIR NAWC AD",
"type": "SUB COMMAND"
},
{
"code": "N68335",
"id": "100255266",
"level": 5,
"name": "NAVAIR WARFARE CTR AIRCRAFT DIV",
"type": "OFFICE"
}
],
"parent_opportunity_id": null,
"place_of_performance": null,
"points_of_contact": [],
"previous_opportunity_id": null,
"published_at": "2026-09-09T19:14:30Z",
"response_deadline": "2026-10-01T19:00:00Z",
"response_deadline_date": "2026-10-01",
"response_deadline_local": "2026-10-01T15:00:00-04:00",
"response_timezone": "America/New_York",
"set_aside": null,
"set_aside_label": null,
"solicitation_number": "N6833526Q1069",
"source_status": "active",
"source_url": "https://sam.gov/opp/d4b105e622e348b8ad8af095acaa7648/view",
"status": "open",
"title": "Cart Adapter",
"updated_at": "2026-09-09T19:14:30Z",
"version": null
},
{
"agency": {
"id": "100000000",
"name": "DEPT OF DEFENSE"
},
"archive": null,
"attachments": [],
"attachments_retrieved": false,
"award": null,
"classification_code": null,
"description": "**Amendment 0002**\n\nThis amendment is answer questions received by contactors (see Q&A attachment) and to revise the PWS (changes are in red on attachment) and are as follows:\n\nThe Contractor shall provi",
"description_is_excerpt": true,
"detail_level": "summary",
"history": null,
"is_active": true,
"is_amendment": true,
"is_archived": null,
"is_cancelled": false,
"is_latest": null,
"latest_opportunity_id": null,
"modification_count": 2,
"naics_codes": [],
"notice_type": "combined_synopsis_solicitation",
"notice_type_code": "k",
"notice_type_label": "Combined Synopsis/Solicitation",
"office": {
"id": "500020367",
"name": "FA8601 AFLCMC PZIO"
},
"opportunity_id": "e4b01867044a4f0b9b56d506297ba84b",
"organization_hierarchy": [
{
"code": "9700",
"id": "100000000",
"level": 1,
"name": "DEPT OF DEFENSE",
"type": "DEPARTMENT"
},
{
"code": "5700",
"id": "300000251",
"level": 2,
"name": "DEPT OF THE AIR FORCE",
"type": "AGENCY"
},
{
"code": "AFMC",
"id": "100000570",
"level": 3,
"name": "AIR FORCE MATERIEL COMMAND",
"type": "MAJOR COMMAND"
},
{
"code": "AFLCMC",
"id": "100000997",
"level": 4,
"name": "AIR FORCE LIFE CYCLE MANAGEMENT CENTER",
"type": "SUB COMMAND"
},
{
"code": "FA8601",
"id": "500020367",
"level": 5,
"name": "FA8601 AFLCMC PZIO",
"type": "OFFICE"
}
],
"parent_opportunity_id": "a9da8c51e84a4b72a9897a6f483845e3",
"place_of_performance": null,
"points_of_contact": [],
"previous_opportunity_id": null,
"published_at": "2026-09-09T19:05:08Z",
"response_deadline": "2026-09-15T16:00:00Z",
"response_deadline_date": "2026-09-15",
"response_deadline_local": "2026-09-15T12:00:00-04:00",
"response_timezone": "America/New_York",
"set_aside": null,
"set_aside_label": null,
"solicitation_number": "FA860126Q0141",
"source_status": "active",
"source_url": "https://sam.gov/opp/e4b01867044a4f0b9b56d506297ba84b/view",
"status": "open",
"title": "HVAC CLEANING",
"updated_at": "2026-09-09T19:05:08Z",
"version": null
}
],
"retrieved_at": "2026-09-09T00:00:00Z",
"schema_version": "1.0.0",
"source_updated_at": null,
"source_url": "https://sam.gov/api/prod/sgs/v1/search/?index=opp&mode=search&q=cybersecurity&page=0&size=2&sort=-modifiedDate&is_active=true",
"total_count": 916,
"upstream_requests": 1,
"warnings": [
"include_details=false: naics_codes, set_aside, place_of_performance and attachments are not populated on summary records"
]
}Request contract
- Method and path: POST /apis/v1/sam-gov/opportunities/search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/sam-gov/opportunities/search
{
"operationId": "sam-gov.opportunities.search",
"method": "POST",
"path": "/apis/v1/sam-gov/opportunities/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"include_details": false,
"page_size": 2,
"query": "cybersecurity"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"agency_ids": {
"description": "SAM.gov federal organization ids at any hierarchy level (100000000 = Dept of Defense, 300000188 = Dept of the Navy, 100006688 = Dept of Veterans Affairs). Matched as OR.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"cursor": {
"description": "Opaque cursor from a previous response's next_cursor. Bound to the same filters and page_size; valid for 24 hours; then cursor_expired.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"include_attachments": {
"description": "Also list each notice's attachments (one more upstream request per record). Requires include_details and page_size <= 50.",
"type": "boolean",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"include_details": {
"description": "Fetch each hit's notice detail (one extra upstream request per record) so naics_codes, set_aside, place_of_performance and the full description are populated. false returns summary records with detail_level=summary.",
"type": "boolean",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"naics_codes": {
"description": "NAICS codes or prefixes (2 to 6 digits). Matched as OR.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"notice_types": {
"description": "Notice types (SAM.gov codes p,o,k,a,r,s,i,g,u,f,l). Empty = all.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"page_size": {
"default": 20,
"description": "Records per page. At most 50 when include_attachments is true.\n\nProvider reference: minimum 1; maximum 100; default 20.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100,
"min": 1
}
},
"published_from": {
"description": "Inclusive lower bound (YYYY-MM-DD, US Eastern calendar day) on the notice's latest publication/modification date. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"published_to": {
"description": "Inclusive upper bound (YYYY-MM-DD). Must not be before published_from. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"query": {
"default": "",
"description": "Keyword query matched against title, solicitation number and description. Multi-word queries combine per query_mode (default: every word must match). Empty matches everything.\n\nProvider reference: default \"\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"query_mode": {
"default": "all",
"description": "How the words of query must match, as SAM.gov's own keyword search offers them (upstream qMode): all = every word (SAM.gov's default), any = at least one word, exact = the phrase as written.\n\nProvider reference: allowed values [\"all\", \"any\", \"exact\"]; default \"all\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"all",
"any",
"exact"
]
}
},
"response_deadline_from": {
"description": "Inclusive lower bound (YYYY-MM-DD) on the response deadline.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"response_deadline_to": {
"description": "Inclusive upper bound (YYYY-MM-DD) on the response deadline.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"set_asides": {
"description": "SAM.gov set-aside codes (SBA = total small business, 8A, HZC = HUBZone, SDVOSBC, WOSB, EDWOSB, ...). Matched as OR.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"sort": {
"default": "updated_desc",
"description": "sort\n\nProvider reference: allowed values [\"updated_desc\", \"updated_asc\", \"relevance\", \"deadline_asc\", \"deadline_desc\"]; default \"updated_desc\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"updated_desc",
"updated_asc",
"relevance",
"deadline_asc",
"deadline_desc"
]
}
},
"statuses": {
"description": "Notice status as SAM.gov indexes it. active = accepting responses / not yet archived; inactive = archived. Both = no status filter.",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
Search SAM.gov contract opportunities by keyword, agency, notice status, publication date, NAICS, set-aside, notice type and response deadline. Returns one page (default 20, max 100) with an opaque cursor for the next page. By default each hit is enriched with its full notice detail (NAICS, set-aside, place of performance, full description).
The response contains the tool result directly.
The provider identifies records as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
agency | object | Top-level department (hierarchy level 1). |
archive | object | When SAM.gov will/did archive the notice (auto15 = 15 days after the deadline, autocustom = the given date, manual). |
attachments | object[] | |
attachments_retrieved | boolean | false means the attachment list was not requested; an empty list with true means the notice has none. |
award | object | |
classification_code | string | Product/service code (PSC). |
description | string | Plain text (HTML stripped). An excerpt on summary records. |
description_is_excerpt | boolean | |
detail_level | string | |
history | object[] | Only with detail include_history=true; newest version first. |
is_active | boolean | |
is_amendment | boolean | |
is_archived | boolean | null on summary records (the search index does not expose it). |
is_cancelled | boolean | |
is_latest | boolean | false when a newer amendment supersedes this version; see latest_opportunity_id. |
latest_opportunity_id | string | |
modification_count | number | |
naics_codes | string[] | Empty on summary records (see detail_level) or when the notice lists none. |
notice_type | string | |
notice_type_code | string | SAM.gov single-letter code (p,o,k,a,r,s,i,g,u,f,l). |
notice_type_label | string | |
office | object | Deepest contracting office in the hierarchy. |
opportunity_id | string | SAM.gov notice id; stable for this published version. Amendments publish a new id whose parent_opportunity_id is the original. |
organization_hierarchy | object[] | |
parent_opportunity_id | string | Original notice id when this record is an amendment. |
place_of_performance | object | |
points_of_contact | object[] | |
previous_opportunity_id | string | |
published_at | string | When this version was published (UTC). |
response_deadline | string | Response due date-time in UTC. null when the notice has none (awards, many special notices) or when SAM.gov gives only a date or a time without an offset (then response_deadline_local and response_deadline_date still carry it) — not a zero or an empty string. |
response_deadline_date | string | Calendar date of the deadline in the notice's own timezone (the date shown on the SAM.gov page). |
response_deadline_local | string | The deadline exactly as SAM.gov stores it, with its own offset. |
response_timezone | string | |
set_aside | string | SAM.gov set-aside code, null when none. |
set_aside_label | string | |
solicitation_number | string | |
source_status | string | Raw source state: search index gives active|inactive[,canceled]; the notice API gives its status code (published) plus ,archived / ,cancelled flags. |
source_url | string | |
status | string | Normalized: cancelled if the notice was cancelled; open while SAM.gov lists it active/not archived (even past the deadline until the archive date); closed once inactive/archived. |
title | string | |
updated_at | string | |
version | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.