Skip to main content
POST
Returns the US federal contracts or grants held by a recipient, found by name or Unique Entity Identifier (UEI), largest first, from the award records of the US Department of the Treasury: value, dates, awarding agency, description and link. The date filter is not an overlap filter: an award may have ended before the period or start after it.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

string
Recipient name, for example LOCKHEED MARTIN CORPORATION. A text match: similarly named recipients are returned too. 3 to 120 characters.
string
The recipient’s Unique Entity Identifier. Preferred over a name. A UEI is 12 letters and digits.
string
required
Which group of awards to list. One of contracts, grants.
string
Start of the period to search, not before 2007-10-01. Default: three years before active_before. Use YYYY-MM-DD.
string
End of the period to search. Default: today. Use YYYY-MM-DD.
integer
Most awards to return, largest first. From 1 to 25. Defaults to 10.

Response (200 OK)

Top-level envelope: success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status: completed
string
Always company_federal_awards
object
The answer, described under Result below
object
Where the answer came from and when
boolean
true when the answer was served from OneShot’s store of earlier lookups (or its own copy of a public dataset), false when the source was asked for this call
string
When the record was obtained from its source, as an ISO 8601 UTC time; equals evidence.retrieved_at
string
The public body the data comes from. Always US Department of the Treasury.
string
public when the data comes from a public body, commercial otherwise
string
When the lookup was made, as an ISO 8601 UTC time
string | null
When the source says the fact was last updated, or null when the source gives no date

Result

Nested under data.result.
string
Kind.
boolean
True when more awards matched than were returned.
object[]
Largest first; empty when the recipient holds none in the period.
string | null
The award’s identifier (contract number or assistance award number). null when the source gives no value.
string | null
The recipient as named on the award; a name search also returns similarly named recipients. null when the source gives no value.
string | null
The recipient’s Unique Entity Identifier; use it to tell recipients apart. null when the source gives no value.
number | null
Total value of the award in US dollars. null when the source gives no value.
string | null
Start date of the award, YYYY-MM-DD. null when the source gives no value.
string | null
End date of the award, YYYY-MM-DD, when it has one. null when the source gives no value.
string | null
Awarding agency. null when the source gives no value.
string | null
Awarding sub-agency. null when the source gives no value.
string | null
Description. null when the source gives no value.
string | null
NAICS code (contracts only). null when the source gives no value.
string | null
NAICS description (contracts only). null when the source gives no value.
string | null
Product or service code, PSC (contracts only). null when the source gives no value.
string | null
Product or service description (contracts only). null when the source gives no value.
string | null
Link to the award record. null when the source gives no value.
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers 200.

Notes

  • Give exactly one of recipient and uei, and kind (contracts or grants): contracts and grants are separate groups and cannot be mixed in one call.
  • Each award has its identifier, recipient name and UEI, total value in US dollars, start and end dates, awarding agency and sub-agency, description and a link to the award record; contracts also carry the industry (NAICS) and product or service (PSC) codes.
  • Searches by date: returns the awards the source lists for the period from active_after to active_before (default: the last three years up to today; nothing before 2007-10-01). That is not the same as awards running in the period: the source does not limit rows to awards that overlap it. Read each row’s start and end dates to judge whether it is current.
  • A name is a text match, so similarly named recipients come back too: tell them apart by the recipient name and UEI on each row, and prefer the UEI when you have it.
  • has_more is true when more awards exist than limit. No awards is a completed result with an empty list.
  • Covers US federal awards only.
  • Results return inline. The finished job stays available at /v1/requests/{request_id}