There is no REST API for Roam released yet. I have reverse-engineered an “API” to use in my projects, but it is by no means official. Read on about my Roam API implementation:
Roam Research is a powerful “note-taking tool for networked thought“. See more of my Roam writings, tools and scripts. The only annoyance of Roam is its lack of a public API. I love connecting things and have quite an extensive personal infrastructure, all connecting to Evernote. Having data flow through various APIs is crucial to my automation philosophy. I just had to get some kind of Roam API.
Instead of waiting, I wrote a project to expose Roam API to my personal infrastructure. Check out
roam-research-private-api on npm.
I since switched to Firebase 2 Roam – another implementation using Firebase API from Roam. It is much leaner.
With Roam Research Private API, I used to sync my Roam Graph every 6 hours with other pieces of my personal infrastructure:
- Import events for the day from Google Calendar
- Import Google Photos from that day to show up in my daily notes
- Import new notes from Evernote notebook which I use for quick capture.
Here are the other amazing things the roam-research-private-api can do:
Other Roam Hacks and APIs
I also have the following projects connecting to Roam: