Top Recipients

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

Top Recipients é 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

Este endpoint não recebe parâmetros.

Exemplo de requisição

curl
curl "https://api-federal-contracts.dataandapis.com/v1/awards/recipients" \
  -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.topRecipients();
Node.js (fetch)
const res = await fetch("https://api-federal-contracts.dataandapis.com/v1/awards/recipients", {
  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.top_recipients()
Python (requests)
import os, requests

r = requests.get(
    "https://api-federal-contracts.dataandapis.com/v1/awards/recipients",
    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,
  "count": 5,
  "recipients": [
    {
      "recipient": "LOCKHEED MARTIN CORPORATION",
      "awards": 1104,
      "total_value": 414859624511.27997,
      "earliest": "1997-09-15",
      "latest_end": "2100-12-31"
    },
    {
      "recipient": "THE BOEING COMPANY",
      "awards": 765,
      "total_value": 270215097991.74,
      "earliest": "1993-11-15",
      "latest_end": "2039-09-27"
    },
    {
      "recipient": "RAYTHEON COMPANY",
      "awards": 798,
      "total_value": 161652389711.69,
      "earliest": "2001-09-27",
      "latest_end": "2034-02-28"
    },
    {
      "recipient": "LOCKHEED MARTIN CORP",
      "awards": 157,
…
Ver resposta completa
{
  "ok": true,
  "count": 5,
  "recipients": [
    {
      "recipient": "LOCKHEED MARTIN CORPORATION",
      "awards": 1104,
      "total_value": 414859624511.27997,
      "earliest": "1997-09-15",
      "latest_end": "2100-12-31"
    },
    {
      "recipient": "THE BOEING COMPANY",
      "awards": 765,
      "total_value": 270215097991.74,
      "earliest": "1993-11-15",
      "latest_end": "2039-09-27"
    },
    {
      "recipient": "RAYTHEON COMPANY",
      "awards": 798,
      "total_value": 161652389711.69,
      "earliest": "2001-09-27",
      "latest_end": "2034-02-28"
    },
    {
      "recipient": "LOCKHEED MARTIN CORP",
      "awards": 157,
      "total_value": 146699052796.02,
      "earliest": "1993-10-15",
      "latest_end": "2049-10-09"
    },
    {
      "recipient": "ELECTRIC BOAT CORPORATION",
      "awards": 33,
      "total_value": 129128462864.95,
      "earliest": "2008-12-22",
      "latest_end": "2036-06-02"
    }
  ]
}