usaspending.gov API: search_spending_by_category
usaspending.gov via Parse · government_public
Search for spending grouped by a category such as awarding agency, recipient, or geographic area. A default time_period filter covering the past year is applied if none is provided in filters. Returns the top results by amount for the chosen category. API to extract and analyze US Federal government spending, awards, and contract data from USASpending.gov. Fulfilled by Parse from usaspending.gov.
- b2b-directory
- finance
- government-public
- parse
- platform-key
- usaspending-gov
Price and execution
- Price
- $0.02 USD credits / call
- Trust tier
- Verified
- Execution
- Managed call
- Capability group
- government_public
Interface snapshot
- Protocol
- HTTP operation
- Operation
- POST /scraper/5b0e32c7-a0f5-44e5-b985-35a41a088f63/search_spending_by_category
- Interface artifact
- sha256:e5d65565845fff7637a73d22a9cbf2beb010d760514d12469f7cd42011104195
- Manifest digest
- sha256:c78a852f45432f9071c10de8969065552cba2fb7780e679736b3fa2caa34df76
Request fields
- filters (object): JSON object of filters including time_period, keywords, award_type_codes, etc. If time_period is not specified, defaults to the past year from today.
- category (string): Category to group spending by. Accepted values: 'awarding_agency', 'awarding_subagency', 'funding_agency', 'funding_subagency', 'recipient_duns', 'recipient_parent_duns', 'county', 'district', 'state_territory', 'country', 'federal_account', 'cfda', 'naics', 'psc'.: Allowed values: awarding_agency, awarding_subagency, funding_agency, funding_subagency, recipient_duns, recipient_parent_duns, county, district, state_territory, country, federal_account, cfda, naics, psc
Example queries
- {"filters":"{}","category":"awarding_agency"}