GroundsocialDocs

API · Economy

GET /economy/government-contracts

US federal contract awards by recipient, keyword or industry code.

RequestGET /v1/economy/government-contracts
Operation ideconomy.government_contracts.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

US federal contract awards by recipient, keyword or industry code.

Query parameters

NameTypeRequiredDescription
recipientstringnoCompany or organisation name.
naicsstringnoNAICS codes (2, 4 or 6 digits), comma-separated, up to 20.
pscstringnoProduct or service codes (1 to 4 characters), comma-separated, up to 20.
keywordstringnoFree text matched against award descriptions (3 to 120 characters).
from_datestringnoYYYY-MM-DD, from 2007-10-01. Defaults to the last complete federal fiscal year.
to_datestringnoYYYY-MM-DD.
type"purchase_order" | "delivery_order" | "definitive_contract" | "bpa_call" | "all"noOne of purchase_order, delivery_order, definitive_contract, bpa_call, all.
sort"amount" | "start_date" | "end_date" | "recipient"noOne of amount, start_date, end_date, recipient.
order"asc" | "desc"noOne of asc, desc.
limitintegernoAwards per page, 1 to 100. Defaults to 25.
pageintegernoPage number, 1 to 10000. Defaults to 1.

Responses

StatusMeaningSchema
200A page of awards.EconomyContracts
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No data matches.Error
429Too many requests. Wait for Retry-After seconds.Error
503Economy is temporarily unavailable. Retryable; nothing was charged.Error

EconomyContracts fields

FieldTypeDescription
from_datestring
to_datestring
pageinteger
limitinteger
has_nextboolean
resultsobject[]

Errors use one shape everywhere; see Errors for every code and what to do.