API · Economy
GET /economy/government-contracts
US federal contract awards by recipient, keyword or industry code.
| Request | GET /v1/economy/government-contracts |
| Operation id | economy.government_contracts.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
US federal contract awards by recipient, keyword or industry code.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
recipient | string | no | Company or organisation name. |
naics | string | no | NAICS codes (2, 4 or 6 digits), comma-separated, up to 20. |
psc | string | no | Product or service codes (1 to 4 characters), comma-separated, up to 20. |
keyword | string | no | Free text matched against award descriptions (3 to 120 characters). |
from_date | string | no | YYYY-MM-DD, from 2007-10-01. Defaults to the last complete federal fiscal year. |
to_date | string | no | YYYY-MM-DD. |
type | "purchase_order" | "delivery_order" | "definitive_contract" | "bpa_call" | "all" | no | One of purchase_order, delivery_order, definitive_contract, bpa_call, all. |
sort | "amount" | "start_date" | "end_date" | "recipient" | no | One of amount, start_date, end_date, recipient. |
order | "asc" | "desc" | no | One of asc, desc. |
limit | integer | no | Awards per page, 1 to 100. Defaults to 25. |
page | integer | no | Page number, 1 to 10000. Defaults to 1. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | A page of awards. | EconomyContracts |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No data matches. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Economy is temporarily unavailable. Retryable; nothing was charged. | Error |
EconomyContracts fields
| Field | Type | Description |
|---|---|---|
from_date | string | |
to_date | string | |
page | integer | |
limit | integer | |
has_next | boolean | |
results | object[] |
Errors use one shape everywhere; see Errors for every code and what to do.