PASAR API

🇺🇸 USAspending.gov ~ federal spending & awards

← directory
U.S. Treasury (Bureau of the Fiscal Service)Government servicestier: openauth: no authpricing: freeverified 2026-07-05

Open REST API over every federal contract, grant and award; no key needed.

View docs ↗ More Government services APIs

Call it

curl 'https://api.usaspending.gov/api/v2/'

AI prompt

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.

Related Government services APIs

data.gov.sg ~ Singapore open data & real-time APIsJAKIM e-Solat Prayer Times APIWaktu Solat API (Malaysia Prayer Times)SSM e-Info Company Registry APIOpenDOSM ~ official Malaysian statisticsGLEIF LEI API ~ global Legal Entity Identifier registryCompanies House API ~ UK company registry, filings & officersSEC EDGAR APIs ~ US public-company filings & financial dataFederal Register API ~ US government documents, rules & noticesOpenSanctions API ~ global sanctions, PEP & watchlist screening