Try USAspending now.

Choose an example or ask your own question.

USAspending
TRY ASKING
1Request
string[]Required

Required. One family only: contracts A (BPA call), B (purchase order), C (delivery order), D (definitive contract); IDVs IDV_A..IDV_E; grants 02 block, 03 formula, 04 project, 05 cooperative agreement; direct payments 06, 10; loans 07 direct, 08 guaranteed; other 09 insurance, 11 other, -1. Separate values with commas.

object[]

agencies

object[]

USD ranges (OR) on the award total; at least one bound each.

string

next_cursor from the previous page; bound to identical filters, sort and page_size. Depth is capped at 500 pages.

number

page_size

string

Recipient name, UEI or DUNS text.

object[]

Action-date windows (OR). start_date >= 2007-10-01. Omitted = 2007-10-01 to 2030-09-30. FY2025 is 2024-10-01..2025-09-30.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "usaspending-gov",
    capability: "awards/award_search",
    options: {
      award_type_codes: [
        "A",
        "B",
        "C",
        "D",
      ],
      page_size: 2,
      recipient_search_text: "LOCKHEED MARTIN",
      time_period: [
        {
          end_date: "2025-09-30",
          start_date: "2024-10-01",
        },
      ],
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from USAspending.

{
  "award_type_codes": [
    "A",
    "B",
    "C",
    "D"
  ],
  "category": "contract",
  "complete": true,
  "next_cursor": "v1:2:dc75022b9a379b5b",
  "page": {
    "max_pages": 500,
    "number": 1,
    "size": 2
  },
  "records": [
    {
      "amount_unit": {
        "basis": "nominal dollars as reported to USAspending; award-level totals sum every transaction to date",
        "currency": "USD",
        "scale": "1"
      },
      "award_type": "DEFINITIVE CONTRACT",
      "award_type_code": null,
      "awarding_agency": {
        "office": null,
        "subtier": "Department of Energy",
        "subtier_code": null,
        "toptier": "Department of Energy",
        "toptier_code": null
      },
      "base_and_all_options": null,
      "base_exercised_options": null,
      "category": "contract",
      "cfda": null,
      "cfda_number": null,
      "date_signed": "1993-10-15",
      "def_codes": [
        "Q"
      ],
      "description": null,
      "detail_level": "summary",
      "fain": null,
      "funding_agency": {
        "office": null,
        "subtier": "Department of Energy",
        "subtier_code": null,
        "toptier": "Department of Energy",
        "toptier_code": null
      },
      "generated_unique_award_id": "CONT_AWD_DEAC0494AL85000_8900_-NONE-_-NONE-",
      "internal_id": "295476065",
      "last_modified_date": "2026-07-07 17:57:06",
      "loan_face_value": null,
      "loan_subsidy_cost": null,
      "naics": {
        "code": "561210",
        "description": "FACILITIES SUPPORT SERVICES"
      },
      "observed_at_ms": 1789444592871,
      "parent_award": null,
      "period_of_performance": {
        "current_end": "2017-04-30",
        "last_date_to_order": null,
        "potential_end": null,
        "start": "1993-10-15"
      },
      "piid": "DEAC0494AL85000",
      "place_of_performance": {
        "city_code": null,
        "city_name": null,
        "congressional_code": null,
        "country_code": "USA",
        "county_code": null,
        "state_code": "NM",
        "zip5": "87185"
      },
      "psc": {
        "code": "M181",
        "description": "OPER OF GOVT R&D GOCO FACILITIES"
      },
      "recipient": {
        "business_categories": null,
        "duns": null,
        "location": null,
        "name": "LOCKHEED MARTIN CORP",
        "parent_name": null,
        "parent_recipient_id": null,
        "parent_uei": null,
        "recipient_id": "6e7a895c-aa57-8600-2a8a-4e237f6213f6-C",
        "uei": "FYHNA5WC8XD7"
      },
      "source_url": "https://www.usaspending.gov/award/CONT_AWD_DEAC0494AL85000_8900_-NONE-_-NONE-",
      "source_vintage": "2026-09-14",
      "subaward_count": null,
      "total_obligation": "48063737196.35",
      "total_outlays": "-4166130.71",
      "total_subaward_amount": null,
      "uri": null
    },
    {
      "amount_unit": {
        "basis": "nominal dollars as reported to USAspending; award-level totals sum every transaction to date",
        "currency": "USD",
        "scale": "1"
      },
      "award_type": "DEFINITIVE CONTRACT",
      "award_type_code": null,
      "awarding_agency": {
        "office": null,
        "subtier": "Department of the Navy",
        "subtier_code": null,
        "toptier": "Department of Defense",
        "toptier_code": null
      },
      "base_and_all_options": null,
      "base_exercised_options": null,
      "category": "contract",
      "cfda": null,
      "cfda_number": null,
      "date_signed": "2017-04-28",
      "def_codes": [
        "N",
        "Q"
      ],
      "description": "LRIP LOT 12 ADVANCE ACQUISITION CONTRACT",
      "detail_level": "summary",
      "fain": null,
      "funding_agency": {
        "office": null,
        "subtier": "Department of the Navy",
        "subtier_code": null,
        "toptier": "Department of Defense",
        "toptier_code": null
      },
      "generated_unique_award_id": "CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-",
      "internal_id": "309494502",
      "last_modified_date": "2026-04-15 19:52:27",
      "loan_face_value": null,
      "loan_subsidy_cost": null,
      "naics": {
        "code": "336411",
        "description": "AIRCRAFT MANUFACTURING"
      },
      "observed_at_ms": 1789444592871,
      "parent_award": null,
      "period_of_performance": {
        "current_end": "2031-03-31",
        "last_date_to_order": null,
        "potential_end": null,
        "start": "2017-11-17"
      },
      "piid": "N0001917C0001",
      "place_of_performance": {
        "city_code": null,
        "city_name": null,
        "congressional_code": null,
        "country_code": "USA",
        "county_code": null,
        "state_code": "TX",
        "zip5": "76108"
      },
      "psc": {
        "code": "1510",
        "description": "AIRCRAFT, FIXED WING"
      },
      "recipient": {
        "business_categories": null,
        "duns": null,
        "location": null,
        "name": "LOCKHEED MARTIN CORPORATION",
        "parent_name": null,
        "parent_recipient_id": null,
        "parent_uei": null,
        "recipient_id": "6cf5fb1b-4988-d087-5dc1-70939d8fc6c4-C",
        "uei": "G4KDGE4JFFK7"
      },
      "source_url": "https://www.usaspending.gov/award/CONT_AWD_N0001917C0001_9700_-NONE-_-NONE-",
      "source_vintage": "2026-09-14",
      "subaward_count": null,
      "total_obligation": "35135514910.2",
      "total_outlays": "933036846.29",
      "total_subaward_amount": null,
      "uri": null
    }
  ],
  "retrieved_at": "2026-09-15T03:56:32Z",
  "schema_version": "1.0.0",
  "sort": "amount_desc",
  "source_request": {
    "fields": [
      "Award ID",
      "Recipient Name",
      "Recipient UEI",
      "Recipient DUNS Number",
      "Start Date",
      "End Date",
      "Award Amount",
      "Total Outlays",
      "Description",
      "Awarding Agency",
      "Awarding Sub Agency",
      "Funding Agency",
      "Funding Sub Agency",
      "Contract Award Type",
      "Award Type",
      "Last Date to Order",
      "recipient_id",
      "generated_internal_id",
      "Last Modified Date",
      "Base Obligation Date",
      "Period of Performance Current End Date",
      "Place of Performance City Code",
      "Place of Performance State Code",
      "Place of Performance Country Code",
      "Place of Performance Zip5",
      "NAICS",
      "PSC",
      "CFDA Number",
      "Loan Value",
      "Subsidy Cost",
      "SAI Number",
      "Issued Date",
      "def_codes"
    ],
    "filters": {
      "award_type_codes": [
        "A",
        "B",
        "C",
        "D"
      ],
      "recipient_search_text": [
        "LOCKHEED MARTIN"
      ],
      "time_period": [
        {
          "end_date": "2025-09-30",
          "start_date": "2024-10-01"
        }
      ]
    },
    "limit": 2,
    "order": "desc",
    "page": 1,
    "sort": "Award Amount",
    "subawards": false
  },
  "source_updated_at": "2026-09-14",
  "source_url": "https://api.usaspending.gov/api/v2/search/spending_by_award/",
  "units": {
    "basis": "nominal dollars as published by USAspending",
    "currency": "USD",
    "scale": "1"
  },
  "upstream_requests": 2,
  "warnings": []
}

Firecrawl tools

9

Ready-made Firecrawl tools that call USAspending.

Quality, speed and cost, last 24 hours, across every agent call to USAspending through Alexandria.

Quality
100%
Calls answered without a tool error
Speed
2.3 s
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
249
Last 24 hours, every Alexandria user
Quality and speed of each tool, last 24 hours
ToolQualitySpeedCalls
Award search100%2.4 s133
Transactions100%968 ms71
Award100%2.4 s23
Browse the library
//
Get started
//
Give your agent USAspending.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options