---
title: "Government Contracts"
method: GET
path: "/government-contracts"
tags: ["Government Contracts"]
---

# Government Contracts

`GET /government-contracts`

## Request

- Base URL: `https://api.dataporium.io`
- URL: `https://api.dataporium.io/government-contracts`
- Auth: API key in query parameter `apikey`

Federal government prime contracts of listed companies, from official US government data: contract awards of $1 million or more with the agency, amount, award date, period of performance, place of performance, product or service category and description. A company includes the units it owns today.

All filters are optional and can be combined. The answer is {total, limit, offset, sort, order, data_as_of, latest_award_date, rows, about}. The demo key works with symbol=AAPL, MSFT or WMT.

## Query parameters

- `symbol` string
- `q` string
- `agency` string
- `sub_agency` string
- `award_type` string
- `min_amount` number
- `max_amount` number
- `fiscal_year` integer
- `date_from` string
- `date_to` string
- `state` string
- `product_code` string
- `naics_code` string
- `active_only` boolean
- `sort` string
- `order` string
- `limit` integer
- `offset` integer

## Response `200`

Successful response (JSON).

- object

## Other responses

- `401`: No API key in the request.
- `403`: The API key is not valid or has expired.

---

[API](https://skmtc.dev/dataporium/apis/dataporium-data-api.md) · [All operations](https://skmtc.dev/dataporium/apis/dataporium-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dataporium/apis/dataporium-data-api/revisions/8bc593179dc8?raw)
