1 credit per call3 endpoints16 datapoints
USAspending API
USAspending API for U.S. federal contracts, grants and loans: award search, full award details and recipients by name or UEI as JSON.
{
"success": true,
"data": {
"page": 1,
"has_more": true,
"count": 10,
"items": [
{
"award_id": "CONT_AWD_FA862118F6251_9700_FA862115D6276_9700",
"award_number": "FA862118F6251",
"recipient": "LOCKHEED MARTIN CORPORATION",
"recipient_id": "ea75ddee-2d00-ac7f-5e72-6f42d7c88c8c-C",
"recipient_uei": "KDT2YLB34NT6",
"amount": 673293501.78,
"description": "IGF::OT::IGF AFSOC ACTS AWARD OF CONTRACT FOR CLS, ENGINEERING, INSTRUCTION, CYBERSECURITY, DMO",
"type": "DELIVERY ORDER",
"awarding_agency": "Department of Defense",
"awarding_sub_agency": "Department of the Air Force",
"start_date": "2018-02-08",
"end_date": "2027-01-31",
"place_of_performance_state": "FL",
"naics": {
"code": "336413",
"description": "OTHER AIRCRAFT PARTS AND AUXILIARY EQUIPMENT MANUFACTURING"
},
"psc": {
"code": "J069",
"description": "MAINT/REPAIR/REBUILD OF EQUIPMENT- TRAINING AIDS AND DEVICES"
},
"url": "https://www.usaspending.gov/award/CONT_AWD_FA862118F6251_9700_FA862115D6276_9700"
},
{
"award_id": "CONT_AWD_HQ085722F8003_9700_HQ079617D0001_9700",
"award_number": "HQ085722F8003",
"recipient": "AMENTUM TECHNOLOGY, INC.",
"recipient_id": "64d116c0-8e36-0200-3878-827560dca24a-C",
"recipient_uei": "DTRJLHVLK8F4",
"amount": 524055138.18,
"description": "DELIVER INFORMATION MANAGEMENT AND IT SERVICES TO MDA FOR UNCLASSIFIED AND CLASSIFIED NETWORKS. UTILIZING THE CUSTOMER-FOCUSED SERVICE MODEL, ITIL METHOD. PERFORM BREAK-FIX, MAINTENANCE AND CYBERSECURITY OF CIO MANAGED NETWORKS WITHIN MDA.",
"type": "DELIVERY ORDER",
"awarding_agency": "Department of Defense",
"awarding_sub_agency": "Missile Defense Agency",
"start_date": "2022-09-05",
"end_date": "2025-09-01",
"place_of_performance_state": "CO",
"naics": {
"code": "541712",
"description": "RESEARCH AND DEVELOPMENT IN THE PHYSICAL, ENGINEERING, AND LIFE SCIENCES (EXCEPT BIOTECHNOLOGY)"
},
"psc": {
"code": "AC23",
"description": "NATIONAL DEFENSE R&D SERVICES; ATOMIC ENERGY DEFENSE ACTIVITIES; EXPERIMENTAL DEVELOPMENT"
},
"url": "https://www.usaspending.gov/award/CONT_AWD_HQ085722F8003_9700_HQ079617D0001_9700"
},
{
"award_id": "CONT_AWD_47QFCA20F0049_4732_47QTCK18D0003_4732",
"award_number": "47QFCA20F0049",
"recipient": "GENERAL DYNAMICS INFORMATION TECHNOLOGY, INC.",
"recipient_id": "455555be-773d-eab1-1e6b-7b94400b757e-C",
"recipient_uei": "SMNWM6HN79X5",
"amount": 396604521.78,
"description": "THE SCOPE OF THIS REQUIREMENT INCLUDES PROGRAM MANAGEMENT SERVICES, TRANSITION SERVICES, AND A FULL RANGE OF ENTERPRISE IT-RELATED SERVICES AND TECHNICAL SOLUTIONS THAT SPAN CYBERSECURITY AND IT MANAGEMENT.",
"type": "DELIVERY ORDER",
"awarding_agency": "General Services Administration",
"awarding_sub_agency": "Federal Acquisition Service",
"start_date": "2020-09-25",
"end_date": "2025-10-24",
"place_of_performance_state": "FL",
"naics": {
"code": "541512",
"description": "COMPUTER SYSTEMS DESIGN SERVICES"
},
"psc": {
"code": "D318",
"description": "IT AND TELECOM- INTEGRATED HARDWARE/SOFTWARE/SERVICES SOLUTIONS, PREDOMINANTLY SERVICES"
},
"url": "https://www.usaspending.gov/award/CONT_AWD_47QFCA20F0049_4732_47QTCK18D0003_4732"
}
]
},
"meta": {
"request_id": "req_5b4b559b21484d86a2dd485da9ae3178",
"credits_charged": 1,
"credits_remaining": 484
}
}Sample data
What one call returns
A recorded run of awards-search: the fields and shapes you will get, shortened to 3 items.
| # | award_idstring | award_numberstring | recipientstring | recipient_idstring | recipient_ueistring | amountnumber | descriptionstring | typestring | awarding_agencystring | awarding_sub_agencystring | start_datestring | end_datestring | place_of_performance_statestring | naicsobject | pscobject | urlurl |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | CONT_AWD_FA862118F6251_9700_FA862115D6276_9700 | FA862118F6251 | LOCKHEED MARTIN CORPORATION | ea75ddee-2d00-ac7f-5e72-6f42d7c88c8c-C | KDT2YLB34NT6 | 673293501.78 | IGF::OT::IGF AFSOC ACTS AWARD OF CONTRACT FOR CLS, ENGINEERING, INSTRUCTION, CYBERSECURITY, DMO | DELIVERY ORDER | Department of Defense | Department of the Air Force | 2018-02-08 | 2027-01-31 | FL | {2 fields} | {2 fields} | https://www.usaspending.gov/award/CONT_AWD_FA862118F6251_9700_FA862115D6276_9700 |
| 2 | CONT_AWD_HQ085722F8003_9700_HQ079617D0001_9700 | HQ085722F8003 | AMENTUM TECHNOLOGY, INC. | 64d116c0-8e36-0200-3878-827560dca24a-C | DTRJLHVLK8F4 | 524055138.18 | DELIVER INFORMATION MANAGEMENT AND IT SERVICES TO MDA FOR UNCLASSIFIED AND CLASSIFIED NETWORKS. UTILIZING THE CUSTOMER-FOCUSED SERVICE MODEL, ITIL METHOD. PERFORM BREAK-FIX, MAINTENANCE AND CYBERSECURITY OF CIO MANAGED NETWORKS WITHIN MDA. | DELIVERY ORDER | Department of Defense | Missile Defense Agency | 2022-09-05 | 2025-09-01 | CO | {2 fields} | {2 fields} | https://www.usaspending.gov/award/CONT_AWD_HQ085722F8003_9700_HQ079617D0001_9700 |
| 3 | CONT_AWD_47QFCA20F0049_4732_47QTCK18D0003_4732 | 47QFCA20F0049 | GENERAL DYNAMICS INFORMATION TECHNOLOGY, INC. | 455555be-773d-eab1-1e6b-7b94400b757e-C | SMNWM6HN79X5 | 396604521.78 | THE SCOPE OF THIS REQUIREMENT INCLUDES PROGRAM MANAGEMENT SERVICES, TRANSITION SERVICES, AND A FULL RANGE OF ENTERPRISE IT-RELATED SERVICES AND TECHNICAL SOLUTIONS THAT SPAN CYBERSECURITY AND IT MANAGEMENT. | DELIVERY ORDER | General Services Administration | Federal Acquisition Service | 2020-09-25 | 2025-10-24 | FL | {2 fields} | {2 fields} | https://www.usaspending.gov/award/CONT_AWD_47QFCA20F0049_4732_47QTCK18D0003_4732 |
[
{
"award_id": "CONT_AWD_FA862118F6251_9700_FA862115D6276_9700",
"award_number": "FA862118F6251",
"recipient": "LOCKHEED MARTIN CORPORATION",
"recipient_id": "ea75ddee-2d00-ac7f-5e72-6f42d7c88c8c-C",
"recipient_uei": "KDT2YLB34NT6",
"amount": 673293501.78,
"description": "IGF::OT::IGF AFSOC ACTS AWARD OF CONTRACT FOR CLS, ENGINEERING, INSTRUCTION, CYBERSECURITY, DMO",
"type": "DELIVERY ORDER",
"awarding_agency": "Department of Defense",
"awarding_sub_agency": "Department of the Air Force",
"start_date": "2018-02-08",
"end_date": "2027-01-31",
"place_of_performance_state": "FL",
"naics": {
"code": "336413",
"description": "OTHER AIRCRAFT PARTS AND AUXILIARY EQUIPMENT MANUFACTURING"
},
"psc": {
"code": "J069",
"description": "MAINT/REPAIR/REBUILD OF EQUIPMENT- TRAINING AIDS AND DEVICES"
},
"url": "https://www.usaspending.gov/award/CONT_AWD_FA862118F6251_9700_FA862115D6276_9700"
},
{
"award_id": "CONT_AWD_HQ085722F8003_9700_HQ079617D0001_9700",
"award_number": "HQ085722F8003",
"recipient": "AMENTUM TECHNOLOGY, INC.",
"recipient_id": "64d116c0-8e36-0200-3878-827560dca24a-C",
"recipient_uei": "DTRJLHVLK8F4",
"amount": 524055138.18,
"description": "DELIVER INFORMATION MANAGEMENT AND IT SERVICES TO MDA FOR UNCLASSIFIED AND CLASSIFIED NETWORKS. UTILIZING THE CUSTOMER-FOCUSED SERVICE MODEL, ITIL METHOD. PERFORM BREAK-FIX, MAINTENANCE AND CYBERSECURITY OF CIO MANAGED NETWORKS WITHIN MDA.",
"type": "DELIVERY ORDER",
"awarding_agency": "Department of Defense",
"awarding_sub_agency": "Missile Defense Agency",
"start_date": "2022-09-05",
"end_date": "2025-09-01",
"place_of_performance_state": "CO",
"naics": {
"code": "541712",
"description": "RESEARCH AND DEVELOPMENT IN THE PHYSICAL, ENGINEERING, AND LIFE SCIENCES (EXCEPT BIOTECHNOLOGY)"
},
"psc": {
"code": "AC23",
"description": "NATIONAL DEFENSE R&D SERVICES; ATOMIC ENERGY DEFENSE ACTIVITIES; EXPERIMENTAL DEVELOPMENT"
},
"url": "https://www.usaspending.gov/award/CONT_AWD_HQ085722F8003_9700_HQ079617D0001_9700"
},
{
"award_id": "CONT_AWD_47QFCA20F0049_4732_47QTCK18D0003_4732",
"award_number": "47QFCA20F0049",
"recipient": "GENERAL DYNAMICS INFORMATION TECHNOLOGY, INC.",
"recipient_id": "455555be-773d-eab1-1e6b-7b94400b757e-C",
"recipient_uei": "SMNWM6HN79X5",
"amount": 396604521.78,
"description": "THE SCOPE OF THIS REQUIREMENT INCLUDES PROGRAM MANAGEMENT SERVICES, TRANSITION SERVICES, AND A FULL RANGE OF ENTERPRISE IT-RELATED SERVICES AND TECHNICAL SOLUTIONS THAT SPAN CYBERSECURITY AND IT MANAGEMENT.",
"type": "DELIVERY ORDER",
"awarding_agency": "General Services Administration",
"awarding_sub_agency": "Federal Acquisition Service",
"start_date": "2020-09-25",
"end_date": "2025-10-24",
"place_of_performance_state": "FL",
"naics": {
"code": "541512",
"description": "COMPUTER SYSTEMS DESIGN SERVICES"
},
"psc": {
"code": "D318",
"description": "IT AND TELECOM- INTEGRATED HARDWARE/SOFTWARE/SERVICES SOLUTIONS, PREDOMINANTLY SERVICES"
},
"url": "https://www.usaspending.gov/award/CONT_AWD_47QFCA20F0049_4732_47QTCK18D0003_4732"
}
]award_id,award_number,recipient,recipient_id,recipient_uei,amount,description,type,awarding_agency,awarding_sub_agency,start_date,end_date,place_of_performance_state,naics,psc,url
CONT_AWD_FA862118F6251_9700_FA862115D6276_9700,FA862118F6251,LOCKHEED MARTIN CORPORATION,ea75ddee-2d00-ac7f-5e72-6f42d7c88c8c-C,KDT2YLB34NT6,673293501.78,"IGF::OT::IGF AFSOC ACTS AWARD OF CONTRACT FOR CLS, ENGINEERING, INSTRUCTION, CYBERSECURITY, DMO",DELIVERY ORDER,Department of Defense,Department of the Air Force,2018-02-08,2027-01-31,FL,"{""code"":""336413"",""description"":""OTHER AIRCRAFT PARTS AND AUXILIARY EQUIPMENT MANUFACTURING""}","{""code"":""J069"",""description"":""MAINT/REPAIR/REBUILD OF EQUIPMENT- TRAINING AIDS AND DEVICES""}",https://www.usaspending.gov/award/CONT_AWD_FA862118F6251_9700_FA862115D6276_9700
CONT_AWD_HQ085722F8003_9700_HQ079617D0001_9700,HQ085722F8003,"AMENTUM TECHNOLOGY, INC.",64d116c0-8e36-0200-3878-827560dca24a-C,DTRJLHVLK8F4,524055138.18,"DELIVER INFORMATION MANAGEMENT AND IT SERVICES TO MDA FOR UNCLASSIFIED AND CLASSIFIED NETWORKS. UTILIZING THE CUSTOMER-FOCUSED SERVICE MODEL, ITIL METHOD. PERFORM BREAK-FIX, MAINTENANCE AND CYBERSECURITY OF CIO MANAGED NETWORKS WITHIN MDA.",DELIVERY ORDER,Department of Defense,Missile Defense Agency,2022-09-05,2025-09-01,CO,"{""code"":""541712"",""description"":""RESEARCH AND DEVELOPMENT IN THE PHYSICAL, ENGINEERING, AND LIFE SCIENCES (EXCEPT BIOTECHNOLOGY)""}","{""code"":""AC23"",""description"":""NATIONAL DEFENSE R&D SERVICES; ATOMIC ENERGY DEFENSE ACTIVITIES; EXPERIMENTAL DEVELOPMENT""}",https://www.usaspending.gov/award/CONT_AWD_HQ085722F8003_9700_HQ079617D0001_9700
CONT_AWD_47QFCA20F0049_4732_47QTCK18D0003_4732,47QFCA20F0049,"GENERAL DYNAMICS INFORMATION TECHNOLOGY, INC.",455555be-773d-eab1-1e6b-7b94400b757e-C,SMNWM6HN79X5,396604521.78,"THE SCOPE OF THIS REQUIREMENT INCLUDES PROGRAM MANAGEMENT SERVICES, TRANSITION SERVICES, AND A FULL RANGE OF ENTERPRISE IT-RELATED SERVICES AND TECHNICAL SOLUTIONS THAT SPAN CYBERSECURITY AND IT MANAGEMENT.",DELIVERY ORDER,General Services Administration,Federal Acquisition Service,2020-09-25,2025-10-24,FL,"{""code"":""541512"",""description"":""COMPUTER SYSTEMS DESIGN SERVICES""}","{""code"":""D318"",""description"":""IT AND TELECOM- INTEGRATED HARDWARE/SOFTWARE/SERVICES SOLUTIONS, PREDOMINANTLY SERVICES""}",https://www.usaspending.gov/award/CONT_AWD_47QFCA20F0049_4732_47QTCK18D0003_4732Recorded from our API · 3 items shown · 16 datapoints per itemGET /v1/usaspending/awards-search?keyword=cybersecurity&per_page=10
16 datapoints
Identity
- award_idstring
- recipient_idstring
- typestring
Contact
- urlurl
Location
- place_of_performance_statestring
Reputation
- start_datestring
Price
- amountnumber
Other
- award_numberstring
- recipientstring
- recipient_ueistring
- descriptionstring
- awarding_agencystring
- awarding_sub_agencystring
- end_datestring
- naicsobject
- pscobject
Playground
Run this API
curl "https://api.perceptlayer.com/v1/usaspending/awards-search?keyword=cybersecurity&per_page=10" \
-H "X-API-Key: $API_KEY"USAspending · 3 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/usaspending/award | id | award_idaward_numbercategorytypetype_descriptiondescription+16 more | 1 credit |
GET/v1/usaspending/awards-search | none+8 optional | award_idaward_numberrecipientrecipient_idrecipient_ueiamount+10 more | 1 credit |
GET/v1/usaspending/recipient-search | keyword+3 optional | recipient_idnameueidunslevelamount_last_12_months+1 more | 1 credit |
Overview
About the USAspending API
What you can get
The USAspending API returns U.S. federal spending data from USAspending.gov as JSON through 3 endpoints.
- Award search:
awards-searchtakes akeyword, arecipient(name or UEI), an awardingagency(its full name, such as Department of Defense), anaward_typegroup (contracts, idvs, grants, direct_payments, loans or other; default contracts), andfiscal_yearwith an optionalfiscal_year_end, withpageandper_page(1 to 100). Awards come largest first. Fiscal years run October to September, and searches start at fiscal year 2008. - Award:
awardtakes the generated awardidthatawards-searchreturns. - Recipient search:
recipient-searchtakes akeyword(a name, UEI or DUNS), withaward_type,pageandper_page.
The recorded awards-search for "cybersecurity" contracts returns page, has_more and items, each with award_id, award_number, recipient, recipient_id, recipient_uei, amount, description, type, awarding_agency, awarding_sub_agency, start_date, end_date, place_of_performance_state, naics, psc and a url to the award on USAspending.gov. The recorded award call for the first of them, a Department of the Air Force delivery order to LOCKHEED MARTIN CORPORATION, returned a total_obligation of $673,293,501.78 against base_and_all_options of $729,624,184.28, with total_outlay, date_signed, potential_end_date, awarding_agency and funding_agency down to the office, a recipient with its parent, UEI, business categories and location, place_of_performance, naics, psc, competition (FULL AND OPEN COMPETITION, 4 offers received, FIRM FIXED PRICE), its parent_award, and 521 subawards totalling $545,120,462.56. The recorded recipient-search for "lockheed" returns total (287) and recipients with recipient_id, name, uei, duns, level (parent or child) and amount_last_12_months.
How a call works
Search, then look up: GET /v1/usaspending/awards-search?keyword=cybersecurity&award_type=contracts with your key in the X-API-Key header returns each award's award_id; award takes it as id, for example GET /v1/usaspending/award?id=CONT_AWD_FA862118F6251_9700_FA862115D6276_9700. Check has_more before asking for the next page. Answers come from a cache for up to 6 hours. Every successful call costs 1 credit; failed calls cost nothing.
More finance APIs
Use cases
Find the largest federal contracts for a keyword in a fiscal year
Use the USAspending API to find the largest federal contracts for a keyword in a fiscal yearLet a capture-research agent list an agency's awards to a competitor
Use the USAspending API to let a capture-research agent list an agency's awards to a competitorSize a contractor's federal revenue from `amount_last_12_months`
Use the USAspending API to size a contractor's federal revenue from `amount_last_12_months`Pull an award's NAICS and PSC codes, competition type and number of offers
Use the USAspending API to pull an award's NAICS and PSC codes, competition type and number of offersFAQ
Questions
Is this the official USAspending API?
No. Perceptlayer is an independent service and is not affiliated with USAspending.gov or the U.S. government. The USAspending API is free to call directly, with no key. This API calls it on your behalf and adds one key for every source on Perceptlayer, GET requests in place of its JSON search bodies, flattened records in one response shape, a cache of up to 6 hours, and no charge for failed calls.
Why do I need an award type?
USAspending searches one award type group at a time. `awards-search` uses contracts unless you pass another `award_type`, such as grants or loans.
How far back does the data go?
Searches start at fiscal year 2008. A fiscal year runs from 1 October to 30 September, so fiscal year 2026 began on 2025-10-01.
Can I reuse the data?
Yes. It is U.S. government spending data, public domain as a work of the U.S. government, with no attribution requirement.
Should I build an USAspending scraper instead?
You can, but an USAspending scraper is code you maintain: page changes break it, requests get blocked, and USAspending's terms govern how you collect data. The USAspending API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the USAspending API with 100 free credits
No credit card. Failed calls are never billed.