USAspending API ReferenceIndependent
Try the API

State Overview

GET/api/v2/recipient/state/

These endpoints are used to power USAspending.gov's state profile pages. This data can be used to visualize the government spending that occurs in a specific state or territory.

This endpoint returns a list of states and their amounts.

Request

curl 'https://api.usaspending.gov/api/v2/recipient/state/'

Try it

Runs against the live API. Responses are real data.

GET/api/v2/recipient/state/

Response · 200

  • namestringRequired
  • codestringRequired
  • fipsstringRequired
  • amountnumberRequired
  • typeenum (string)Required
    Allowed values
    • state
    • territory
    • district
Example response
[
  {
    "name": "",
    "code": "",
    "fips": "",
    "amount": 0,
    "type": "state"
  }
]

Recent changes

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

Generated from contracts/v2/recipient/state.md in the USAspending API repo.

Loading…