Skip to the content

Scraper API

USAspending

usaspending.awardAvailable

US federal award

The award in full: amounts and ceiling, dates, agencies and office, recipient and parent, place of performance, NAICS and PSC codes, competition, offers, set-aside, and subawards.

Give it USAspending's id of an award, or its address.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
1, 1 required
Record
40 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/usaspending.award/runs

{
"input": {
"award": "CONT_AWD_FA862118F6251_9700_FA862115D6276_9700"
}
}

sent, and answered

a record of the run40 fields

{
internal_id: "CONT_AWD_FA862118F6251_9700_FA862115D6276_9700"
award_id: "FA862118F6251"
url: "https://www.usaspending.gov/award/CONT_AWD_FA862118F6251_9700_FA862115…
category: "contract"
type_description: "DELIVERY ORDER"
description: "IGF::OT::IGF AFSOC ACTS AWARD OF CONTRACT FOR CLS, ENGINEERING, INSTRU…
amount: 666315748.84
base_and_all_options: 731294259.09
date_signed: "2018-02-08"
… 31 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 40 fields are set down here; the whole record is below.

usaspending.gov
The page US federal award reads, as a browser shows it
The page this scraper reads, photographed in a browser on 23 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Read a contract in full
Get an award's amount, ceiling, dates, office and competition in one record.
Size a recompete
Use offers_received, set_aside and potential_end_date to judge the next round.
Map the supply chain
Follow parent_name, subaward_count and subaward_amount to see who stands behind the prime.

What you send

USAspending's id of an award, or its address. It is the one input.

awardstring Required
USAspending's id of the award, as usaspending.awards gives it in internal_id, or its address on usaspending.gov.

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/usaspending.award/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"award":"CONT_AWD_FA862118F6251_9700_FA862115D6276_9700"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("usaspending.award", {
    "award": "CONT_AWD_FA862118F6251_9700_FA862115D6276_9700",
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("usaspending.award", {
  award: "CONT_AWD_FA862118F6251_9700_FA862115D6276_9700",
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "usaspending.award", map[string]any{"award": "CONT_AWD_FA862118F6251_9700_FA862115D6276_9700"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("usaspending.award", Map.of("award", "CONT_AWD_FA862118F6251_9700_FA862115D6276_9700"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run usaspending.award --input award=CONT_AWD_FA862118F6251_9700_FA862115D6276_9700

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

The award in full: amounts and ceiling, dates, agencies and office, recipient and parent, place of performance, NAICS and PSC codes, competition, offers, set-aside, and subawards. A record has 40 fields. One we could not read is null, never an empty string or a zero.

A record usaspending.award returned
{
  "internal_id": "CONT_AWD_FA862118F6251_9700_FA862115D6276_9700",
  "award_id": "FA862118F6251",
  "url": "https://www.usaspending.gov/award/CONT_AWD_FA862118F6251_9700_FA862115D6276_9700",
  "category": "contract",
  "type_description": "DELIVERY ORDER",
  "description": "IGF::OT::IGF AFSOC ACTS AWARD OF CONTRACT FOR CLS, ENGINEERING, INSTRUCTION, CYBERSECURITY, DMO",
  "amount": 666315748.84,
  "base_and_all_options": 731294259.09,
  "date_signed": "2018-02-08",
  "start_date": "2018-02-08",
  "end_date": "2027-01-31",
  "potential_end_date": "2027-01-31",
  "last_modified_date": "2026-06-15",
  "awarding_agency": "Department of Defense",
  "awarding_sub_agency": "Department of the Air Force",
  "awarding_office": "FA8621 AFLCMC WNSK SIMS",
  "funding_agency": "Department of Defense",
  "recipient_name": "LOCKHEED MARTIN CORPORATION",
  "recipient_id": "ea75ddee-2d00-ac7f-5e72-6f42d7c88c8c-C",
  "recipient_uei": "KDT2YLB34NT6",
  "parent_name": "LOCKHEED MARTIN CORP",
  "recipient_city": "ORLANDO",
  "recipient_state": "FL",
  "recipient_country": "UNITED STATES",
  "business_categories": [
    "Category Business",
    "Corporate Entity Not Tax Exempt",
    "Manufacturer of Goods"
  ],
  "performance_city": "ORLANDO",
  "performance_state": "FL",
  "performance_country": "UNITED STATES",
  "naics_code": "336413",
  "naics_description": "Other Aircraft Parts and Auxiliary Equipment Manufacturing",
  "psc_code": "J069",
  "psc_description": "MAINT/REPAIR/REBUILD OF EQUIPMENT- TRAINING AIDS AND DEVICES",
  "competition": "FULL AND OPEN COMPETITION",
  "offers_received": 4,
  "set_aside": null,
  "solicitation_id": null,
  "parent_award_id": "FA862115D6276",
  "subaward_count": 509,
  "subaward_amount": 533126904.2,
  "fetched_at": "2026-11-23T23:15:36.512516Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: business_categories: 6 items, the first 3 shown.

The fields of a record

internal_idstring
USAspending's id of the award.
award_idstring or null
The award's number (PIID or FAIN).
urlstring
The award's page on usaspending.gov.
categorystring or null
contract, idv, grant, loans, direct payment or other.
type_descriptionstring or null
The type of award, e.g. DELIVERY ORDER.
descriptionstring or null
The award's description.
amountnumber or null
The total obligated, in US dollars.
base_and_all_optionsnumber or null
The ceiling with every option exercised, in US dollars.
date_signedstring or null
The day it was signed, YYYY-MM-DD.
start_datestring or null
The start of the period of performance, YYYY-MM-DD.
end_datestring or null
Its current end, YYYY-MM-DD.
potential_end_datestring or null
Its end with every option, YYYY-MM-DD.
last_modified_datestring or null
The day the award last changed, YYYY-MM-DD.
awarding_agencystring or null
The department that made the award.
awarding_sub_agencystring or null
The agency within it.
awarding_officestring or null
The contracting office.
funding_agencystring or null
The department that pays for it.
recipient_namestring or null
Who received the award.
recipient_idstring or null
USAspending's id of the recipient.
recipient_ueistring or null
The recipient's Unique Entity ID.
parent_namestring or null
The recipient's parent company.
recipient_citystring or null
The recipient's city.
recipient_statestring or null
The recipient's state, as two letters.
recipient_countrystring or null
The recipient's country.
business_categorieslist of strings
The recipient's business categories, as USAspending lists them.
performance_citystring or null
Where the work is done: the city.
performance_statestring or null
Where the work is done: the state, as two letters.
performance_countrystring or null
Where the work is done: the country.
naics_codestring or null
The NAICS industry code.
naics_descriptionstring or null
What that code means.
psc_codestring or null
The product or service code.
psc_descriptionstring or null
What that code means.
competitionstring or null
How it was competed, e.g. FULL AND OPEN COMPETITION.
offers_receivedinteger or null
How many offers were received.
set_asidestring or null
The small-business set-aside, if any.
solicitation_idstring or null
The solicitation's number.
parent_award_idstring or null
The number of the vehicle this order is placed under.
subaward_countinteger or null
How many subawards are reported.
subaward_amountnumber or null
Their total, in US dollars.
fetched_atdatetime
When USAspending was asked, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • Officers' names are not returned, and a recipient's place is its city, state and country.
  • An id USAspending does not have ends as failed with the reason not_found, and costs nothing.

Scraper API pricing: how units workThe five ways a run ends

Questions

What does US federal award return?

The award in full: amounts and ceiling, dates, agencies and office, recipient and parent, place of performance, NAICS and PSC codes, competition, offers, set-aside, and subawards. A record has 40 fields, among them internal_id, award_id, url, category, type_description and description. A value that could not be read is null, never an empty string or a zero.

What do I send?

USAspending's id of an award, or its address. The input award is required.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

What does it not do?

Officers' names are not returned, and a recipient's place is its city, state and country. An id USAspending does not have ends as failed with the reason not_found, and costs nothing.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id usaspending.award and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs US federal award as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • Public sector

    Tender Change Watch

    The tenders, grants and awards you watch, read again each run, with a row only when a deadline, status or value changed.

USAspending

US federal contracts, grants and other awards from USAspending.gov: searches, one award in full, and the companies that receive them.

  • US federal awards search

    usaspending.awards

    Words, a recipient, an agency, a NAICS code, a state or dates. Federal awards: number, recipient, amount, agency, dates, description, NAICS and PSC codes or assistance listing, with the ids that read the award and the recipient in full.

  • US federal award recipient

    usaspending.recipient

    USAspending's id of a recipient, or a company's name. The recipient: name, Unique Entity ID, level, parent, business types, place, and what it received in the last 12 months.

USAspending on the line-up

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.