US Federal Contracting Opportunities
US federal contracting opportunities by NAICS trade, with the named contracting officer on each, for government sales and bid prospecting.
0 rows in the dataset
US Federal Contracting Opportunities data from $0.40 per 1,000 rows, pay as you go
Download the dataset
Get the full dataset as one CSV or JSONL file. If the data is older than maxAgeHours, it is refreshed automatically first. The key needs the datasets:export scope.
DOWNLOAD_ID=$(curl -s -X POST "https://api.pandorlabs.com/v1/datasets/us-federal-contracts/downloads" \ -H "Authorization: Bearer $PANDORLABS_KEY" \ -H "Content-Type: application/json" \ -d '{"maxAgeHours":24,"format":"csv"}' | jq -r '.id')while true; do STATUS=$(curl -s "https://api.pandorlabs.com/v1/downloads/$DOWNLOAD_ID" \ -H "Authorization: Bearer $PANDORLABS_KEY" | jq -r '.status') case "$STATUS" in refreshing|preparing) ;; *) break ;; esac sleep 5donecurl -sL "https://api.pandorlabs.com/v1/downloads/$DOWNLOAD_ID/file" \ -H "Authorization: Bearer $PANDORLABS_KEY" \ -o dataset.csvThis is a Standard dataset: 60 credits per 100 rows cached and 120 credits live, charged on the rows in the dataset when the download becomes ready. A failed refresh is not charged. The file stays downloadable for 24 hours. See pricing.
Start a run
To get exactly the targets you want, send the parameters below as input. The call returns 202 with the run; the key needs the scrapers:run scope and the account a positive credit balance.
curl -X POST "https://api.pandorlabs.com/v1/scrapers/us-federal-contracts/runs" \ -H "Authorization: Bearer $PANDORLABS_KEY" \ -H "Content-Type: application/json" \ -d '{ "input": { "naicsCodes": [ "541511", "541512", "541519" ], "noticeTypes": [ "o", "p", "k" ], "postedWithinDays": 30, "states": [ "CA", "TX", "NY" ] } }'A run is billed at the live rate once it finishes: 120 credits per 100 rows it collected ($1.2, down to $0.8 in volume per 1,000 rows). A run that collects nothing costs nothing.
Parameters
Every parameter is optional. Anything you leave out uses the default shown here; an unknown name or an invalid value is rejected with a 400 that lists each problem.
Targeting
naicsCodesstring[]
NAICS codes
One query per code. Software and web work: 541511 (Custom Computer Programming Services), 541512 (Computer Systems Design Services), 541513 (Computer Facilities Management Services), 541519 (Other Computer Related Services), 541430 (Graphic Design Services), 541810 (Advertising Agencies), 511210 (Software Publishers), 518210 (Data Processing, Hosting & Related Services).
- Default
["541511","541512","541519"]- Example
541511
noticeTypesenum[]
Notice types
The defaults are the notices that represent a live buy. Award notices are history, not leads.
- Default
["o","p","k"]- Allowed values
opkrgsiau
postedWithinDaysnumber
Posted within (days)
Ignored if an explicit posted-from date is set. Ranges of any length are supported.
- Default
30- Range
- 1 to 1825
statesstring[]
Place of performance states
Two-letter codes. Empty means anywhere.
- Default
- none
- Example
CA, TX, NY
titleContainsstring
Title contains
Keeps opportunities whose title contains this text.
- Default
- none
- Example
website
Advanced
postedFromstring
Posted from (MM/DD/YYYY)
Overrides the lookback window.
- Default
- none
- Example
01/01/2026
postedTostring
Posted to (MM/DD/YYYY)
- Default
- none
- Example
12/31/2026
activeOnlyboolean
Open opportunities only
Drops notices whose response deadline has passed.
- Default
true
requireContactEmailboolean
Require a contact email
Drops notices with no published point of contact.
- Default
false
setAsideCodesstring[]
Set-aside codes
- Default
- none
- Example
SBA, 8A, WOSB, SDVOSBC
maxRecordsnumber
Max records per run
Caps a single run. Rows are updated in place, so the dataset keeps growing across runs.
- Default
5000- Range
- 1 to 100000
pageSizenumber
Page size
- Default
200- Range
- 1 to 1000
requestDelayMsnumber
Delay between requests (ms)
- Default
500- Range
- 0 to 30000
Input as JSON Schema
The same schema the API validates against. Use it as a tool input schema or to generate a typed client.
{ "type": "object", "additionalProperties": false, "properties": { "naicsCodes": { "type": "array", "items": { "type": "string" }, "maxItems": 1000, "title": "NAICS codes", "description": "One query per code. Software and web work: 541511 (Custom Computer Programming Services), 541512 (Computer Systems Design Services), 541513 (Computer Facilities Management Services), 541519 (Other Computer Related Services), 541430 (Graphic Design Services), 541810 (Advertising Agencies), 511210 (Software Publishers), 518210 (Data Processing, Hosting & Related Services).", "default": [ "541511", "541512", "541519" ], "examples": [ "541511" ] }, "noticeTypes": { "type": "array", "items": { "type": "string", "enum": [ "o", "p", "k", "r", "g", "s", "i", "a", "u" ] }, "uniqueItems": true, "title": "Notice types", "description": "The defaults are the notices that represent a live buy. Award notices are history, not leads.", "default": [ "o", "p", "k" ] }, "postedWithinDays": { "type": "number", "minimum": 1, "maximum": 1825, "title": "Posted within (days)", "description": "Ignored if an explicit posted-from date is set. Ranges of any length are supported.", "default": 30 }, "states": { "type": "array", "items": { "type": "string" }, "maxItems": 1000, "title": "Place of performance states", "description": "Two-letter codes. Empty means anywhere.", "default": [], "examples": [ "CA, TX, NY" ] }, "titleContains": { "type": "string", "maxLength": 2000, "title": "Title contains", "description": "Keeps opportunities whose title contains this text.", "examples": [ "website" ] }, "postedFrom": { "type": "string", "maxLength": 2000, "title": "Posted from (MM/DD/YYYY)", "description": "Overrides the lookback window.", "examples": [ "01/01/2026" ] }, "postedTo": { "type": "string", "maxLength": 2000, "title": "Posted to (MM/DD/YYYY)", "examples": [ "12/31/2026" ] }, "activeOnly": { "type": "boolean", "title": "Open opportunities only", "description": "Drops notices whose response deadline has passed.", "default": true }, "requireContactEmail": { "type": "boolean", "title": "Require a contact email", "description": "Drops notices with no published point of contact.", "default": false }, "setAsideCodes": { "type": "array", "items": { "type": "string" }, "maxItems": 1000, "title": "Set-aside codes", "default": [], "examples": [ "SBA, 8A, WOSB, SDVOSBC" ] }, "maxRecords": { "type": "number", "minimum": 1, "maximum": 100000, "title": "Max records per run", "description": "Caps a single run. Rows are updated in place, so the dataset keeps growing across runs.", "default": 5000 }, "pageSize": { "type": "number", "minimum": 1, "maximum": 1000, "title": "Page size", "default": 200 }, "requestDelayMs": { "type": "number", "minimum": 0, "maximum": 30000, "title": "Delay between requests (ms)", "default": 500 } }}Run, poll, read rows
The run is asynchronous. Poll it until it reaches a terminal status and its billing is paid, then page through its rows. Until then the rows endpoint answers 409 (still queued or running) or 402 (payment required).
RUN_ID=$(curl -s -X POST "https://api.pandorlabs.com/v1/scrapers/us-federal-contracts/runs" \ -H "Authorization: Bearer $PANDORLABS_KEY" \ -H "Content-Type: application/json" \ -d '{ "input": { "naicsCodes": [ "541511", "541512", "541519" ], "noticeTypes": [ "o", "p", "k" ], "postedWithinDays": 30, "states": [ "CA", "TX", "NY" ] } }' | jq -r '.id')while true; do RUN=$(curl -s "https://api.pandorlabs.com/v1/runs/$RUN_ID" \ -H "Authorization: Bearer $PANDORLABS_KEY") STATUS=$(echo "$RUN" | jq -r '.status') BILLING=$(echo "$RUN" | jq -r '.billing.status') case "$STATUS" in queued|running) ;; *) [ "$BILLING" != "pending" ] && break ;; esac sleep 5doneecho "$RUN" | jq '{status, rowCount, billing}'curl -s "https://api.pandorlabs.com/v1/runs/$RUN_ID/rows?page=1&limit=100" \ -H "Authorization: Bearer $PANDORLABS_KEY"See the API reference for pagination, cancelling and listing runs.
Output fields
The fields this scraper delivers. Coverage is the share of rows that include each field.
The output fields appear here after the first run. Start a run to see them.
Get US Federal Contracting Opportunities data through the API
Create an account, top up credits, and run this scraper on your own targets with one API key. You are billed only for the rows you receive.
- 1Buy credits
Any amount from $10, with bonus credits on larger top-ups. No subscription.
- 2Create an API key
Pick the scopes you need in the dashboard. Each script gets its own key.
- 3Make your first call
Copy a sample from these docs. Failed runs and refreshes cost nothing.