Federal Contracts API
BusinessMAINTAINED1 token / call

Federal Contracts API

86,500 active SAM.gov opportunities and 48,000 awards over $1M, searchable and refreshed daily

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.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 1 token per call, so the free plan covers about 500 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "ok": true,
  "window_days": 14,
  "count": 3,
  "results": [
    {
      "notice_id": "2f6d849eff7a4c4bbe56b5ff2381196d",
      "title": "191N6026Q0007 - PR16205087 - American Center Chennai�s Technology Infrastructure modernization",
      "agency": "STATE, DEPARTMENT OF",
      "type": "Solicitation",
      "posted_date": "2026-08-28",
      "response_deadline": "2026-09-15",
      "naics": "541519",
      "set_aside": "No Set aside used",
      "place_of_performance": {
        "city": "Chennai",
        "state": "IN-TN"
      },
      "active": true,
      "awarded": false
    },
    {
      "notice_id": "676bc1a3c21b425f9eee9a70858e5665",
      "title": "Post Industry Day Notice HITS-UIII",
      "agency": "DEPT OF DEFENSE",
      "type": "Special Notice",
      "posted_date": "2026-06-29",
      "response_deadline": "2026-09-15",
      "naics": "541512",
      "set_aside": "No Set aside used",
      "place_of_performance": {
        "city": null,
        "state": "MS"
      },
      "active": true,
      "awarded": false
    },
    {
      "notice_id": "85a781413dc646e0a078e8a71d910b96",
      "title": "Post Industry Day Notice HITS-UIII",
      "agency": "DEPT OF DEFENSE",
      "type": "Special Notice",
      "posted_date": "2026-06-24",
      "response_deadline": "2026-09-15",
      "naics": "541512",
      "set_aside": "No Set aside used",
      "place_of_performance": {
        "city": null,
        "state": "MS"
      },
      "active": true,
      "awarded": false
    }
  ]
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.

Use cases for Federal Contracts API

  • Alert a government contractor to new opportunities in its NAICS codes and set-aside categories every morning.

  • Track which contracts expire in the next quarter to time recompete bids and teaming conversations.

  • Rank agencies and top recipients to see who buys what, for business development and competitor analysis.

  • Enrich a CRM of federal buyers with office, sub-tier and contact details from the notice.

Federal Contracts API endpoints

Every endpoint with its parameters and a real example response.

GETAgencies

https://api-federal-contracts.dataandapis.com/v1/opportunities/agencies

This endpoint takes no parameters.

Example request

curl "https://api-federal-contracts.dataandapis.com/v1/opportunities/agencies" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "count": 6,
  "agencies": [
    {
      "agency": "DEPT OF DEFENSE",
      "notices": 56589,
      "active_notices": 56589
    },
    {
      "agency": "GENERAL SERVICES ADMINISTRATION",
      "notices": 8152,
      "active_notices": 8152
    },
    {
      "agency": "VETERANS AFFAIRS, DEPARTMENT OF",
      "notices": 6976,
      "active_notices": 6976
    },
    {
      "agency": "INTERIOR, DEPARTMENT OF THE",
      "notices": 2648,
      "active_notices": 2648
    },
    {
      "agency": "AGRICULTURE, DEPARTMENT OF",
      "notices": 2089,
      "active_notices": 2089
…
Show full response
{
  "ok": true,
  "count": 6,
  "agencies": [
    {
      "agency": "DEPT OF DEFENSE",
      "notices": 56589,
      "active_notices": 56589
    },
    {
      "agency": "GENERAL SERVICES ADMINISTRATION",
      "notices": 8152,
      "active_notices": 8152
    },
    {
      "agency": "VETERANS AFFAIRS, DEPARTMENT OF",
      "notices": 6976,
      "active_notices": 6976
    },
    {
      "agency": "INTERIOR, DEPARTMENT OF THE",
      "notices": 2648,
      "active_notices": 2648
    },
    {
      "agency": "AGRICULTURE, DEPARTMENT OF",
      "notices": 2089,
      "active_notices": 2089
    },
    {
      "agency": "HOMELAND SECURITY, DEPARTMENT OF",
      "notices": 1910,
      "active_notices": 1910
    }
  ]
}

GETClosing Soon

https://api-federal-contracts.dataandapis.com/v1/opportunities/closing

Query parameters

ParameterExample
agencyOptional
days14Optional
limit20Optional
naics5415Optional
pageOptional
set_asideOptional

Example request

curl "https://api-federal-contracts.dataandapis.com/v1/opportunities/closing?days=14&limit=20&naics=5415" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "window_days": 14,
  "count": 3,
  "results": [
    {
      "notice_id": "2f6d849eff7a4c4bbe56b5ff2381196d",
      "title": "191N6026Q0007 - PR16205087 - American Center Chennai�s Technology Infrastructure modernization",
      "agency": "STATE, DEPARTMENT OF",
      "type": "Solicitation",
      "posted_date": "2026-08-28",
      "response_deadline": "2026-09-15",
      "naics": "541519",
      "set_aside": "No Set aside used",
      "place_of_performance": {
        "city": "Chennai",
        "state": "IN-TN"
      },
      "active": true,
      "awarded": false
    },
    {
      "notice_id": "676bc1a3c21b425f9eee9a70858e5665",
      "title": "Post Industry Day Notice HITS-UIII",
      "agency": "DEPT OF DEFENSE",
      "type": "Special Notice",
      "posted_date": "2026-06-29",
      "response_deadline": "2026-09-15",
…
Show full response
{
  "ok": true,
  "window_days": 14,
  "count": 3,
  "results": [
    {
      "notice_id": "2f6d849eff7a4c4bbe56b5ff2381196d",
      "title": "191N6026Q0007 - PR16205087 - American Center Chennai�s Technology Infrastructure modernization",
      "agency": "STATE, DEPARTMENT OF",
      "type": "Solicitation",
      "posted_date": "2026-08-28",
      "response_deadline": "2026-09-15",
      "naics": "541519",
      "set_aside": "No Set aside used",
      "place_of_performance": {
        "city": "Chennai",
        "state": "IN-TN"
      },
      "active": true,
      "awarded": false
    },
    {
      "notice_id": "676bc1a3c21b425f9eee9a70858e5665",
      "title": "Post Industry Day Notice HITS-UIII",
      "agency": "DEPT OF DEFENSE",
      "type": "Special Notice",
      "posted_date": "2026-06-29",
      "response_deadline": "2026-09-15",
      "naics": "541512",
      "set_aside": "No Set aside used",
      "place_of_performance": {
        "city": null,
        "state": "MS"
      },
      "active": true,
      "awarded": false
    },
    {
      "notice_id": "85a781413dc646e0a078e8a71d910b96",
      "title": "Post Industry Day Notice HITS-UIII",
      "agency": "DEPT OF DEFENSE",
      "type": "Special Notice",
      "posted_date": "2026-06-24",
      "response_deadline": "2026-09-15",
      "naics": "541512",
      "set_aside": "No Set aside used",
      "place_of_performance": {
        "city": null,
        "state": "MS"
      },
      "active": true,
      "awarded": false
    }
  ]
}

GETData Sources

https://api-federal-contracts.dataandapis.com/v1/sources

This endpoint takes no parameters.

Example request

curl "https://api-federal-contracts.dataandapis.com/v1/sources" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "count": 2,
  "sources": [
    {
      "slug": "sam-opportunities",
      "name": "SAM.gov Contract Opportunities (full public extract)",
      "publisher": "US General Services Administration",
      "licence": "US Government work - no copyright",
      "source_url": "https://sam.gov/opportunities",
      "file_url": "https://s3.amazonaws.com/falextracts/Contract%20Opportunities/datagov/ContractOpportunitiesFullCSV.csv",
      "cadence": "daily extract; notices from the last 7 days upserted daily",
      "record_count": 86517,
      "retrieved_at": "2026-08-29",
      "updated_at": "2026-08-29 07:00:32"
    },
    {
      "slug": "usaspending-awards",
      "name": "USAspending prime contract awards >= $1,000,000 (trailing 12 months)",
      "publisher": "US Department of the Treasury",
      "licence": "US Government work - no copyright",
      "source_url": "https://www.usaspending.gov/",
      "file_url": "https://api.usaspending.gov/api/v2/search/spending_by_award/",
      "cadence": "trailing 14-day window upserted daily",
      "record_count": 48279,
      "retrieved_at": "2026-08-29",
      "updated_at": "2026-08-29 07:00:32"
    }
…
Show full response
{
  "ok": true,
  "count": 2,
  "sources": [
    {
      "slug": "sam-opportunities",
      "name": "SAM.gov Contract Opportunities (full public extract)",
      "publisher": "US General Services Administration",
      "licence": "US Government work - no copyright",
      "source_url": "https://sam.gov/opportunities",
      "file_url": "https://s3.amazonaws.com/falextracts/Contract%20Opportunities/datagov/ContractOpportunitiesFullCSV.csv",
      "cadence": "daily extract; notices from the last 7 days upserted daily",
      "record_count": 86517,
      "retrieved_at": "2026-08-29",
      "updated_at": "2026-08-29 07:00:32"
    },
    {
      "slug": "usaspending-awards",
      "name": "USAspending prime contract awards >= $1,000,000 (trailing 12 months)",
      "publisher": "US Department of the Treasury",
      "licence": "US Government work - no copyright",
      "source_url": "https://www.usaspending.gov/",
      "file_url": "https://api.usaspending.gov/api/v2/search/spending_by_award/",
      "cadence": "trailing 14-day window upserted daily",
      "record_count": 48279,
      "retrieved_at": "2026-08-29",
      "updated_at": "2026-08-29 07:00:32"
    }
  ]
}

GETExpiring Awards

https://api-federal-contracts.dataandapis.com/v1/awards/expiring

Query parameters

ParameterExample
agencyDefenseOptional
limit20Optional
min_amount1000000Optional
months6Optional
naics5415Optional
pageOptional

Example request

curl "https://api-federal-contracts.dataandapis.com/v1/awards/expiring?agency=Defense&limit=20&min_amount=1000000&months=6&naics=5415" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "window_months": 6,
  "count": 3,
  "results": [
    {
      "id": "CONT_AWD_HT001121F0060_9700_47QTCA21D0029_4732",
      "award_id": "HT001121F0060",
      "recipient": "LINTECH GLOBAL INC",
      "amount": 72636384.89,
      "agency": "Department of Defense",
      "period": {
        "start": "2021-07-15",
        "end": "2026-09-15"
      },
      "naics": {
        "code": "541512",
        "description": "COMPUTER SYSTEMS DESIGN SERVICES"
      },
      "description": "ANNUAL DOMAIN AND DIRECTORY SERVICES BRANCH (DDSB) SUPPORT."
    },
    {
      "id": "CONT_AWD_W15QKN22F0533_9700_W15QKN22D0020_9700",
      "award_id": "W15QKN22F0533",
      "recipient": "DECILOG, INC.",
      "amount": 25128005.2,
      "agency": "Department of Defense",
      "period": {
…
Show full response
{
  "ok": true,
  "window_months": 6,
  "count": 3,
  "results": [
    {
      "id": "CONT_AWD_HT001121F0060_9700_47QTCA21D0029_4732",
      "award_id": "HT001121F0060",
      "recipient": "LINTECH GLOBAL INC",
      "amount": 72636384.89,
      "agency": "Department of Defense",
      "period": {
        "start": "2021-07-15",
        "end": "2026-09-15"
      },
      "naics": {
        "code": "541512",
        "description": "COMPUTER SYSTEMS DESIGN SERVICES"
      },
      "description": "ANNUAL DOMAIN AND DIRECTORY SERVICES BRANCH (DDSB) SUPPORT."
    },
    {
      "id": "CONT_AWD_W15QKN22F0533_9700_W15QKN22D0020_9700",
      "award_id": "W15QKN22F0533",
      "recipient": "DECILOG, INC.",
      "amount": 25128005.2,
      "agency": "Department of Defense",
      "period": {
        "start": "2022-09-16",
        "end": "2026-09-15"
      },
      "naics": {
        "code": "541511",
        "description": "CUSTOM COMPUTER PROGRAMMING SERVICES"
      },
      "description": "N/A"
    },
    {
      "id": "CONT_AWD_HT942524C0106_9700_-NONE-_-NONE-",
      "award_id": "HT942524C0106",
      "recipient": "CHEROKEE NATION INTEGRATED HEALTH, L.L.C.",
      "amount": 9478128.12,
      "agency": "Department of Defense",
      "period": {
        "start": "2024-09-13",
        "end": "2026-09-15"
      },
      "naics": {
        "code": "541519",
        "description": "OTHER COMPUTER RELATED SERVICES"
      },
      "description": "CLOUD STORAGE SUPPORT SERVICES"
    }
  ]
}

GETGet Opportunity By Notice ID

https://api-federal-contracts.dataandapis.com/v1/opportunities/{notice_id}

Path parameters

ParameterExample
notice_id04fb885944a94729b21c0d6f119a2859Required

Example request

curl "https://api-federal-contracts.dataandapis.com/v1/opportunities/04fb885944a94729b21c0d6f119a2859" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "notice_id": "04fb885944a94729b21c0d6f119a2859",
  "title": "59--CIRCUIT CARD ASSEMB",
  "agency": "DEPT OF DEFENSE",
  "type": "Solicitation",
  "posted_date": "2026-08-28",
  "response_deadline": "2026-09-28",
  "naics": "334412",
  "set_aside": null,
  "place_of_performance": {
    "city": null,
    "state": null,
    "zip": null,
    "country": null
  },
  "active": true,
  "awarded": false,
  "solicitation": "N0010426QYAF8",
  "sub_tier": "DEPT OF THE NAVY",
  "office": "NAVSUP WEAPON SYSTEMS SUPPORT MECH",
  "base_type": "Solicitation",
  "archive": {
    "type": "auto15",
    "date": "2026-10-13"
  },
  "set_aside_code": null,
  "psc_code": "5998",
…
Show full response
{
  "ok": true,
  "notice_id": "04fb885944a94729b21c0d6f119a2859",
  "title": "59--CIRCUIT CARD ASSEMB",
  "agency": "DEPT OF DEFENSE",
  "type": "Solicitation",
  "posted_date": "2026-08-28",
  "response_deadline": "2026-09-28",
  "naics": "334412",
  "set_aside": null,
  "place_of_performance": {
    "city": null,
    "state": null,
    "zip": null,
    "country": null
  },
  "active": true,
  "awarded": false,
  "solicitation": "N0010426QYAF8",
  "sub_tier": "DEPT OF THE NAVY",
  "office": "NAVSUP WEAPON SYSTEMS SUPPORT MECH",
  "base_type": "Solicitation",
  "archive": {
    "type": "auto15",
    "date": "2026-10-13"
  },
  "set_aside_code": null,
  "psc_code": "5998",
  "award": null,
  "contact": {
    "name": "Telephone: 7712294504",
    "email": "AMELIA.E.HARPER.CIV@US.NAVY.MIL"
  },
  "link": "https://sam.gov/workspace/contract/opp/04fb885944a94729b21c0d6f119a2859/view",
  "description": "CONTACT INFORMATION|4|N741.14|CP4|N/A|amelia.e.harper.civ@us.navy.mil| ITEM UNIQUE IDENTIFICATION AND VALUATION (JAN 2023)|19|||||||||||||||||||| INSPECTION OF SUPPLIES--FIXED-PRICE (AUG 1996)|2||| INSPECTION AND ACCEPTANCE - SHORT VERSION|8||||||||| WIDE AREA WORKFLOW PAYMENT INSTRUCTIONS (JAN 2023)|16|Stand-Alone Receiving Report - Certifications; COMBO - Receiving Report & Invoice - Material |N/A|TBD|N00104|TBD|TBD|SW3117-1|TBD|N/A|N/A|N/A|N/A|N/A|N/A|N /A|| NAVY USE OF ABILITYONE SUPPORT CONTRACTOR - RELEASE OF OFFEROR INFORMATION (3-18))|1|WSS| MANDATORY USE OF WORKFLOW PRO (WFP) MOD ASSIST MODULE|1|CS| EQUAL OPPORTUNITY FOR VETERANS (DEV 2026-O0040)(FEB 2026)|4||||| WARRANTY OF SUPPLIES OF A NONCOMPLEX NATURE (JUNE 2003)|6|One year from date of delivery.|One year from date of delivery.||||| EQUAL OPPORTUNITY FOR WORKERS WITH DISABILITIES (DEV 2026-O0040)(FEB 2026)|4||||| TRANSPORTATION OF SUPPLIES BY SEA (OCT 2024)|2||| BUY AMERICAN-FREE TRADE AGREEMENTS-BALANCE OF PAYMENTS PROGRAM-BASIC (FEB 2024)|11|||||||||||| NOTICE OF CYBERSECURITY MATURITY MODEL CERTIFICATION LEVEL REQUIREMENTS (NOV 2025))|1|| SMALL BUSINESS SUBCONTRACTING PLAN (DOD CONTRACTS)-BASIC (DEV 2026-O0037)(FEB"
}

GETSearch Awards

https://api-federal-contracts.dataandapis.com/v1/awards

Query parameters

ParameterExample
agencyDefenseOptional
limit20Optional
max_amount50000000Optional
min_amount1000000Optional
naicsOptional
page1Optional
qOptional
recipientLockheedOptional

Example request

curl "https://api-federal-contracts.dataandapis.com/v1/awards?agency=Defense&limit=20&max_amount=50000000&min_amount=1000000&page=1&recipient=Lockheed" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "total": 786,
  "page": 1,
  "limit": 20,
  "count": 3,
  "results": [
    {
      "id": "CONT_AWD_0002_9700_W56KGY17D0005_9700",
      "award_id": "0002",
      "recipient": "LOCKHEED MARTIN CORPORATION",
      "amount": 49760214.11,
      "agency": "Department of Defense",
      "period": {
        "start": "2017-03-31",
        "end": "2023-04-04"
      },
      "naics": {
        "code": "334511",
        "description": "SEARCH, DETECTION, NAVIGATION, GUIDANCE, AERONAUTICAL, AND NAUTICAL SYSTEM AND INSTRUMENT MANUFACTURING"
      },
      "description": "IGF::OT::IGF COUNTER FIRE TARGET ACQUISITION RADAR SYSTEM (AN/TPQ-53) CONTRACTOR SUPPORT SERVICES (CSS) AND INTERIM CONTRACTOR SUPPORT (ICS) TASK ORDER"
    },
    {
      "id": "CONT_AWD_FA873020C0008_9700_-NONE-_-NONE-",
      "award_id": "FA873020C0008",
      "recipient": "LOCKHEED MARTIN CORPORATION",
      "amount": 49598463,
…
Show full response
{
  "ok": true,
  "total": 786,
  "page": 1,
  "limit": 20,
  "count": 3,
  "results": [
    {
      "id": "CONT_AWD_0002_9700_W56KGY17D0005_9700",
      "award_id": "0002",
      "recipient": "LOCKHEED MARTIN CORPORATION",
      "amount": 49760214.11,
      "agency": "Department of Defense",
      "period": {
        "start": "2017-03-31",
        "end": "2023-04-04"
      },
      "naics": {
        "code": "334511",
        "description": "SEARCH, DETECTION, NAVIGATION, GUIDANCE, AERONAUTICAL, AND NAUTICAL SYSTEM AND INSTRUMENT MANUFACTURING"
      },
      "description": "IGF::OT::IGF COUNTER FIRE TARGET ACQUISITION RADAR SYSTEM (AN/TPQ-53) CONTRACTOR SUPPORT SERVICES (CSS) AND INTERIM CONTRACTOR SUPPORT (ICS) TASK ORDER"
    },
    {
      "id": "CONT_AWD_FA873020C0008_9700_-NONE-_-NONE-",
      "award_id": "FA873020C0008",
      "recipient": "LOCKHEED MARTIN CORPORATION",
      "amount": 49598463,
      "agency": "Department of Defense",
      "period": {
        "start": "2019-12-26",
        "end": "2025-07-05"
      },
      "naics": {
        "code": "334511",
        "description": "SEARCH, DETECTION, NAVIGATION, GUIDANCE, AERONAUTICAL, AND NAUTICAL SYSTEM AND INSTRUMENT MANUFACTURING"
      },
      "description": "IRAQ INTEGRATED AIR DEFENSE SYSTEM LONG RANGE RADAR 3"
    },
    {
      "id": "CONT_AWD_N0001924F2604_9700_N0001923G0002_9700",
      "award_id": "N0001924F2604",
      "recipient": "LOCKHEED MARTIN CORPORATION",
      "amount": 49549024.08,
      "agency": "Department of Defense",
      "period": {
        "start": "2024-04-15",
        "end": "2026-11-30"
      },
      "naics": {
        "code": "336413",
        "description": "OTHER AIRCRAFT PARTS AND AUXILIARY EQUIPMENT MANUFACTURING"
      },
      "description": "SC26 INFRASTRUCTURE"
    }
  ]
}

GETSearch Opportunities

https://api-federal-contracts.dataandapis.com/v1/opportunities

Query parameters

ParameterExample
activetrueOptional
agencyOptional
awardedOptional
deadline_afterOptional
deadline_beforeOptional
limit20Optional
naics5415Optional
page1Optional
posted_sinceOptional
pscOptional
qcybersecurityOptional
set_asideOptional
stateOptional
typeOptional

Example request

curl "https://api-federal-contracts.dataandapis.com/v1/opportunities?active=true&limit=20&naics=5415&page=1&q=cybersecurity" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "total": 38,
  "page": 1,
  "limit": 20,
  "count": 3,
  "results": [
    {
      "notice_id": "6a4ca55e1e4544fcb51d123c0d016d11",
      "title": "Enterprise Cybersecurity Services",
      "agency": "HOMELAND SECURITY, DEPARTMENT OF",
      "type": "Special Notice",
      "posted_date": "2026-08-27",
      "response_deadline": null,
      "naics": "541519",
      "set_aside": null,
      "place_of_performance": {
        "city": "Washington",
        "state": "DC"
      },
      "active": true,
      "awarded": false
    },
    {
      "notice_id": "e722cac361344849888424706eacbaf0",
      "title": "D--Cyber and Operations Assurance Program (COAP) Support Services.",
      "agency": "INTERIOR, DEPARTMENT OF THE",
      "type": "Justification",
…
Show full response
{
  "ok": true,
  "total": 38,
  "page": 1,
  "limit": 20,
  "count": 3,
  "results": [
    {
      "notice_id": "6a4ca55e1e4544fcb51d123c0d016d11",
      "title": "Enterprise Cybersecurity Services",
      "agency": "HOMELAND SECURITY, DEPARTMENT OF",
      "type": "Special Notice",
      "posted_date": "2026-08-27",
      "response_deadline": null,
      "naics": "541519",
      "set_aside": null,
      "place_of_performance": {
        "city": "Washington",
        "state": "DC"
      },
      "active": true,
      "awarded": false
    },
    {
      "notice_id": "e722cac361344849888424706eacbaf0",
      "title": "D--Cyber and Operations Assurance Program (COAP) Support Services.",
      "agency": "INTERIOR, DEPARTMENT OF THE",
      "type": "Justification",
      "posted_date": "2026-08-27",
      "response_deadline": null,
      "naics": "541512",
      "set_aside": null,
      "place_of_performance": {
        "city": null,
        "state": null
      },
      "active": true,
      "awarded": true
    },
    {
      "notice_id": "07b8aa34c78244b08b6150e51bdb0c48",
      "title": "DJ01--Cybersecurity Architecture and Engineering Services RFI Loopback (VA-26-00064748)",
      "agency": "VETERANS AFFAIRS, DEPARTMENT OF",
      "type": "Sources Sought",
      "posted_date": "2026-08-26",
      "response_deadline": "2026-08-26",
      "naics": "541512",
      "set_aside": "Service-Disabled Veteran-Owned Small Business (SDVOSB) Set-Aside (FAR 19.14)",
      "place_of_performance": {
        "city": null,
        "state": null
      },
      "active": true,
      "awarded": false
    }
  ]
}

GETTop Recipients

https://api-federal-contracts.dataandapis.com/v1/awards/recipients

This endpoint takes no parameters.

Example request

curl "https://api-federal-contracts.dataandapis.com/v1/awards/recipients" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "count": 5,
  "recipients": [
    {
      "recipient": "LOCKHEED MARTIN CORPORATION",
      "awards": 1104,
      "total_value": 414859624511.27997,
      "earliest": "1997-09-15",
      "latest_end": "2100-12-31"
    },
    {
      "recipient": "THE BOEING COMPANY",
      "awards": 765,
      "total_value": 270215097991.74,
      "earliest": "1993-11-15",
      "latest_end": "2039-09-27"
    },
    {
      "recipient": "RAYTHEON COMPANY",
      "awards": 798,
      "total_value": 161652389711.69,
      "earliest": "2001-09-27",
      "latest_end": "2034-02-28"
    },
    {
      "recipient": "LOCKHEED MARTIN CORP",
      "awards": 157,
…
Show full response
{
  "ok": true,
  "count": 5,
  "recipients": [
    {
      "recipient": "LOCKHEED MARTIN CORPORATION",
      "awards": 1104,
      "total_value": 414859624511.27997,
      "earliest": "1997-09-15",
      "latest_end": "2100-12-31"
    },
    {
      "recipient": "THE BOEING COMPANY",
      "awards": 765,
      "total_value": 270215097991.74,
      "earliest": "1993-11-15",
      "latest_end": "2039-09-27"
    },
    {
      "recipient": "RAYTHEON COMPANY",
      "awards": 798,
      "total_value": 161652389711.69,
      "earliest": "2001-09-27",
      "latest_end": "2034-02-28"
    },
    {
      "recipient": "LOCKHEED MARTIN CORP",
      "awards": 157,
      "total_value": 146699052796.02,
      "earliest": "1993-10-15",
      "latest_end": "2049-10-09"
    },
    {
      "recipient": "ELECTRIC BOAT CORPORATION",
      "awards": 33,
      "total_value": 129128462864.95,
      "earliest": "2008-12-22",
      "latest_end": "2036-06-02"
    }
  ]
}

Where the data comes from

Source
SAM.gov Contract Opportunities daily export and USAspending.gov contract awards (US Government data).
Freshness
Opportunities and awards refreshed daily.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
8endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses — auto-completion in your IDE
  • Tracks the API in lockstep — new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-federal-contracts.dataandapis.com/v1/opportunities/agencies',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Federal Contracts API · X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key
import axios from 'axios';

const url = 'https://api-federal-contracts.dataandapis.com/v1/opportunities/agencies';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time — we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales →

Questions about Federal Contracts API

Ship Federal Contracts API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.