Expiring Awards

GEThttps://api-federal-contracts.dataandapis.com/v1/awards/expiring

Expiring Awards é um endpoint da Federal Contracts API. 86.500 oportunidades ativas do SAM.gov e 48.000 adjudicações acima de $1M, pesquisáveis e atualizadas diariamente.

Envie sua chave no header X-Api-Key. Cada chamada custa 1 token; uma chave gratuita inclui 500 tokens por mês.

Requisição

Parâmetros de consulta

ParâmetroExemplo
agencyDefenseOpcional
limit20Opcional
min_amount1000000Opcional
months6Opcional
naics5415Opcional
pageOpcional

Exemplo de requisição

curl
curl "https://api-federal-contracts.dataandapis.com/v1/awards/expiring?agency=Defense&limit=20&min_amount=1000000&months=6&naics=5415" \
  -H "X-Api-Key: YOUR_API_KEY"
JavaScript / TypeScript (pacote dataandapis)
// npm install dataandapis
import { DataAndApis } from "dataandapis";

const client = new DataAndApis(); // reads DATAANDAPIS_API_KEY

const data = await client.federalContracts.expiringAwards({
  agency: "Defense",
  limit: 20,
  min_amount: 1000000,
  months: 6,
  naics: 5415,
});
Node.js (fetch)
const res = await fetch("https://api-federal-contracts.dataandapis.com/v1/awards/expiring?agency=Defense&limit=20&min_amount=1000000&months=6&naics=5415", {
  headers: { "X-Api-Key": process.env.DATAANDAPIS_KEY },
});
const data = await res.json();
Python (pacote dataandapis)
# pip install dataandapis
from dataandapis import DataAndApis

client = DataAndApis()  # reads DATAANDAPIS_API_KEY

data = client.federal_contracts.expiring_awards(
    agency="Defense",
    limit=20,
    min_amount=1000000,
    months=6,
    naics=5415,
)
Python (requests)
import os, requests

r = requests.get(
    "https://api-federal-contracts.dataandapis.com/v1/awards/expiring?agency=Defense&limit=20&min_amount=1000000&months=6&naics=5415",
    headers={"X-Api-Key": os.environ["DATAANDAPIS_KEY"]},
)
data = r.json()

Guia do pacote npm dataandapis →Guia do pacote Python dataandapis →

Exemplo de resposta

Exemplo de resposta
{
  "ok": true,
  "window_months": 6,
  "count": 3,
  "results": [
    {
      "id": "CONT_AWD_HT001121F0060_9700_47QTCA21D0029_4732",
      "award_id": "HT001121F0060",
      "recipient": "LINTECH GLOBAL INC",
      "amount": 72636384.89,
      "agency": "Department of Defense",
      "period": {
        "start": "2021-07-15",
        "end": "2026-09-15"
      },
      "naics": {
        "code": "541512",
        "description": "COMPUTER SYSTEMS DESIGN SERVICES"
      },
      "description": "ANNUAL DOMAIN AND DIRECTORY SERVICES BRANCH (DDSB) SUPPORT."
    },
    {
      "id": "CONT_AWD_W15QKN22F0533_9700_W15QKN22D0020_9700",
      "award_id": "W15QKN22F0533",
      "recipient": "DECILOG, INC.",
      "amount": 25128005.2,
      "agency": "Department of Defense",
      "period": {
…
Ver resposta completa
{
  "ok": true,
  "window_months": 6,
  "count": 3,
  "results": [
    {
      "id": "CONT_AWD_HT001121F0060_9700_47QTCA21D0029_4732",
      "award_id": "HT001121F0060",
      "recipient": "LINTECH GLOBAL INC",
      "amount": 72636384.89,
      "agency": "Department of Defense",
      "period": {
        "start": "2021-07-15",
        "end": "2026-09-15"
      },
      "naics": {
        "code": "541512",
        "description": "COMPUTER SYSTEMS DESIGN SERVICES"
      },
      "description": "ANNUAL DOMAIN AND DIRECTORY SERVICES BRANCH (DDSB) SUPPORT."
    },
    {
      "id": "CONT_AWD_W15QKN22F0533_9700_W15QKN22D0020_9700",
      "award_id": "W15QKN22F0533",
      "recipient": "DECILOG, INC.",
      "amount": 25128005.2,
      "agency": "Department of Defense",
      "period": {
        "start": "2022-09-16",
        "end": "2026-09-15"
      },
      "naics": {
        "code": "541511",
        "description": "CUSTOM COMPUTER PROGRAMMING SERVICES"
      },
      "description": "N/A"
    },
    {
      "id": "CONT_AWD_HT942524C0106_9700_-NONE-_-NONE-",
      "award_id": "HT942524C0106",
      "recipient": "CHEROKEE NATION INTEGRATED HEALTH, L.L.C.",
      "amount": 9478128.12,
      "agency": "Department of Defense",
      "period": {
        "start": "2024-09-13",
        "end": "2026-09-15"
      },
      "naics": {
        "code": "541519",
        "description": "OTHER COMPUTER RELATED SERVICES"
      },
      "description": "CLOUD STORAGE SUPPORT SERVICES"
    }
  ]
}