I looked into this in 2013. At that point there was a "My Clippings.txt" file stored on the kindle that was accessible as a USB storage volume when plugged in. This file stored each annotation in plain text, along with the document ID and the start and ending location of the annotation.
Trouble was, the location was in the Kindle's "Loc" format which is nontrivial (at least to me at the time) to connect to specific text in the document.
I'm sure someone's probably worked this out by now?
Sorry I failed to mention I'm aware of the "clippings.txt" setup, but I would like to be able to have it automated via the web.
Amazon doesn't expose a direct API for highlighting, and Readwise for example does a little "hack" where you use their browser extension to redirect to the Kindle highlights page and I think they just slurp up the authenticated API requests.
There are some books where if you exceed a certain number of highlights, they are not saved on the file anymore, and Iām pretty sure it also affects the web version too.
This is set as part of the DRM, so be careful that you are really saving the data you want. I went deep into a book highlighting things before I noticed this limitation.
Trouble was, the location was in the Kindle's "Loc" format which is nontrivial (at least to me at the time) to connect to specific text in the document.
I'm sure someone's probably worked this out by now?
Update: yes, at least 160 projects
https://github.com/search?q=%22my%20clippings.txt%22&type=re...