PASAR API
Open REST API over every federal contract, grant and award; no key needed.
View docs ↗ More Government services APIscurl 'https://api.usaspending.gov/api/v2/'
I'm building an app using a free United States API (no auth needed). API: USAspending.gov ~ federal spending & awards Provider: U.S. Treasury (Bureau of the Fiscal Service) Endpoint: GET https://api.usaspending.gov/api/v2/ It returns JSON. Source: U.S. Treasury (Bureau of the Fiscal Service) (https://api.usaspending.gov/) Source type: Official open-data catalogue Endpoint type: Open-data catalogue JSON Integration difficulty: Copy-paste ready Last checked: 2026-07-05 Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures. Help me fetch this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.