USAspending API ReferenceIndependent
Try the API

DEF Code Types

GET/api/v2/references/def_codes/

This endpoint returns a JSON object describing all Disaster and Emergency Funding (DEF) Codes

Request

curl 'https://api.usaspending.gov/api/v2/references/def_codes/'

Try it

Runs against the live API. Responses are real data.

GET/api/v2/references/def_codes/

Response · 200

  • codesarray of DEFCRequired5 fields
    • codestringRequired

      Disaster Emergency Fund Code

    • public_lawstringRequired

      Name of the public law which created the DEF or a placeholder description

    • disasterstringRequiredNullable

      Internal field to group several DEFC together for correlated relief efforts

    • titlestringRequiredNullable

      Official title of the public law or a placeholder description of the DEFC

    • urlsarray of stringRequiredNullable

      Hyperlink(s) to official documentation on the DEFC legislation

Example response
{
  "codes": [
    {
      "code": "9",
      "public_law": "DEFC of '9' Indicates that the data for this row is not related to a COVID-19 P.L. (not DEFC = L, M, N, O, P, U)",
      "title": "DEFC of '9' Indicates that the data for this row is not related to a COVID-19 P.L. (not DEFC = L, M, N, O, P, or U), but that the agency has declined to specify which other DEFC (or combination of DEFCs, in the case that the money hasn't been split out like it would be with a specific DEFC value) applies.",
      "urls": null,
      "disaster": null
    },
    {
      "code": "A",
      "public_law": "Emergency P.L. 115-56",
      "title": "Supplemental Appropriations for Disaster Relief Requirements Act, 2017",
      "urls": [
        "https://www.congress.gov/115/plaws/publ56/PLAW-115publ56.htm"
      ],
      "disaster": null
    },
    {
      "code": "B",
      "public_law": "Emergency P.L. 115-72",
      "title": "Additional Supplemental Appropriations for Disaster Relief Requirements Act, 2017",
      "urls": [
        "https://www.congress.gov/115/plaws/publ72/PLAW-115publ72.htm"
      ],
      "disaster": null
    },
    {
      "code": "C",
      "public_law": "Emergency P.L. 115-123",
      "title": "Bipartisan Budget Act of 2018",
      "urls": [
        "https://www.congress.gov/115/plaws/publ123/PLAW-115publ123.htm"
      ],
      "disaster": null
    },
    {
      "code": "D",
      "public_law": "Emergency P.L. 115-254",
      "title": "FAA Reauthorization Act of 2018",
      "urls": [
        "https://www.congress.gov/115/plaws/publ254/PLAW-115publ254.htm"
      ],
      "disaster": null
    },
    {
      "code": "E",
      "public_law": "Emergency P.L. 116-20",
      "title": "Additional Supplemental Appropriations for Disaster Relief Act, 2019",
      "urls": [
        "https://www.congress.gov/116/plaws/publ20/PLAW-116publ20.pdf"
      ],
      "disaster": null
    },
    {
      "code": "F",
      "public_law": "Emergency P.L. 116-26",
      "title": "EMERGENCY SUPPLEMENTAL APPROPRIATIONS FOR HUMANITARIAN ASSISTANCE AND SECURITY AT THE SOUTHERN BORDER ACT, 2019",
      "urls": [
        "https://www.congress.gov/116/plaws/publ26/PLAW-116publ26.htm"
      ],
      "disaster": null
    },
    {
      "code": "G",
      "public_law": "Emergency P.L. 116-93",
      "title": "Consolidated Appropriations Act, 2020",
      "urls": [
        "https://www.congress.gov/116/plaws/publ93/PLAW-116publ93.htm"
      ],
      "disaster": null
    },
    {
      "code": "H",
      "public_law": "Disaster P.L. 116-93",
      "title": "Consolidated Appropriations Act, 2020",
      "urls": [
        "https://www.congress.gov/116/plaws/publ93/PLAW-116publ93.htm"
      ],
      "disaster": null
    },
    {
      "code": "I",
      "public_law": "Emergency P.L. 116-94",
      "title": "Further Consolidated Appropriations Act, 2020",
      "urls": [
        "https://www.congress.gov/bill/116th-congress/house-bill/1865/tex"
      ],
      "disaster": null
    },
    {
      "code": "J",
      "public_law": "Wildfire Suppression P.L. 116-94",
      "title": "Further Consolidated Appropriations Act, 2020",
      "urls": [
        "https://www.congress.gov/bill/116th-congress/house-bill/1865/text"
      ],
      "disaster": null
    },
    {
      "code": "K",
      "public_law": "Emergency P.L. 116-113",
      "title": "United States-Mexico-Canada Agreement Implementation Act",
      "urls": [
        "https://www.congress.gov/bill/116th-congress/house-bill/5430/text"
      ],
      "disaster": null
    },
    {
      "code": "L",
      "public_law": "Emergency P.L. 116-123",
      "title": "Coronavirus Preparedness and Response Supplemental Appropriations Act, 2020",
      "urls": [
        "https://www.congress.gov/116/plaws/publ123/PLAW-116publ123.pdf"
      ],
      "disaster": "covid_19"
    },
    {
      "code": "M",
      "public_law": "Emergency P.L. 116-127",
      "title": "Families First Coronavirus Response Act",
      "urls": [
        "https://www.congress.gov/116/plaws/publ127/PLAW-116publ127.pdf"
      ],
      "disaster": "covid_19"
    },
    {
      "code": "N",
      "public_law": "Emergency P.L. 116-136",
      "title": "Coronavirus Aid, Relief, and Economic Security Act or the CARES Act",
      "urls": [
        "https://www.congress.gov/116/bills/hr748/BILLS-116hr748enr.pdf"
      ],
      "disaster": "covid_19"
    },
    {
      "code": "O",
      "public_law": "Non-emergency P.L. 116-136 | Non-emergency P.L. 116-139 | Non-emergency P.L. 116-260",
      "title": "Coronavirus Aid, Relief, and Economic Security Act or the CARES Act | Paycheck Protection Program and Health Care Enhancement Act | Consolidated Appropriations Act, 2021",
      "urls": [
        "https://www.congress.gov/116/bills/hr748/BILLS-116hr748enr.pdf",
        "https://www.congress.gov/116/plaws/publ139/PLAW-116publ139.pdf"
      ],
      "disaster": "covid_19"
    },
    {
      "code": "P",
      "public_law": "Emergency P.L. 116-139",
      "title": "Paycheck Protection Program and Health Care Enhancement Act",
      "urls": [
        "https://www.congress.gov/116/plaws/publ139/PLAW-116publ139.pdf"
      ],
      "disaster": "covid_19"
    },
    {
      "code": "Q",
      "public_law": "Excluded from tracking (uses non-emergency/non-disaster designated appropriations)",
      "title": null,
      "urls": null,
      "disaster": null
    },
    {
      "code": "R",
      "public_law": "Future Disaster and P.L. To Be Determined",
      "title": "Future Disaster and P.L. To Be Determined",
      "urls": null,
      "disaster": null
    },
    {
      "code": "S",
      "public_law": "Future Disaster and P.L. To Be Determined",
      "title": "Future Disaster and P.L. To Be Determined",
      "urls": null,
      "disaster": null
    },
    {
      "code": "T",
      "public_law": "Future Disaster and P.L. To Be Determined",
      "title": "Future Disaster and P.L. To Be Determined",
      "urls": null,
      "disaster": null
    },
    {
      "code": "U",
      "public_law": "Emergency P.L. 116-260",
      "title": "Consolidated Appropriations Act, 2021",
      "urls": null,
      "disaster": "covid_19"
    }
  ]
}

Recent changes

No contract changes to this endpoint since October 2024. The changelog covers every endpoint.

Generated from contracts/v2/references/def_codes.md in the USAspending API repo.

Loading…