Making get API for the greasemonkey script to use.