# usaspending.award

One US federal award from USAspending.gov in full: amounts, dates, agencies, recipient and parent, place of performance, NAICS and PSC codes, competition, set-aside and subawards.

US federal award, one of the USAspending scrapers.

| | |
| --- | --- |
| Id | `usaspending.award` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/usaspending.award/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `award` | string | yes | USAspending's id of the award, as `usaspending.awards` gives it in `internal_id`, or its address on usaspending.gov. Limit: at least 8 characters, at most 260 characters. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `internal_id` | string | USAspending's id of the award. |
| `award_id` | string or null | The award's number (PIID or FAIN). |
| `url` | string | The award's page on usaspending.gov. |
| `category` | string or null | `contract`, `idv`, `grant`, `loans`, `direct payment` or `other`. |
| `type_description` | string or null | The type of award, e.g. `DELIVERY ORDER`. |
| `description` | string or null | The award's description. |
| `amount` | number or null | The total obligated, in US dollars. |
| `base_and_all_options` | number or null | The ceiling with every option exercised, in US dollars. |
| `date_signed` | string or null | The day it was signed, `YYYY-MM-DD`. |
| `start_date` | string or null | The start of the period of performance, `YYYY-MM-DD`. |
| `end_date` | string or null | Its current end, `YYYY-MM-DD`. |
| `potential_end_date` | string or null | Its end with every option, `YYYY-MM-DD`. |
| `last_modified_date` | string or null | The day the award last changed, `YYYY-MM-DD`. |
| `awarding_agency` | string or null | The department that made the award. |
| `awarding_sub_agency` | string or null | The agency within it. |
| `awarding_office` | string or null | The contracting office. |
| `funding_agency` | string or null | The department that pays for it. |
| `recipient_name` | string or null | Who received the award. |
| `recipient_id` | string or null | USAspending's id of the recipient. |
| `recipient_uei` | string or null | The recipient's Unique Entity ID. |
| `parent_name` | string or null | The recipient's parent company. |
| `recipient_city` | string or null | The recipient's city. |
| `recipient_state` | string or null | The recipient's state, as two letters. |
| `recipient_country` | string or null | The recipient's country. |
| `business_categories` | array of string | The recipient's business categories, as USAspending lists them. |
| `performance_city` | string or null | Where the work is done: the city. |
| `performance_state` | string or null | Where the work is done: the state, as two letters. |
| `performance_country` | string or null | Where the work is done: the country. |
| `naics_code` | string or null | The NAICS industry code. |
| `naics_description` | string or null | What that code means. |
| `psc_code` | string or null | The product or service code. |
| `psc_description` | string or null | What that code means. |
| `competition` | string or null | How it was competed, e.g. `FULL AND OPEN COMPETITION`. |
| `offers_received` | integer or null | How many offers were received. |
| `set_aside` | string or null | The small-business set-aside, if any. |
| `solicitation_id` | string or null | The solicitation's number. |
| `parent_award_id` | string or null | The number of the vehicle this order is placed under. |
| `subaward_count` | integer or null | How many subawards are reported. |
| `subaward_amount` | number or null | Their total, in US dollars. |
| `fetched_at` | string (date-time) | When USAspending was asked, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
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"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "usaspending.award",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "award": "CONT_AWD_FA862118F6251_9700_FA862115D6276_9700"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "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"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `business_categories`: 6 items, the first 3 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the USAspending scrapers](https://docs.enrichednow.com/results-and-statuses.md#usaspending) are in their own section there.
