
Federal Contracts API
The US federal contracting market, self-hosted and queryable: 86,517 active contract opportunities from SAM.gov (the government's official point of entry, refreshed daily) joined with 48,279 major contract awards of $1M+ from USAspending.gov covering the trailing twelve months. Opportunities carry title, agency, sub-tier and office, notice type, NAICS and product/service (PSC) codes, small-business set-aside designations, place of performance, response deadlines, point-of-contact details and — once awarded — the award number, date, amount and awardee. Search by keyword, NAICS prefix, agency, set-aside, state, PSC or deadline window; the closing endpoint surfaces every active notice due within N days so vendors never miss a bid window. Awards add the business- development angle: search $1M+ awards by recipient, agency, NAICS or amount range, roll up the biggest recipients by total contract value, and — via the expiring endpoint — find contracts ending within N months, i.e. the recompete pipeline before it hits SAM.gov. New notices and awards flow in daily from official sources; every record links back to its SAM.gov or USAspending page. Built for government-contracting BD teams, proposal shops, market-intelligence tools and subcontractor prospecting. Self-hosted dataset — no third-party calls at request time.
Available Endpoints
Request Parameters
API URL
Please subscribe to see the API URL
Headers
Please subscribe to see the actual API URL
import axios from 'axios';
const url = '{API_URL}';
const { data } = await axios.get(url, {
headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});