Skip to main content

You are currently viewing a beta version of this site; please send improvements to contact@openomb.org.

Developers and Researchers

The OpenOMB project aims to make the Office of Management and Budget's apportionments data more accessible to many different audiences. We know that direct access to our data can be much easier to work with than using the website for certain purposes. If you would like to see different methods or endpoints to the data, please contact us.

If you would like direct access to the source data, it is available at apportionment-public.max.gov.

Data collection last completed on Nov 21, 2024.

Bulk downloads

Coming soon.

API

We provide a basic API for developers to utilize the data in our applications.

It is important to note that we try to avoid altering the original data, but we do some basic cleanup and re-structuring of the data for better usability and functionality. For more details about how our application works and how our data is processed, please see our codebase on Github and specifically our database schema files.

General responses

Responses from the API will be in JSON format. A successful response will include the following.
{
  query: {
    ...any query parameters that were provided
  },
  results: ...data
}

Endpoints

EndpointDescriptionQuery parameters
/api/v1/files/recentGet recently approved files.limit - Limit number of results; defaults to 50; limit is 1000.
/api/v1/files/[fileId]Get the details of a single file if you know the File IDsourceData - Set to anything to include source data in response; defaults to false.
/api/v1/foldersGet the full list of folders.
/api/v1/collectionsGet a list of completed collections (i.e. scraping runs).