data is available for anyone to access via Amazon Relational Database Service (RDS). is a government website launched in 2007 to provide access to the federal spending data mandated by the Federal Funding Accountability and Transparency Act of 2006. includes data on all spending by the federal government, including contracts, grants, loans, employee salaries, and more. This data can be used by researchers, entrepreneurs, and anyone interested in analyzing how federal tax dollars are spent.

The database is available as a PostgreSQL snapshot on Amazon RDS, and is updated weekly. The snapshot provides bulk access to the entire database that powers the API.

For more information about this data, please visit the Data Dictionary. For more in-depth documentation on data, their API repository on GitHub includes open source software that includes python models for the database structure in this RDS snapshot, as well as the source code for the API that makes use of this database.

  1. Sign in to the AWS Management Console and select the "US East (N. Virginia)" region in the menu bar.
  2. Open the Amazon RDS console at
  3. In the navigation pane, choose "Snapshots."
  4. In the search filter, select "All Public Snapshots," and search for 515495268755.
  5. Select the snapshot named "arn:aws:rds:us-east-1:515495268755:snapshot:usaspending-db"
  6. Select "Snapshot Actions" > "Restore Snapshot."
  7. Fill out details such as instance size and whether it’s publicly accessible and select "Restore DB Instance."
  8. You will see that a DB instance of the snapshot is being created in your own account.
  9. After a few minutes, you will see that the status has changed to "available," and you will be able to see the endpoint for your database along with other information about the DB instance.

You can use the AWS Command Line Interface (CLI) to deploy the database. The following command will copy the snapshot to a new Amazon RDS DB instance called "my-test-db-cli" in your AWS account:

aws rds restore-db-instance-from-db-snapshot --db-instance-identifier my-test-db-cli --db-snapshot-identifier arn:aws:rds:us-east-1:515495268755:snapshot:usaspending-db --region us-east-1

Once the DB instance is launched, the CLI will display information about the instance, including Endpoint.Address, which you can use to connect to the database.

After following the AWS Management Console or AWS CLI instructions above, you will have access to the full database within this Amazon RDS DB instance, and you can connect to it using any PostgreSQL client using the following credentials:

username: root
password: password
database: data_store_api

If you use psql, you could access the database using this command:

psql -h -U root -d data_store_api

It is recommended that you change the database password as soon as you access it.

If you cannot connect to the DB instance but think you should be able to, you may need to check your VPC Security Groups and make sure inbound and outbound traffic on the port (usually 5432) is allowed from where you are connecting.

Format Amazon RDS for PostgreSQL snapshot
License U.S. Government Work
Storage Service Amazon RDS
Location US East (N. Virginia)
Update Frequency Weekly

Please raise an issue on the Website GitHub repository if you have any questions or concerns about this dataset.

Educators, researchers and students can apply for free promotional credits to take advantage of Public Datasets on AWS. If you have a research project that could take advantage of the Database on AWS, you can apply for AWS Cloud Credits for Research.