Free data sample
Services 01Trajectories 02Difference 03Method 04Cases 05Stack 06Team 07Engagement 08 Questions 09 Web Scraping →Automation →Dashboards →Web systems → Request a Free Data Sample

Atoms / Web Scraping / Government and tender data / USAspending scraper

Government data · US federal spending

USAspending data for contractors and researchers: who wins federal money, and which contracts end next.

USAspending.gov is the official record of what the US government spends — contracts, grants, loans and the subawards beneath them, by agency, program, recipient and place. For a government contractor it answers the questions that drive capture: who holds the work today, how much the agency spends in your field and which contracts are about to end. We can collect USAspending data for the agencies, codes and recipients you choose and deliver it as recompete lists, market reports, dashboard feeds or a custom API.

  • Contracts ending in the next 12–24 months — a recompete pipeline by agency and NAICS
  • Incumbents and their award history in your market
  • Agency spending trends by product and service code, NAICS and program
  • Grants and assistance awards by program and recipient type
  • Prime-to-subaward relationships for teaming research

Tell us which data you need. We'll confirm the scope and prepare a sample for your review. No prepayment.

USAspending dataat a glance
Datacontracts, grants, loans, subawards
Filtersagency, NAICS, PSC, program, place
Keyaward ID
Historymulti-year award and transaction history
DeliveryCSV, Excel, JSON, Parquet, Sheets
IntegrationsBI dashboards, CRM, API — scoped
Paymentafter you accept the result
Request → Confirm scope → Free sample1,000+ scrapers built
Who it's for

Who uses USAspending data, and what they get from it.

SAM.gov shows what agencies plan to buy. USAspending shows what they bought, from whom and until when — the history every capture plan starts from.

CaptureRecompetes

Federal contractors and capture teams

Contracts in their space whose period of performance ends soon, with incumbent, value and agency — the pipeline to plan years ahead.

Market researchMarket sizing

GovCon research and consulting firms

Spending by agency, NAICS and PSC over time, with top recipients, for market reports and client strategy.

TeamingPartners

Teaming and subcontracting managers

Which primes use which subcontractors, on which agencies' work — a map for teaming conversations.

GrantsFunding

Grant consultants and nonprofits

Assistance awards by program, recipient type and place, to see who gets funded and for what.

ResearchAccountability

Policy researchers and journalists

Spending by program, place and recipient across years for analysis and reporting.

GovTechData layer

GovTech products

A clean, refreshed award layer for dashboards, search and analytics tools.

Data you can get

What USAspending data you can get.

Available data may include public award, transaction and subaward data from USAspending.gov, for the agencies, codes, programs and recipients in the agreed scope. The final field list is confirmed for your project.

DataWhat it isExampleWhat it is used for

Award identity

Award ID, award type (contract, IDV, grant, loan, direct payment), parent award

Contract · IDV order

Identify and group awards

Agencies

Awarding and funding agency, sub-agency and office

Department of Example · Example Command

Agency targeting

Recipient

Recipient name, identifiers, parent recipient, business types

Example Systems LLC · small business

Incumbent and competitor analysis

Amounts

Obligated amount, total outlays, current and potential award value

$12.4M obligated · $30M potential

Market sizing

Dates

Action date, period of performance start, current end and potential end

Ends 2027-09-30

Recompete pipelines

Classification

NAICS, product and service code, assistance listing for grants

541512 · D307

Segment by market

Competition

Extent competed, number of offers, set-aside, contract pricing type

Full and open · 4 offers

Bid strategy

Place of performance

City, county, state, congressional district

Huntsville, AL

Regional analysis

Transactions

Modifications and their dates and amounts

Mod P00012 · +$1.2M

Spending over time

Subawards

Sub-recipient, subaward amount and date reported by primes

Sample Tech Inc. · $850K

Teaming networks

USAspending data is open for commercial and non-commercial use, except some recipient fields licensed from Dun & Bradstreet, which have their own limits; projects are scoped accordingly. Amounts and dates are as reported by agencies and recipients, and recent quarters can be revised.

Use cases

What you can do with USAspending data.

Six ways teams use federal award data. Each one is a filter on the same structured award and transaction data.

Build a recompete pipeline

Problem

The best time to start capturing a recompete is a year or more before it is posted — but finding expiring contracts by hand is slow.

Data

Period of performance end dates, potential end dates, incumbents, values, agencies, NAICS and PSC.

Action

Contracts in your codes and agencies ending in a chosen window can be listed with incumbent, value and option history, refreshed monthly.

Result

A forward pipeline for capture planning. End dates can change with options and extensions, so each entry keeps its latest dates.

Know the incumbents in your market

Problem

Bids are won against incumbents, and their award history shows pricing, agencies and contract vehicles.

Data

Awards by recipient, agency, NAICS, PSC, amounts, competition fields.

Action

Top recipients in your market can be profiled with their awards, agencies, growth and competition details.

Result

Competitor profiles that sharpen bid/no-bid and pricing decisions.

Size an agency market

Problem

Strategy and investment decisions need a reliable view of how much an agency spends on a category, and how that is changing.

Data

Obligations by agency, sub-agency, PSC, NAICS and fiscal year.

Action

Spending can be aggregated by your categories and years, with top recipients and set-aside shares.

Result

Market sizes and trends for business plans, market reports and board updates.

Map teaming relationships

Problem

Small businesses want to know which primes subcontract work like theirs, and primes want proven subcontractors.

Data

Subawards reported by primes: sub-recipient, amount, date, prime award, agency.

Action

Prime-to-sub relationships can be compiled for your agencies and codes, with amounts and frequency.

Result

A target list for teaming outreach based on actual subcontracting history.

Track grants by program

Problem

Grant consultants and nonprofits need to see which organisations win funding in a program, and how much.

Data

Assistance awards by assistance listing, recipient type, amount, place, dates.

Action

Awards for chosen programs can be listed by recipient and place across years.

Result

A clear picture of the funding landscape to guide applications and partnerships.

Follow spending in a place

Problem

Researchers, journalists and economic developers want federal spending by county, district or city over time.

Data

Place of performance, recipient location, amounts, agencies, award types.

Action

Spending can be aggregated by geography and year, with the largest awards and recipients listed.

Result

Local spending profiles for reporting, research and economic development.

Request a Free Data Sample

Tell us which analysis you need — a recompete pipeline, incumbent profiles, market sizing or teaming maps — and we'll confirm the scope and prepare a sample.

Illustrative Data Sample

What a USAspending export can look like.

A table with one row per contract. Columns and filters are set to your task.

Award IDAgencyRecipientNAICSObligatedPotential valueCurrent endCompetition

CONT-0000001

Department of Example

Example Systems LLC

541512

$12.4M

$30.0M

2027-09-30

Full and open · 4 offers

CONT-0000002

Sample Agency

Demo Facilities Inc.

561210

$3.1M

$7.5M

2027-03-31

Small business set-aside

CONT-0000003

Test Command

Mock Cyber Group

541519

$1.9M

$4.0M

2027-06-14

8(a) sole source

CONT-0000004

Demo Health Administration

Placeholder Medical Supply

423450

$8.7M

$15.0M

2028-01-31

Full and open · 2 offers

CONT-0000005

Department of Example

Example Systems LLC

541511

$0.9M

$2.2M

2026-12-31

SDVOSB set-aside

Illustrative Data Sample. Example of a possible data export. Actual fields depend on the agreed scope, source availability and permitted access. Award IDs, agencies, recipients and figures are made up.

How you receive the data

You receive USAspending data in a format your team already uses.

We can deliver the data as CSV, Excel, JSON or Parquet files or a Google Sheet, and scope BI dashboard feeds, CRM integration, databases or a custom API based on your workflow.

StandardFiles

CSV, Excel, JSON or Parquet

A monthly recompete list, a market extract or full history for your scope.

StandardSpreadsheet

Google Sheets

A shared recompete pipeline or incumbent tracker, refreshed monthly.

ScopedPer project

Dashboards and CRM

Feeds into Power BI, Tableau or Looker, or recompetes created as opportunities in your CRM — agreed during scoping.

ScopedPer project

Database or API

Award, transaction and subaward tables in your warehouse, or a REST API — agreed during scoping.

Why Atoms

Why Atoms for USAspending data.

  • Experience with federal spending data: award types, IDVs and orders, modifications, competition fields and subawards.
  • Awards rolled up correctly from transactions and orders, so values and end dates are not double counted.
  • Award data can be joined with SAM.gov opportunities and other sources, subject to availability and project requirements.
  • Delivery that fits your workflow: recompete sheets, dashboard feeds, CRM opportunities or a custom API.
How we start

Start with a free data sample.

No prepayment: you review the sample first and pay for the agreed work only after accepting the result.

1Request

Tell us what you need

The USAspending data, the area and the fields you need, and how often. Two lines are enough.

You getA confirmed scope

2Review

Free data sample

We confirm the scope and prepare a sample of the agreed size for your review.

You getData you can check

3Run

Regular delivery

If the sample fits, we agree the schedule and price. You pay for the agreed work after accepting the result.

You getData on your schedule

Request a Free Data Sample

Tell us which data you need. We'll confirm the scope and prepare a sample for your review.

FAQ

USAspending data: questions buyers ask.

Short answers for business owners and teams.

What data can you collect from USAspending?
Contracts, grants, loans and other awards with agencies, recipients, amounts, dates, classification, competition fields and place of performance, plus transactions and subawards — for your scope.
Can you build a recompete list for my market?
Yes. Contracts in your NAICS and PSC codes and agencies with performance ending in a chosen window can be listed with incumbents, values and option history, refreshed monthly.
Can I see who subcontracts to whom?
Yes, where primes report subawards: prime-to-sub relationships can be compiled with amounts and dates for your agencies and codes.
Can I use the data commercially?
USAspending data is open for commercial use, with separate limits on some recipient fields licensed from Dun & Bradstreet; projects are scoped with that in mind.
How much does it cost?
It depends on the scope, history depth and how often you need updates. After your request we confirm the scope and prepare a free sample of agreed size; you pay for the agreed work only after accepting the result.
Can you deliver the data through an API?
Yes. We can build a custom API that returns awards, recompetes and subaward relationships for your scope as JSON, with filters and scheduled updates. It is a data delivery built for your project, not an official Treasury service.
How far back does the data go?
Award data covers many fiscal years; subaward reporting starts later. Depth for your scope is confirmed in the sample.
For technical teamsTechnical details

USAspending scraper: technical details.

For developers, CTOs and data teams: the USAspending data schema, processing challenges, custom spending data API delivery, output formats and technical FAQ.

Data schema

USAspending data fields.

Awards are keyed by award ID, with transactions, parent IDVs, subawards and derived recompete fields as related tables, delivered in a stable schema adapted to your system.

Field groupTypical fieldsNotes

Award

award_id, award_type, piid_or_fain, parent_award_id, description

award_id is the primary key

Agencies

awarding_agency, awarding_sub_agency, awarding_office, funding_agency, funding_office

Normalised hierarchy

Recipient

recipient_name, recipient_id, parent_recipient_name, business_types[], recipient_location

Some fields licensed; use scoped

Amounts

total_obligation, total_outlays, base_and_all_options_value, base_exercised_options_value

Rolled up from transactions

Dates

period_of_performance_start, current_end, potential_end, last_modified

Basis for recompete windows

Classification

naics, psc, assistance_listing, contract_pricing_type

Decoded labels kept beside codes

Competition

extent_competed, number_of_offers, set_aside_type, solicitation_procedures

Contracts

Transactions

award_id, modification_number, action_date, federal_action_obligation, action_type

Every modification

Subawards

prime_award_id, sub_recipient_name, subaward_amount, subaward_action_date

As reported by primes

Scraping specifics

What makes federal spending data hard to work with.

USAspending is open and rich, but large and layered. These are the main challenges in turning it into reliable market intelligence and how a custom service can address them.

01

Transactions versus awards

Each award is a sum of transactions and modifications. Values are rolled up correctly so totals are neither double counted nor missing later modifications.

02

IDVs and orders

Indefinite-delivery vehicles carry orders underneath them. Orders are linked to their parent vehicle so market views can be shown at either level.

03

Moving end dates

Options and extensions change period-of-performance end dates. Current and potential end dates are both kept, and recompete windows use the latest values.

04

Recipient names

The same company appears under several names, subsidiaries and parents. Recipients are grouped by identifiers and parent relationships where available.

05

Revisions and lags

Agencies submit data on schedules, and recent periods can be revised. Records keep last-modified dates and refreshes pick up revisions.

06

Licensed fields

Some recipient fields come from a commercial provider with their own use limits. These are handled separately so deliveries match the permitted use.

07

Volume

Full history is large. Only the scope you need is processed, with Parquet and warehouse delivery for analysis at scale.

Data delivery via API

USAspending Data API — custom data delivery.

Atoms can build a custom API to deliver USAspending data for your scope, based on your required fields, update schedule and integration needs — awards, recompete windows, incumbents and subaward links as structured JSON. It is a data delivery service built for your project, not the official USAspending API.

API01

How you receive the data

Your systems call a REST API set up for your project and receive JSON; full history can be delivered as Parquet alongside it.

API02

Fields you choose

Award identity, agencies, recipients, amounts, dates, NAICS, PSC, competition, place, transactions and subawards.

API03

Filters and pagination

Filter by agency, NAICS, PSC, recipient, award type, end-date window, set-aside or place; results are paginated.

API04

Updates and webhooks

Data can be refreshed on the source's update rhythm, with notifications when watched contracts get new modifications or end dates change.

API05

BI and CRM integration

Tables can feed Power BI, Tableau or Looker; recompetes can become opportunities in your CRM.

API06

Custom endpoints and access

Endpoints such as recompetes in a window, an incumbent's profile or prime-to-sub networks can be designed for your workflow, with API keys.

Request — example endpoints

GET /api/recompetes?naics=541512&agency=example&ends_between=2027-01-01,2027-12-31
GET /api/awards?recipient=example%20systems&type=contract&page=1
GET /api/market?psc=D3*&fiscal_years=2022-2026&group_by=agency
GET /api/awards/{award_id}/subawards

Webhook (sent to your URL)
POST https://your-app.example/hooks/spending
{"event": "end_date_changed", "award_id": "CONT-0000002", "new_end": "2027-09-30"}

Response — JSON

{
  "page": 1,
  "per_page": 50,
  "total": 64,
  "results": [
    {
      "award_id": "CONT-0000001",
      "awarding_agency": "Department of Example",
      "recipient": "Example Systems LLC",
      "naics": "541512",
      "psc": "D307",
      "total_obligation": 12400000,
      "potential_value": 30000000,
      "current_end": "2027-09-30",
      "extent_competed": "full_and_open",
      "number_of_offers": 4
    }
  ]
}

Illustrative API example. Endpoint structure and available fields are defined for each project.

Approach and tools

How a USAspending data pipeline is built.

A typical stack, and where the effort actually goes.

Spending data pipelines are commonly written in Python: loaders for the published award and transaction data, Parquet or a warehouse for history, rollup logic for awards and vehicles, and schedulers matched to the source's update rhythm.

The code is the smaller part. The ongoing work is rolling transactions into awards, linking orders to vehicles, tracking moving end dates, grouping recipients and handling revisions and licensed fields. That is the work a managed service can take off your team, on agreed terms.

Whatever the stack, a spending pipeline should be judged by correct rollups, reliable end dates for recompetes, clean recipient grouping and a schema your analysts can query.

Integrations and output

USAspending data output and integrations.

Standard outputs are CSV, Excel, JSON, Parquet and Google Sheets. BI, CRM, database, warehouse and API integrations are scoped per project.

JSON — one record (illustrative)

{
  "award_id": "CONT-0000002",
  "award_type": "contract",
  "awarding_agency": "Sample Agency",
  "recipient": "Demo Facilities Inc.",
  "naics": "561210",
  "set_aside": "small_business",
  "period_of_performance": {"start": "2022-04-01", "current_end": "2027-03-31", "potential_end": "2029-03-31"},
  "transactions": [
    {"mod": "0", "date": "2022-04-01", "obligation": 1200000},
    {"mod": "P00004", "date": "2026-03-15", "obligation": 650000}
  ]
}

CSV — change events (illustrative)

award_id,agency,recipient,naics,current_end,potential_value,months_to_end
CONT-0000005,Department of Example,Example Systems LLC,541511,2026-12-31,2200000,2
CONT-0000002,Sample Agency,Demo Facilities Inc.,561210,2027-03-31,7500000,5
CONT-0000003,Test Command,Mock Cyber Group,541519,2027-06-14,4000000,8

Field names, IDs, values and endpoints are illustrative. Standard options: CSV, Excel, JSON, Parquet, Google Sheets. Scoped per project: Postgres, BigQuery or Snowflake tables, BI feeds, a REST API and CRM integrations.

Build, buy or managed

Use the public tools, buy a GovCon platform or use a managed service.

Each option fits different teams. Public search suits ad-hoc questions; GovCon platforms add broad intelligence; a managed service makes sense when you need your own pipeline, definitions and integrations.

Build in-houseOff-the-shelf toolAtoms managed service

Best for

Ad-hoc questions

Broad market intelligence

Your own recompete pipeline, definitions and integrations

Rollups

You interpret transactions

Platform-defined

Awards and vehicles rolled up as you define

Recompetes

Manual filtering

Platform features

Windows, codes and agencies set to your plan

Integration

Downloads

Platform exports

BI, CRM, warehouse or custom API

Ownership

Your downloads

Licensed access

Data delivered into your systems

Delivery

Website and files

Platform interface

CSV, Excel, JSON, Parquet, Sheets, custom API

Technical FAQ

USAspending scraping: technical questions.

Questions developers ask before a project starts.

Is this the official USAspending API?
No. Atoms is not Treasury. We prepare USAspending data for your scope and can deliver it through a custom spending data API — REST endpoints returning JSON, with the fields, filters and rollups defined for your project.
What does a USAspending scraper API return?
JSON award records with identity, agencies, recipient, amounts, dates, classification, competition and place, plus transactions, subawards and derived recompete fields.
Can you work with USAspending data in Python?
Yes, Python is the usual stack. The larger effort is rolling up transactions, linking orders to vehicles, tracking end dates and grouping recipients.
How do you calculate recompete windows?
From the latest current and potential end dates after all modifications, with options and extensions reflected and the source modification shown.
How do you group recipients?
By recipient identifiers and parent relationships where available, with name normalisation for the rest and match notes kept.
How often is the data refreshed?
On the source's update rhythm; monthly refreshes suit recompete planning, and history can be reloaded when agencies revise data.
Can you export to CSV, JSON or Parquet?
Yes. CSV, Excel, JSON, Parquet and Google Sheets are standard. Database tables, BI feeds and a REST API can be scoped per project.
Can you combine this with SAM.gov opportunities?
Yes. Opportunities and awards can be linked by solicitation numbers, agencies and recipients where they match, giving a view from notice to award to recompete.
Why teams work with Atoms

An engineering team built for difficult sources.

Atoms has 1,000+ scrapers built. Projects are scoped to your task and delivered as structured data — as a one-off export or as a managed monthly service on agreed terms. NDA on request.

For government spending projects we combine data engineering with GovCon know-how: transactions rolled into awards, vehicles and orders linked, recompete windows tracked and recipients grouped, delivered as pipelines capture teams can act on.

Start here

Need federal spending data?

Tell us which data you need. We'll confirm the scope and prepare a sample for your review. Name the agencies, codes or recipients you need — a recompete pipeline, incumbent profiles, market sizing or teaming maps. You pay for the agreed work only after accepting the result.

Direct

Or see all data extraction services and scraper pages.