Usaspending Scraper
Pricing
from $3.50 / 1,000 results
Go to Apify Store

Usaspending Scraper
Pricing
from $3.50 / 1,000 results
Rating
0.0
(0)
Developer
Fortuitous Pirate
Maintained by Community
Actor stats
0
Bookmarked
2
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Share
USASpending.gov Federal Spending Scraper
Overview
Extract federal spending data from USASpending. gov API. Search awards by keyword, agency, recipient, NAICS code, and amount.
Features
- Search by keywords to find specific results
- Filter results by category or type
- Export data in JSON, CSV, or Excel formats
- Control output volume with configurable result limits
- Built-in proxy support for reliable data collection
Use Cases
- Track - Track federal government data releases and updates
- Build - Build datasets for policy research and analysis
- Monitor - Monitor regulatory changes and compliance requirements
- Aggregate - Aggregate public government data for transparency projects
Input Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
dataset | string | Which dataset to query from USASpending.gov | award-search |
awardTypes | string | Comma-separated award type codes. Contracts: A,B,C,D. Grants: 02,03,04,05. Lo... | |
keywords | string | Search keywords to filter results | |
agencyName | string | Filter by awarding agency name (e.g., Department of Defense) | |
recipientName | string | Search by recipient/contractor name | |
startDate | string | Time period start date (YYYY-MM-DD). Minimum: 2007-10-01 | |
endDate | string | Time period end date (YYYY-MM-DD) | |
state | string | Two-letter state code for place of performance filter (e.g., CA, TX, NY) | |
naicsCode | string | NAICS industry code filter (e.g., 541512 for Computer Systems Design) | |
minAmount | integer | Minimum award dollar amount | |
maxAmount | integer | Maximum award dollar amount | |
maxItems | integer | Maximum number of records to return | 100 |
proxyConfiguration | object | Proxy settings (usually not needed for this API) |
Output Example
Each result contains structured data like this:
{"awardId": "ABC-12345","recipientName": "USASpending.gov Federal Spending Sample Item","awardAmount": 50000,"description": "Detailed description of the item...","startDate": "2025-01-15","endDate": "2025-01-15","awardingAgency": "Sample awardingAgency","awardingSubAgency": "Sample awardingSubAgency"}
Pricing
This actor uses pay-per-result pricing:
- $0.001 per result
- $1.00 per 1,000 results
No monthly fees. You only pay for what you scrape. Apify Free plan includes $5/month in platform credits.
How to Run
Apify Console
- Go to the USASpending.gov Federal Spending Scraper actor page
- Configure your input parameters
- Click Start and wait for the results
- Download data in JSON, CSV, or Excel format
API
curl -X POST "https://api.apify.com/v2/acts/fortuitous_pirate~usaspending-scraper/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"maxItems": 10}'
Python SDK
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("fortuitous_pirate/usaspending-scraper").call(run_input={"maxItems": 10})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Integration
Connect USASpending.gov Federal Spending Scraper with your existing tools and workflows:
- API access - Programmatic access via Apify API
- Webhooks - Get notified when scraping completes
- Scheduling - Set up recurring runs on any schedule
- Zapier / Make - Connect with 5,000+ apps via Apify integrations
- Python / Node.js SDKs - Native client libraries for easy integration