USAspending Scraper

USAspending Scraper

by parseforge

Automatically extract federal spending data on contracts, grants, and awards from USAspending.gov. Perfect for researchers, analysts, and businesses needing accurate government spending insights.

18 runs
3 users
Try This Actor

Opens on Apify.com

About USAspending Scraper

Need to track federal spending but dread the manual data hunt? I built this USAspending scraper to automate the tedious work of pulling data from the official source. It collects the raw details on awards, contracts, grants, and loans so you don't have to. If you're a researcher, policy analyst, or running a business that bids on government contracts, you know how crucial accurate, up-to-date information is. This actor handles the extraction, letting you focus on the analysis. It's perfect for building datasets for market research, monitoring grant distributions, or keeping tabs on contract awards in your sector. I use it to gather clean, structured data that I can then feed into my own dashboards and reports, saving hours of copying and pasting. Set it up on a schedule to keep your data fresh, or run it for one-off deep dives into specific agencies or spending categories. It turns the USAspending.gov database into a usable resource without the manual overhead.

What does this actor do?

USAspending Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

USAspending Scraper

Overview

This actor scrapes federal spending data from USAspending.gov, the official U.S. government transparency site. It automates the collection of detailed award information—including contracts, grants, loans, and other financial assistance—for analysis, research, and business intelligence.

Key Features

  • Comprehensive Data Extraction: Pulls award details (ID, type, amount, dates), recipient information (name, location, UEI), agency data, location info, and classification codes (NAICS, PSC).
  • Flexible Filtering: Supports extensive search parameters including award type, date ranges, amount ranges, keywords, recipient details, agency names, and location filters.
  • High-Volume Collection: Can collect up to 1,000,000 records per run.
  • Structured Output: Delivers data in a clean, downloadable format.

How to Use

Configure the actor using the input form. You can filter data using a wide array of parameters. Important: Use either a startUrl OR the API filters below, not both. The filters offer greater flexibility and are recommended.

Primary Input Parameters

  • Award Type: Filter by contracts, grants, loans, IDVs, etc.
  • Spending Level: Choose 'awards' or 'sub-awards'.
  • Time Period: Set startDate and endDate (YYYY-MM-DD).
  • Award Amount Range: Define min/max dollar values.
  • Keywords: Search terms within award descriptions.
  • Recipients: Filter by name, UEI, or DUNS number.
  • Agencies: Filter by awarding or funding agency names.
  • Location: Filter by recipient location or place of performance country.
  • Codes: Filter by NAICS or PSC codes.
  • Sorting: Sort by field (e.g., Award Amount) and order (asc/desc).
  • maxItems: Limit the total records collected (1-1,000,000). Leave empty for no limit.

Example Input (JSON)

{
  "awardType": "contracts",
  "spendingLevel": "awards",
  "startDate": "2024-01-01",
  "endDate": "2024-12-31",
  "awardingAgencies": ["Department of Energy"],
  "sort": "Award Amount",
  "order": "desc",
  "maxItems": 10
}

Tip: Use the Advanced Search on USAspending.gov to refine your parameters, then replicate them in the actor's input.

Input/Output

Input: Configure the run via the Apify console input form or by passing a JSON configuration like the example above.

Output: After the run completes, the dataset is available in the Apify dataset store. You can download the results in multiple formats: JSON, CSV, Excel, XML, or HTML. The dataset contains structured records with all scraped fields for the filtered awards.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try USAspending Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
parseforge
Pricing
Paid
Total Runs
18
Active Users
3
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support