Skip to content

Export all of your Venmo history to a single CSV file.

Notifications You must be signed in to change notification settings

Ryderpro/Venmo-History-CSV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📜 Venmo History CSV

Venmo limit

Venmo has a tool for exporting your history as CSV, but limits it to 90 days at a time.

Note: All of your transaction history can be viewed, but you can only view or download a maximum of 90 days at one time... Venmo history help article

With Venmo History CSV you can export all of your Venmo history to a single file.

Usage

Usage: ruby venmo_history.rb [OPTIONS]

    🗃  Export all of your venmo history to CSV.
    💻 Developed by Avery Ryder -> (Github: ryderpro)

Required Options:
  -d, -date [2018-01-01]     fetch transactions from now to past date
  -t, -access_token [TOKEN]  access token to use Venmo API

 More Options:
  -b, -before_id [id]        start after specific transaction_id
  -h, -help                  show this message and exit

Instructions

  1. You'll need to have or install Ruby and Bundler. Bundler allows loading dependencies when you execute a file with require 'bundler/inline'.

  2. Get your api_access_token by logging into Venmo through any browser.

    Venmo token fetching instructions
  3. Save this script, venmo_history.rb, locally and run this command to get all venmo transactions from now to 2018-01-01.
    $ ruby venmo_history.rb -d 2018-01-01 -t accesstoken

  4. Say you want to pick up where you left off an a specific transaction with id (987654321) do this command. $ ruby venmo_history.rb -d 2018-01-01 -t accesstoken -b 987654321

What to expect

ruby venmo_history.rb -t great-token-12345 -d 2017-01-01

💎 Getting ready to fetch Venmos from now back to 2017-01-01...

🐕 Fetching me with {}... 200 OK
🐕🐕🐕 Retrieved 19 records.

💎 Found username - ryderpro

🐕 Fetching stories/target-or-actor/123456 with {:limit=>50}... 200 OK
🐕🐕🐕 Retrieved 50 records.

🐕 Fetching stories/target-or-actor/123456 with {:limit=>50, :before_id=>"309638417"}... 200 OK
🐕🐕🐕 Retrieved 50 records.

🐕 Fetching stories/target-or-actor/123456 with {:limit=>50, :before_id=>"304335560"}... 200 OK
🐕🐕🐕 Retrieved 50 records.

🐕 Fetching stories/target-or-actor/123456 with {:limit=>50, :before_id=>"215903083"}... 200 OK
🐕🐕🐕 Retrieved 50 records.

Continues fetching.....

💎 Exporting 1083 transactions. Look for venmos_120820_to_010417.csv.
✅ Finished.

🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨🔨

Acknowledgements

Disclaimer

I was able to export all my history, January 2015 to December 2020, 1500+ transactions, without any issues. The private endpoint being used stories/ is the suggested way to traverse your account history.

I expected a rate limit, or some other API Error while testing this script but encountered none.

The code within this repository comes with no guarantee, the use of this code is your responsibility.

I take NO responsibility and/or liability for how you choose to use any of the source code available here. By using any of the files available in this repository, you understand that you are AGREEING TO USE AT YOUR OWN RISK. Once again, ALL files available here are for EDUCATION and/or RESEARCH purposes ONLY.

Misuse of your Venmo access token could result in your account being locked or other actions from Venmo.

About

Export all of your Venmo history to a single CSV file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages