FORMAT: 1A HOST: https://api.usaspending.gov
This endpoint provides insights on the Object Classes which received disaster/emergency funding per the requested filters.
Returns spending details of Object Classes receiving supplemental funding budgetary resources
-
Request (application/json)
-
Schema
{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object" }
-
Attributes
filter
(required, Filter, fixed-type)spending_type
(required, enum[string], fixed-type) Toggle if the outlay and obligation response values are total or only from awards- Members
total
award
- Members
pagination
(optional, Pagination, fixed-type)
-
Body
{ "filter": { "def_codes": ["L", "M", "N", "O", "P", "U"], "award_type_codes": ["02", "03", "04", "05", "07", "08", "10", "06", "09", "11", "A", "B", "C", "D", "IDV_A", "IDV_B", "IDV_B_A", "IDV_B_B", "IDV_B_C", "IDV_C", "IDV_D", "IDV_E"] }, "pagination": { "limit": 10, "page": 1, "sort": "award_count", "order": "desc" }, "spending_type": "total" }
-
-
Response 200 (application/json)
-
Attributes (object)
totals
(required, Totals, fixed-type)results
(required, array[Result], fixed-type)page_metadata
(required, PageMetadata, fixed-type)
-
Body
{ "totals": { "award_count": 4574, "obligation": 364037369840.58, "outlay": 290416885040.71 }, "results": [ { "id": "90", "code": "90", "description": "Other", "award_count": 5, "obligation": 746085355.77, "outlay": 723027742.93, "children": [ { "id": "195", "code": "920", "description": "Undistributed", "award_count": 1, "obligation": 20077899.96, "out`lay": 13711575.76 } ] }, { "id": "40", "code": "40", "description": "Grants and fixed charges", "award_count": 8, "obligation": 595026834439.96, "outlay": 569289818857.45, "children": [] } ], "page_metadata": { "page": 1, "next": 2, "previous": null, "hasNext": true, "hasPrevious": false, "total": 23, "limit": 2 } }
-
def_codes
(required, array[DEFC], fixed-type)award_type_codes
(optional, array[AwardTypeCodes], fixed-type) Defaults to all Award Type Codes. Applicable only when requestedaward
spending.query
(optional, string) A "keyword" or "search term" to filter down results based on this text snippet
page
(optional, number) Requested page of results- Default: 1
limit
(optional, number) Page Size of results- Default: 10
order
(optional, enum[string]) Indicates what direction results should be sorted by. Valid options include asc for ascending order or desc for descending order.- Default:
desc
- Members
desc
asc
- Default:
sort
(optional, enum[string]) Optional parameter indicating what value results should be sorted by- Default:
id
- Members
id
code
description
award_count
obligation
outlay
- Default:
award_count
(optional, number)obligation
(required, number)outlay
(required, number)
id
(required, string)code
(required, string)description
(required, string)children
(optional, array[Result], fixed-type)award_count
(required, number, nullable)obligation
(required, number, nullable)outlay
(required, number, nullable)
page
(required, number)next
(required, number, nullable)previous
(required, number, nullable)hasNext
(required, boolean)hasPrevious
(required, boolean)total
(required, number)limit
(required, number)
List of Disaster Emergency Fund (DEF) Codes (DEFC) defined by legislation at the time of writing
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
9
List of procurement and assistance award type codes supported by USAspending.gov
02
03
04
05
06
07
08
09
10
11
A
B
C
D
IDV_A
IDV_B_A
IDV_B_B
IDV_B_C
IDV_B
IDV_C
IDV_D
IDV_E