SAM.gov Contract Opportunities Scraper — Federal Contracts
Independent tool. Trademarks referenced on this page are the property of their respective owners and are used only to identify the public website this tool reads. No affiliation or endorsement.
Sample output
32 real records from the actor's latest passing test run, updated . Download the sample as JSON or CSV.
| recordType | recordId | title | publishDate | modifiedDate | isActive | url | department | agency | office | solicitationNumber | opportunityType | noticeTypeCode | archiveDate | modificationCount | responseDate | responseTimeZone | setAside | naicsCodes | pscCodes | topic_number | topic_description | placeOfPerformance | awardDate | awardAmount | awardeeName | awardeeUEI | isCanceled | attachments | ueiSam | exclusionProgram | exclusionType | excludingAgency | activationDate | terminationDate | classification | cageCode | address | referenceNumber | revisionNumber | constructionTypes | location | programNumber | objective | assistanceTypes | isFunded |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| opportunity | 36783886f4c4404bafae8ca265e31258 | 6350-01-077-0819; KMA; INFANTRY CARRIER (STRYKER FIGHTNING VEH) | 2026-11-25T13:09:20+00:00 | 2026-11-25T13:09:20+00:00 | true | https://sam.gov/opp/36783886f4c4404bafae8ca265e31258/view | DEPT OF DEFENSE | DEFENSE LOGISTICS AGENCY | DLA AVIATION | SPE4A626R0259 | Award Notice | a | 2026-11-27T00:00:00+00:00 | 0 | ["334290"] | ["6350"] | 67000, VA, USA | 2026-11-02 | 800000 | DROP INC | NUGPY2XTVLA9 | false | [] | 0 | [] | [] | false | ||||||||||||||||||
| opportunity | 62310adf2d7343a5a35759f2fc88fae8 | Arc Spark Optical Emission Spectrometer | 2026-11-25T13:19:27+00:00 | 2026-11-25T13:19:27+00:00 | true | https://sam.gov/opp/62310adf2d7343a5a35759f2fc88fae8/view | DEPT OF DEFENSE | DEPT OF THE AIR FORCE | FA8126 AFSC PZIMB | FA812627Q0009 | Combined Synopsis/Solicitation | k | 2026-12-19T00:00:00+00:00 | 0 | 2026-12-04T20:00:00+00:00 | America/Chicago | NONE | ["811210"] | ["J066"] | 0, OK, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | fc59feacebea40bcb69679c7803b29f9 | Biosequence Search | 2026-11-25T12:23:26+00:00 | 2026-11-25T12:23:26+00:00 | true | https://sam.gov/opp/fc59feacebea40bcb69679c7803b29f9/view | COMMERCE, DEPARTMENT OF | US PATENT AND TRADEMARK OFFICE | DEPT OF COMMERCE PTO | ACQ-27-0065 | Sources Sought | r | 2026-12-17T00:00:00+00:00 | 2 | 2026-12-02T17:00:00+00:00 | America/New_York | NONE | ["518210"] | ["DH10"] | 1000, VA, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | 8e4b07ee5fbf499aa263a7497e6e7a36 | AMS Relay | 2026-11-25T12:19:48+00:00 | 2026-11-25T12:19:48+00:00 | true | https://sam.gov/opp/8e4b07ee5fbf499aa263a7497e6e7a36/view | DEPT OF DEFENSE | DEPT OF THE NAVY | NAVAL AIR WARFARE CENTER AIR DIV | N0042127Q1039 | Combined Synopsis/Solicitation | k | 2026-12-19T00:00:00+00:00 | 1 | 2026-12-04T20:00:00+00:00 | America/New_York | NONE | ["335314"] | ["5999"] | 69525, MD, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | 3460e07dc66a4958bf4cb265ad6da5cd | “NSN 1560-01-581-6238, SUPPORT,STRUCTURAL, WSDC: 40A, HELICOPTER, BLACKHAWK, UH-60A, UH-60L, HH/UH-60M, UH-60V.” | 2026-11-25T12:19:20+00:00 | 2026-11-25T12:19:20+00:00 | true | https://sam.gov/opp/3460e07dc66a4958bf4cb265ad6da5cd/view | DEPT OF DEFENSE | DEFENSE LOGISTICS AGENCY | DLA AVIATION | SPE4A527R0047 | Presolicitation | p | 2026-12-25T00:00:00+00:00 | 0 | 2026-12-10T20:00:00+00:00 | America/New_York | NONE | ["336413"] | ["1560"] | 67000, VA, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | 935f4084e7e74b9aab85f3d68c9356a6 | Call for Solutions: Load Carriage Modernization Initiative | 2026-11-25T13:16:11+00:00 | 2026-11-25T13:16:11+00:00 | true | https://sam.gov/opp/935f4084e7e74b9aab85f3d68c9356a6/view | DEPT OF DEFENSE | DEPT OF THE ARMY | W6QK ACC-APG | W91CRB-27-S-LCMI | Combined Synopsis/Solicitation | k | 2026-12-17T00:00:00+00:00 | 1 | 2026-12-02T20:00:00+00:00 | America/New_York | NONE | ["315990"] | ["8465"] | 0, WA, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | ad1fec4037b0413f82b10fc877ccc068 | SOURCES SOUGHT Heavy-Duty Explosion-Proof Electric Walkie Pallet Truck (12,000 lb Capacity) | 2026-11-25T12:16:29+00:00 | 2026-11-25T12:16:29+00:00 | true | https://sam.gov/opp/ad1fec4037b0413f82b10fc877ccc068/view | DEPT OF DEFENSE | DEPT OF THE ARMY | W6QK ACC-APG CONT CT TYAD OFC | 058886 | Sources Sought | r | 2026-12-16T00:00:00+00:00 | 0 | 2026-12-01T15:00:00+00:00 | America/New_York | Total Small Business Set-Aside (FAR 19.5) | ["333924"] | ["3930"] | 76960, PA, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | 0fd353e5979c41cfaebd7240a61f7a1b | "NSN 1560-01-607-2419, DOOR,AIRCRAFT, WSDC: YLN, HELICOPTER, SEAHAWK, H-60.” | 2026-11-25T12:10:27+00:00 | 2026-11-25T12:10:27+00:00 | true | https://sam.gov/opp/0fd353e5979c41cfaebd7240a61f7a1b/view | DEPT OF DEFENSE | DEFENSE LOGISTICS AGENCY | DLA AVIATION | SPE4A527R0046 | Sources Sought | r | 2026-12-08T00:00:00+00:00 | 1 | 2026-11-23T20:00:00+00:00 | America/New_York | NONE | ["336413"] | ["1560"] | 67000, VA, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | 09d6c20d78a248f0ad9392b90e1a2330 | Dielectric Coated Optics | 2026-11-25T12:09:31+00:00 | 2026-11-25T12:09:31+00:00 | true | https://sam.gov/opp/09d6c20d78a248f0ad9392b90e1a2330/view | DEPT OF DEFENSE | DEPT OF THE NAVY | NAVAL RESEARCH LABORATORY | N0017327Q1301428891 | Combined Synopsis/Solicitation | k | 2026-12-04T00:00:00+00:00 | 0 | 2026-12-03T13:00:00+00:00 | America/New_York | Total Small Business Set-Aside (FAR 19.5) | ["333310"] | ["6650"] | 50000, DC, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | f933536c522543cea29d304334813609 | Design, Development, Integration, and Test (DDI&T) of the Growler Block II Phase 2, AN/ALQ-264(V) (Beowulf) System | 2026-11-25T12:08:30+00:00 | 2026-11-25T12:08:30+00:00 | true | https://sam.gov/opp/f933536c522543cea29d304334813609/view | DEPT OF DEFENSE | DEPT OF THE NAVY | NAVAL AIR SYSTEMS COMMAND | N00019-26-RFPREQ-TPM265-0547 | Presolicitation | p | 2026-12-11T00:00:00+00:00 | 0 | 2026-12-11T04:59:00+00:00 | America/New_York | NONE | ["336413"] | ["AC13"] | 65000, MO, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | de77166e36f14e6b839682bff98b44e5 | F3N6176218AT01 - Advanced Medical Training | 2026-11-25T13:10:22+00:00 | 2026-11-25T13:10:22+00:00 | true | https://sam.gov/opp/de77166e36f14e6b839682bff98b44e5/view | DEPT OF DEFENSE | DEPT OF THE AIR FORCE | FA5613 700 CONS PK | F3N6176218AT01 | Combined Synopsis/Solicitation | k | 2026-12-24T00:00:00+00:00 | 0 | 2026-12-09T17:00:00+00:00 | America/New_York | NONE | ["61143"] | ["U008"] | AE, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | acb06fce631c4e8ea35e440c35797df2 | 95--PLATE,METAL | 2026-11-25T12:07:27+00:00 | 2026-11-25T12:07:27+00:00 | true | https://sam.gov/opp/acb06fce631c4e8ea35e440c35797df2/view | DEPT OF DEFENSE | DEFENSE LOGISTICS AGENCY | DLA TROOP SUPPORT | SPE8E927T0414 | Award Notice | a | 2026-12-10T00:00:00+00:00 | 0 | ["331221"] | ["95"] | 2026-11-25 | 35508 | Rudy III, Ernest | LBF1QJLUKNN9 | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | 7c7128a9cab347ceb70227d19c6ad3a6 | "NSN 1560-01-607-2419, DOOR,AIRCRAFT, WSDC: YLN, HELICOPTER, SEAHAWK, H-60.” | 2026-11-25T12:07:17+00:00 | 2026-11-25T12:07:17+00:00 | true | https://sam.gov/opp/7c7128a9cab347ceb70227d19c6ad3a6/view | DEPT OF DEFENSE | DEFENSE LOGISTICS AGENCY | DLA AVIATION | SPE4A527R0046 | Presolicitation | p | 2026-12-25T00:00:00+00:00 | 0 | 2026-12-10T20:00:00+00:00 | America/New_York | NONE | ["336413"] | ["1560"] | 65226, VA, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | a53122e0294f4d8ba636ba642ea565a5 | Test and Maintenance Equipment | 2026-11-25T11:59:25+00:00 | 2026-11-25T11:59:25+00:00 | true | https://sam.gov/opp/a53122e0294f4d8ba636ba642ea565a5/view | DEPT OF DEFENSE | DEPT OF THE ARMY | W6QK ACC-APG | W15P7T26Q001-Protest-COA | Special Notice | s | 2026-12-09T00:00:00+00:00 | 0 | 2026-11-24T20:24:00+00:00 | America/Chicago | NONE | ["334515"] | ["6625"] | AL, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | a8c99c8e834341cc86b04269f23648d2 | Core Environmental Compliance Support Services – Darby Military Community (DMC), USAG Italy | 2026-11-25T13:07:20+00:00 | 2026-11-25T13:07:20+00:00 | true | https://sam.gov/opp/a8c99c8e834341cc86b04269f23648d2/view | DEPT OF DEFENSE | DEPT OF THE ARMY | 0414 AQ HQ CONTRACT AUG | PAN41426P0000025815 | Solicitation | o | 2026-12-29T00:00:00+00:00 | 1 | 2026-12-14T14:00:00+00:00 | Europe/Rome | NONE | ["541620"] | ["F999"] | Livorno , IT-LI, ITA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | fe01a4790df44d59b0ee71e031080649 | H141--Animal Lab Air Changes per Hour (ACH) & Pressure Testing | 2026-11-25T11:54:11+00:00 | 2026-11-25T11:54:11+00:00 | true | https://sam.gov/opp/fe01a4790df44d59b0ee71e031080649/view | VETERANS AFFAIRS, DEPARTMENT OF | VETERANS AFFAIRS, DEPARTMENT OF | 246-NETWORK CONTRACTING OFFICE 6 (36C246) | 36C24627Q0109 | Solicitation | o | 2027-01-28T00:00:00+00:00 | 1 | 2026-12-07T22:00:00+00:00 | America/New_York | Service-Disabled Veteran-Owned Small Business (SDVOSB) Set-Aside (FAR 19.14) | ["238220"] | ["H141"] | 67000, VA, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | ca4333fcb56a4405a351b07a2d753ecc | ES BLDG 1624 RM 203 VTC & A/V Upgrade - FY27 RFQ | 2026-11-25T11:30:56+00:00 | 2026-11-25T11:30:56+00:00 | true | https://sam.gov/opp/ca4333fcb56a4405a351b07a2d753ecc/view | DEPT OF DEFENSE | DEPT OF THE AIR FORCE | FA2835 AFLCMC HANSCOM PZI | 2027-PZI-1710 | Combined Synopsis/Solicitation | k | 2026-12-19T00:00:00+00:00 | 2 | 2026-12-04T20:00:00+00:00 | America/New_York | Total Small Business Set-Aside (FAR 19.5) | ["238210"] | ["N059"] | 0, MA, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | 17f22653fc1a4767a3456372f19334b1 | FY27 Mammography Quality Standards Act (MQSA) Inspection Program | 2026-11-25T13:02:00+00:00 | 2026-11-25T13:02:00+00:00 | true | https://sam.gov/opp/17f22653fc1a4767a3456372f19334b1/view | HEALTH AND HUMAN SERVICES, DEPARTMENT OF | FOOD AND DRUG ADMINISTRATION | FDA OFFICE OF ACQ GRANT SVCS | 2027_FDA_MQSA_Inspection_Program | Presolicitation | p | 2027-01-02T00:00:00+00:00 | 0 | 2026-12-18T19:00:00+00:00 | America/New_York | NONE | ["923120"] | ["H265"] | 72450, MD, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | 67d25e13d3f84429ade355d83bdbb713 | CT ANG Local and Long Distance Phone Service | 2026-11-25T12:59:07+00:00 | 2026-11-25T12:59:07+00:00 | true | https://sam.gov/opp/67d25e13d3f84429ade355d83bdbb713/view | DEPT OF DEFENSE | DEPT OF THE ARMY | W7MZ USPFO ACTIVITY CTANG 103 | W50SC227QA002 | Combined Synopsis/Solicitation | k | 2026-12-24T00:00:00+00:00 | 1 | 2026-12-09T14:00:00+00:00 | America/New_York | Total Small Business Set-Aside (FAR 19.5) | ["517111"] | ["DG10"] | 22070, CT, USA | false | [] | 0 | [] | [] | false | |||||||||||||||||||
| opportunity | d1e8696d70084685800483dbc821e4fd | SOLICITATION - USMA West Point APFU GYM-A Shirts | 2026-11-25T12:58:14+00:00 | 2026-11-25T12:58:14+00:00 | true | https://sam.gov/opp/d1e8696d70084685800483dbc821e4fd/view | DEPT OF DEFENSE | DEPT OF THE ARMY | W6QM MICC-WEST POINT | W911SD-27-Q-A014 | Solicitation | o | 2026-12-16T00:00:00+00:00 | 1 | 2026-12-14T17:00:00+00:00 | America/New_York | Total Small Business Set-Aside (FAR 19.5) | ["315210"] | ["8415"] | NY, USA | false | [] | 0 | [] | [] | false |
First 20 of 32 sample records shown; the downloads hold all 32.
Output fields
51 fields per record. Filled = share of the run's 120 records in which the field has a value.
| Field | Type | Description | Filled |
|---|---|---|---|
| recordType | string | Type of record: opportunity, exclusion, wage_determination, or assistance_listing | 100% |
| recordId | string | Unique record identifier from SAM.gov | 100% |
| title | string | Title of the opportunity, exclusion, wage determination, or assistance listing | 100% |
| description | string | Description text (HTML stripped to plain text for opportunities)Not shown in the public sample. | 92% |
| publishDate | string | Date the record was published (ISO 8601) | 96% |
| modifiedDate | string | Date the record was last modified (ISO 8601) | 96% |
| isActive | boolean | Whether the record is currently active | 100% |
| url | string | Direct link to the record on SAM.gov | 100% |
| department | string | Top-level department from organization hierarchy (e.g., DEPT OF DEFENSE) | 98% |
| agency | string | Agency within the department (e.g., DEPT OF THE ARMY) | 98% |
| office | string | Contracting office name | 93% |
| solicitationNumber | string | Solicitation/reference number (opportunities) | 96% |
| opportunityType | string | Notice type: Solicitation, Presolicitation, Award Notice, etc. | 96% |
| noticeTypeCode | string | One-letter notice type code as used by the opportunityType input: o, p, k, r, s, g, i, a, u | 96% |
| archiveDate | string | Date the notice is scheduled to be archived on SAM.gov (ISO 8601, opportunities) | 96% |
| modificationCount | integer | Number of amendments published to the notice (opportunities) | 100% |
| responseDate | string | Deadline for responses (opportunities, ISO 8601) | 88% |
| responseTimeZone | string | Time zone for response deadline | 86% |
| setAside | string | Small business set-aside category if applicable | 41% |
| naicsCodes | array | NAICS industry classification codes (comma-separated) | 93% |
| pscCodes | array | Product/Service codes (comma-separated) | 95% |
| topic_number | string | SBIR/STTR topic number (e.g. 'A214-013'); on cycle-roll opportunities, the cycle code (e.g. '22.4'). Empty when not extractable. | 0% |
| topic_description | string | SBIR/STTR topic title for per-topic notices; empty for cycle-roll umbrellas. | 0% |
| placeOfPerformance | string | Place of performance (city, state, country) | 43% |
| awardDate | string | Contract award date if awarded | 7% |
| awardAmount | string | Contract award amount if awarded | 5% |
| awardeeName | string | Name of the awardee if awarded | 5% |
| awardeeUEI | string | Unique Entity Identifier of the awardee | 5% |
| contactName | string | Primary point of contact nameNot shown in the public sample. | 96% |
| contactEmail | string | Primary point of contact emailNot shown in the public sample. | 96% |
| contactPhone | string | Primary point of contact phoneNot shown in the public sample. | 36% |
| contacts | array | Every point of contact on the notice (primary and secondary), each with name, email, phone, type and titleNot shown in the public sample. | 96% |
| isCanceled | boolean | Whether the opportunity has been canceled | 100% |
| attachments | array | Attached documents of an opportunity (only when Include Attachments is on). url is a permanent SAM.gov download link for files or the external address for links; fileUrl and kvsKey appear only when Download Attachment Files stored a copy; downloadStatus says whether each file was stored, restricted, unavailable or failed. | 4% |
| ueiSam | string | Unique Entity Identifier (exclusions) | 3% |
| exclusionProgram | string | Exclusion program: Reciprocal, Non-Procurement, Procurement | 4% |
| exclusionType | string | Exclusion type (e.g., Ineligible, Prohibition/Restriction) | 4% |
| excludingAgency | string | Agency that issued the exclusion | 4% |
| activationDate | string | Exclusion start date | 4% |
| terminationDate | string | Exclusion end date (empty = indefinite) | 4% |
| classification | string | Exclusion classification (Individual, Firm, Special Entity) | 4% |
| cageCode | string | CAGE code (exclusions) | 1% |
| address | string | Address (formatted as city, state, zip, country) | 4% |
| referenceNumber | string | Full reference number (wage determinations) | 0% |
| revisionNumber | integer | Revision number (wage determinations) | 100% |
| constructionTypes | array | Construction types covered (wage determinations) | 0% |
| location | string | Geographic location (wage determinations) | 0% |
| programNumber | string | Program number like 14.322 (assistance listings) | 0% |
| objective | string | Program objective description (assistance listings) | 0% |
| assistanceTypes | array | Types of assistance available (assistance listings) | 0% |
| isFunded | boolean | Whether the program is currently funded (assistance listings) | 100% |
About this actor
SAM.gov Contract Opportunities Scraper - Federal Contracts, Exclusions & Grants
Extract federal contract opportunities and government contracts from SAM.gov (System for Award Management), the U.S. federal government's primary procurement portal, with the bid documents attached to each notice. Covers four data indices that no other scraper combines:
- Opportunities -- Contract solicitations, pre-solicitations, combined synopses, sources sought, award notices, and special notices (5.5M+ records)
- Exclusions -- Debarment and suspension list for compliance vetting (167K+ records)
- Wage Determinations -- Davis-Bacon Act prevailing wage rates by location (107K+ records)
- Assistance Listings -- Federal grant and loan programs (7.3K+ programs)
No API key required. Uses the unauthenticated SAM.gov frontend search API.
Features
- Live data -- Every run queries SAM.gov's own search API at the moment it executes; nothing is cached on our side
- Multi-index coverage -- Search all four SAM.gov data types from a single actor
- Rich filtering -- Keyword search, NAICS codes, opportunity type, set-aside category, agency, state, and active-only toggle
- Full records -- Complete description text, contacts, NAICS/PSC codes, place of performance and award details, not just headline fields
- Bid documents -- Optionally list every opportunity's attachments (RFQ, SOW, amendments) with permanent download links, or store the files themselves
- Clean output -- HTML stripped from descriptions, organization hierarchy flattened to department/agency/office, direct SAM.gov links for every record
- Fast -- 100 records in ~2 seconds, 10,000 records in ~5 minutes
Input
| Field | Type | Default | Description |
|---|---|---|---|
dataType |
string | opportunities |
Data index to search: opportunities, exclusions, wage_determinations, or assistance_listings |
keyword |
string | (empty) | Full-text search across titles and descriptions |
naicsCodes |
array | (empty) | NAICS codes; any of them matches (opportunities only) |
opportunityType |
string | (empty) | Notice type filter: o (Solicitation), p (Presolicitation), k (Combined), r (Sources Sought), s (Special Notice), a (Award), etc. |
setAsideType |
string | (empty) | Small business set-aside: SBA, 8A, HZC, SDVOSBC, WOSB, EDWOSB, etc. |
postedFrom |
string | (empty) | Only notices posted on or after this point: a date (2026-10-29), an ISO datetime, or a relative span such as 7 days (opportunities only). Schedule daily with 2 days to receive only new notices |
postedTo |
string | (empty) | Only notices posted on or before this date or datetime (opportunities only) |
activeOnly |
boolean | true |
Only return active/current records |
agency |
string | (empty) | Federal agency name keyword, matched against the organization hierarchy; a department covers every office beneath it |
state |
string | (empty) | Place of performance state code(s), e.g. VA or VA,MD |
sortBy |
string | -modifiedDate |
-modifiedDate, or -relevance with a keyword. SAM.gov does not order by publish or response date; those choices fall back to modified date |
includeAttachments |
boolean | false |
List each opportunity's attached documents with permanent download links (one extra request per opportunity) |
downloadAttachments |
boolean | false |
Also store each attached file in the run's key-value store and add a fileUrl. Implies includeAttachments |
maxItems |
integer | 100 |
Maximum records to return (API cap: 10,000 per query) |
Example Input
Search for active cybersecurity solicitations set aside for small businesses:
{
"dataType": "opportunities",
"keyword": "cybersecurity",
"opportunityType": "o",
"setAsideType": "SBA",
"activeOnly": true,
"maxItems": 100
}
Track construction and lease solicitations in Virginia with their bid documents:
{
"dataType": "opportunities",
"opportunityType": "o",
"naicsCodes": ["236220", "531120"],
"state": "VA",
"includeAttachments": true,
"maxItems": 200
}
Search the exclusion (debarment) list:
{
"dataType": "exclusions",
"keyword": "",
"activeOnly": true,
"maxItems": 50
}
Output
Every record includes a consistent set of base fields plus type-specific fields.
Opportunity Record
{
"recordType": "opportunity",
"recordId": "796ebc3cd3f64e858d465bfa43632202",
"title": "Blast Machine with skid mounts",
"description": "Procure Blast Machine with skid mounts. See attachment(s).",
"publishDate": "2026-04-07T23:45:21+00:00",
"modifiedDate": "2026-04-07T23:45:21+00:00",
"isActive": true,
"url": "https://sam.gov/opp/796ebc3cd3f64e858d465bfa43632202/view",
"department": "DEPT OF DEFENSE",
"agency": "DEPT OF THE NAVY",
"office": "NAVSUP FLT LOG CTR YOKOSUKA",
"solicitationNumber": "N6264926Q0226",
"opportunityType": "Solicitation",
"noticeTypeCode": "o",
"archiveDate": "2026-05-05T00:00:00+00:00",
"modificationCount": 1,
"responseDate": "2026-04-20T01:00:00+00:00",
"responseTimeZone": "Asia/Tokyo",
"setAside": "",
"topic_number": "",
"topic_description": "",
"naicsCodes": ["811310"],
"pscCodes": ["4940"],
"placeOfPerformance": "Yokosuka, JP-14, JPN",
"contactName": "Yukako Hishikura",
"contactEmail": "yukako.hishikura.ln@us.navy.mil",
"contacts": [
{ "name": "Yukako Hishikura", "email": "yukako.hishikura.ln@us.navy.mil", "phone": "", "type": "primary", "title": "" }
],
"attachments": []
}
Attachments
With includeAttachments on, every opportunity carries its attached documents. url is a permanent SAM.gov download link that serves the file directly, no login needed; it does not expire. Links to external sites come through with type: "link".
{
"attachments": [
{
"name": "RFQ_19CB6026Q0027- Supply of Vehicle for U.S. Embassy.pdf",
"type": "file",
"mimeType": "pdf",
"sizeBytes": 1545520,
"resourceId": "eda26a2d26b54f2faaf28ae53c825f93",
"url": "https://sam.gov/api/prod/opps/v3/opportunities/resources/files/eda26a2d26b54f2faaf28ae53c825f93/download?&token="
}
]
}
With downloadAttachments on, each file is also stored in the run's default key-value store and the entry gains fileUrl (the stored copy) and kvsKey. Each file also gets a downloadStatus: stored, restricted (SAM.gov withholds access-controlled files without a login; httpStatus shows 401 or 403 and the SAM.gov link in url is kept), unavailable (SAM.gov still lists the file but reports it deleted, httpStatus 400), or failed (with httpStatus when SAM.gov answered). Stored files expire with the run's storage retention.
Each stored file is billed as one "Record scraped - premium" event ($0.002, lower on higher Apify plans), on top of the opportunity's own record charge. Only files that actually land in your key-value store are billed: restricted, unavailable and failed files cost nothing extra. includeAttachments on its own adds no charge, and the add-on never counts toward maxItems.
SBIR/STTR Topic Fields
For Small Business Innovation Research (SBIR) and Small Business Technology Transfer (STTR) opportunities, the scraper extracts a topic identifier from the solicitation number or title:
topic_number— The SBIR/STTR topic code (e.g.A214-013,AF252-D012) for per-topic solicitations, or the BAA cycle code (e.g.22.4,23.D) for umbrella DoD-wide announcements. Empty for non-SBIR/STTR opportunities.topic_description— The opportunity title for per-topic solicitations (where the title is the topic description). Empty for umbrella cycle BAAs and non-SBIR/STTR opportunities.
Example AFWERX/Army SBIR opportunity:
{
"title": "Behavioristic Electromagnetic Spectrum Assessment General Learning Engine (BEAGLE)",
"solicitationNumber": "W50RAJ-20-S-0001_SBIR_BAA_A214-013",
"topic_number": "A214-013",
"topic_description": "Behavioristic Electromagnetic Spectrum Assessment General Learning Engine (BEAGLE)"
}
To filter results to only SBIR/STTR opportunities, search with keyword: "SBIR" or keyword: "STTR" and post-filter on a non-empty topic_number.
Exclusion Record
{
"recordType": "exclusion",
"recordId": "50e916de-6242-4f0c-b7a5-07356c6e8cd5",
"title": "Jose Aleman-Sandoval",
"isActive": true,
"url": "https://sam.gov/exclusions-new?id=50e916de-6242-4f0c-b7a5-07356c6e8cd5",
"excludingAgency": "JUSTICE, DEPARTMENT OF",
"exclusionProgram": "Reciprocal",
"exclusionType": "Ineligible (Proceedings Complete)",
"classification": "Individual",
"activationDate": "2026-03-31",
"terminationDate": "2027-03-30",
"address": "Houston, TX, 77081, USA"
}
Wage Determination Record
{
"recordType": "wage_determination",
"recordId": "AZ20260022",
"title": "AZ20260022",
"referenceNumber": "AZ20260022",
"revisionNumber": 1,
"constructionTypes": ["Building"],
"location": "Arizona - Apache",
"isActive": true,
"url": "https://sam.gov/wage-determination/AZ20260022/view"
}
Assistance Listing Record
{
"recordType": "assistance_listing",
"recordId": "4339444d695d45d68142db2bddcf93fd",
"title": "Tenant Education and Outreach Program",
"programNumber": "14.322",
"objective": "The purpose of the TEO Program is to support tenant capacity building...",
"assistanceTypes": ["Grant"],
"department": "HOUSING AND URBAN DEVELOPMENT, DEPARTMENT OF",
"agency": "ASST SECRETARY FOR HOUSING--FEDERAL HOUSING COMMISSIONER",
"isFunded": false,
"url": "https://sam.gov/fal/4339444d695d45d68142db2bddcf93fd/view"
}
Limitations
- The SAM.gov API caps results at 10,000 records per query. For larger datasets, use narrower keyword or date filters and run multiple times.
- Entity registration data (the
entindex) requires session authentication and is not supported. - SAM.gov orders results by modified date (or relevance with a keyword) only. To keep a feed current, run on a schedule with
activeOnlyon and de-duplicate onrecordId. - Attachments exist for opportunities only; exclusions, wage determinations and assistance listings have none.
Use Cases
- Government contractors monitoring new opportunities matching their NAICS codes
- Compliance teams checking the exclusion list before awarding subcontracts
- Business development teams tracking agency spending patterns
- Construction firms looking up prevailing wage rates by location
- Grant seekers finding federal assistance programs in their domain
Further reading: How to Get Government Tender Data From 14 Procurement Portals