Public Spending Explorer

Search government contracts and grants: who pays whom, totals per agency and vendor.

Full-text keyword (award description / notice text).

Optional. USAspending: recipient_search_text; TED: winner-name contains.

More options

Default: 365 days before today.

Default: today.

Response of USAspending POST /api/v2/search/spending_by_award/ or TED POST /v3/notices/search.

Try an example:

More about this tool

Part of RavingDesk Public technical data explorers

How it works

Searches US federal awards on USAspending.gov (contracts, IDVs, grants, other assistance) or EU contract award notices on TED, then totals the results per agency/buyer and per recipient and draws the agency → recipient relationship graph. Paste a saved API response to analyse it offline.

  • USAspending: POST https://api.usaspending.gov/api/v2/search/spending_by_award/ with filters {keywords, recipient_search_text, award_type_codes (one group), time_period}, sorted by "Award Amount" descending. "Award Amount" is the award's total obligated value, not only the money obligated inside the period.
  • For live USAspending searches the tool also calls spending_by_category/awarding_agency and /recipient (obligations of all matching transactions inside the period) and spending_by_award_count (counts per award group), so the totals are not limited to the listed page.
  • TED: POST https://api.ted.europa.eu/v3/notices/search (anonymous, no key) with an expert query restricted to contract award notices (can-standard, can-social, can-desg, can-tran) and the publication-date range. Multilingual names prefer English. Notice values are not split between several winners and are summed per currency — currencies are never converted.
  • Per-buyer and per-recipient totals sum only the awards listed (top N by amount for USAspending, newest N for TED). The graph links each buyer/agency to its recipients (edge = summed listed value), keeping the largest relationships up to 60 nodes.

Award data is reported by agencies and may be revised; amounts are nominal and unconverted.

Sources

Use this tool in an app

These free programs for your browser have this tool built in, next to everything else the task needs.

  • RavingDesk Paper trading & data workspace

    Practise trading on paper and chart your data: orders, risk, datasets, analyses, reports.

    Open RavingDesk

Related tools

  • Energy Grid Explorer – Generation mix, load, renewable share, cross-border flows and power prices for European grids.
  • Software Adoption Explorer – Open-source usage signals: weekly downloads, growth and version adoption for npm, PyPI, crates.

How to use the Public Spending Explorer

Search US federal awards on USAspending.gov or EU contract award notices on TED and see totals per agency and recipient, plus who pays whom.

What it is for

Journalists, researchers, sales teams and curious taxpayers all ask the same questions: who got the money, from which agency, and how much? The official portals answer them, but you have to learn their filters, and the raw API responses are long JSON lists.

This explorer searches two public sources. USAspending.gov covers US federal contracts, IDVs, grants and other assistance. TED (Tenders Electronic Daily) covers EU contract award notices. Search by keyword, recipient name and date range, then see the awards sorted, totals per agency or buyer and per recipient, and a graph of who pays whom. You can also paste a saved API response to analyse it offline.

Amounts are what the agencies reported. They can be revised later and are never converted between currencies. The disclaimer on the tool says this too.

Worked example

The built-in example is a pasted USAspending response: the eight largest grants matching "wildfire" in fiscal year 2026.

Result: 8 awards listed worth 2.68 B USD; largest recipient FLORIDA DEPARTMENT OF ENVIRONMENTAL PROTECTION (1.65 B USD), top agency Environmental Protection Agency.

The breakdown:

  • Environmental Protection Agency: 2.39 B USD across 5 awards. Two went to Florida ($844.7 M and $806.4 M), two to the Georgia Environmental Finance Authority (484.4 M together) and one to North Carolina ($253.7 M).
  • Department of Energy: 289.5 M USD across 3 awards of about $96 M each, to Midwest Energy, Holy Cross Electric Association and Xcel Energy Services.

A warning notes that more matching awards exist than were listed, so these sums cover only the eight in the paste.

The same search run live with 10 results also returned official totals across all matching transactions. EPA led with $2.18 B, followed by the Department of Agriculture ($463 M). The award counts showed 1,398 grants and 520 contracts matching "wildfire".

How to read the result

  • Awards — ID, agency (and sub-agency), recipient, amount, period and a link to the official award page.
  • Totals by agency and recipient — sums of the listed awards only.
  • Official totals (live USAspending only) — obligations of all matching transactions in the period, per agency and recipient, plus award counts per type. Use these for "how much in total" questions.
  • Graph — agencies or buyers linked to recipients, with edges sized by the summed amounts. It shows up to 60 nodes.
  • Warnings — for example, more results exist, other currencies were reported separately, or some awards have no published value.

Tips and common mistakes

  • USAspending's "Award Amount" is the award's total obligated value, not only the money spent inside your date range. A multi-year grant counts in full.
  • Pick one award type at a time. Contracts and grants come from different award groups and cannot be mixed in one search.
  • On TED, values are summed per currency. A search for "school bus" returned Icelandic awards in ISK plus a Norwegian one in NOK, and those are listed separately and not converted.
  • TED notices with several winners keep the full value under one combined recipient name ("Ben og félagar (+1 more)"). The value isn't split between them.
  • Recipient names aren't normalised. "XCEL ENERGY SERVICES INC." and a subsidiary appear as different rows.

FAQ

Do I need an API key?

No. Both USAspending.gov and the TED search API are queried anonymously.

Why do the listed totals differ from the official totals?

Listed totals add up only the top results by award amount. Official totals come from USAspending's category endpoints and cover every matching transaction within the period.

Can I search EU awards by country?

Yes. Enter the buyer country as an ISO 3166 alpha-3 code, for example DEU or FRA, when the source is TED.

Are the amounts adjusted for inflation?

No. All amounts are nominal, exactly as reported.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://publicspendingexplorer.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://publicspendingexplorer.usefulweb.site/mcp · tool name public_spending_explorer
Example request
curl -s -X POST https://publicspendingexplorer.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{…see OpenAPI examples…}'
Feedback · ideas & bug reports welcome