DocsIntegrations

USAspending

USAspending lets Mobius assistants search federal contract and grant awards and the businesses that won them.

A USAspending integration lets an assistant look up who won federal money: which businesses signed new contracts in a county last month, for how much, with which agency, and for what work. The data comes from USAspending.gov, the government's public record of federal awards.

Say your firm advises government contractors. An assistant can list the small businesses in Fairfax and Loudoun counties that won a new federal contract in the last 60 days, save the list to a table, and a routine can refresh it every Monday.

USAspending is off until an admin turns it on. There is no account to open and no key to paste: the data is public, and the tools cost no credits. Every action only reads, so an assistant's Ask before a tool runs setting never asks about one.

Capability map

CapabilityValue
Provider IDusaspending
Auth kindnone
Connect flowTurn on. No key
ActionsYes
EventsNo
Webhook deliveryNo
Event samplesNo
Live statusNo

Turn on USAspending

SurfaceSupport
AppOpen Build > Integrations, choose USAspending, and click Turn on.
CLIThe mobius CLI does not turn on USAspending yet. Use the app or API. Inspect actions with mobius catalog get-action usaspending.recipient.search.
APICall POST /v1/integrations with { "provider": "usaspending" }.

Only an Admin or Owner can turn USAspending on or off. Then add the USAspending tools to each assistant that should use them, under Assistant access, like any other connection. For a routine, also add the USAspending connection under the routine's Accounts.

To turn USAspending off, remove the connection. New calls stop at once, and the tools tell the assistant that an admin can turn USAspending back on.

Actions

usaspending.agency.list
usaspending.award.get
usaspending.award.search
usaspending.location.search
usaspending.recipient.get
usaspending.recipient.search

Start with usaspending.recipient.search when you want one row per company, or usaspending.award.search when you want one row per award. Both take the same filters. Then use usaspending.recipient.get for a company's address and business types, or usaspending.award.get for everything about one award.

Two lookups supply the exact values a search needs. usaspending.location.search finds the code USAspending uses for a county, and usaspending.agency.list gives each agency's exact name.

How searches behave

USAspending answers a misspelled business type, county, or agency with an empty list and no warning. The search tools check business types, states, and other fixed values before they search, and return an error that names the valid choices. An agency name is checked against the agency list, so DOD gets an error that says to send Department of Defense instead. County codes, sub-agency names, and award numbers can't be checked that way, so when a search that uses one comes back empty, the results say how to confirm it.

  • New awards by default. A search counts only awards first obligated inside the date window, which is when the government first commits money to them. That's usually the day the award was signed, but a contract vehicle that started earlier can count as new if its first obligation falls in the window. Turn off new_awards_only to also count old awards that were changed or paid during the window. That list is much longer, and most of it is not new business.
  • Counties by code. Ask for Fairfax or Loudoun, and the assistant looks up each county's code, then searches with it. In Virginia and a few other states, independent cities are separate from counties: Fairfax city and Falls Church are not part of Fairfax County. Each city is its own entry in the lookup with its own code, so to cover Fairfax County and Fairfax city, search both codes.
  • One kind of award per search. Choose contracts, indefinite delivery vehicles (IDVs), grants, direct payments, loans, or other assistance. An IDV is a contract vehicle that later orders draw on, such as a governmentwide acquisition contract (GWAC).
  • Dates are optional. Leave out both dates to search everything USAspending has, back to October 1, 2007. Send both or neither. With no dates there's no window for an award to be new in, so new_awards_only does nothing, and the results show the window the search used.
  • Look up an award you already know. Send its award number, the PIID of a contract or the FAIN of a grant, in award_ids and leave out the dates. The number has to match exactly, capital letters included, and the kind of award has to match too: a grant's number only turns up in a grant search. The row that comes back carries the key usaspending.award.get needs.
  • Find a company by name or UEI. recipient matches any recipient whose name or Unique Entity ID (UEI, the ID an organization gets when it registers with SAM.gov) contains the text, in any capitalization. It also matches a recipient whose parent company does, so a search for one company can return its subsidiaries as separate rows.
  • Two kinds of amount. A company's total in usaspending.recipient.search counts only the money obligated to it inside the date window. An award's amount in usaspending.award.search is the award's total over its whole life. The two don't add up to each other.
  • Rows with no named recipient. Direct payments, loans, and other assistance often appear as MULTIPLE RECIPIENTS. USAspending publishes those as one combined total, so there is no company profile to open.
  • Sub-agencies by exact name. awarding_sub_agency narrows a search to one part of an agency, such as Department of the Army. Copy the name from the sub-agency on an award row. You can send it alone or with its top-level agency.
  • Defense data arrives late. The Department of Defense publishes contract data about 90 days after an award, and the award keeps its original date. A window inside the last 90 days is missing Defense awards. The results give the date Defense data is complete through and the date to search the same window again. A weekly routine should also search the week that ended 90 days ago, so that week's Defense awards make it onto your list.
  • Paging stops at 10,000 rows. For a larger set, narrow the window, the places, or the industry codes.

A company's profile from usaspending.recipient.get says which period its totals cover: the last 12 months unless you ask for all time or one fiscal year. Its business types collect every type the company has had on any award, so one company can be listed as both small and other than small. Whether it counted as small on a particular award is in that award's profile from usaspending.award.get, where the same types appear under display names such as Small Business.

Events

USAspending does not register source events.

Next

  • Grant read-only actions to an assistant from actions.
  • Keep a lead list current with tables and routines.