Google Reader finally has its first official API. Any developer in the world can request the entire history of a web feed from Google’s geo-distributed server cloud in a normalized response for inclusion in their websites or products. I’ve been hoping for such an API since I first deconstructed the Google Reader backend in December 2005.
Google AJAX Feed API endpoint
It’s much quicker and simpler for advanced users to directly code against Google’s feed API endpoint. I’ll walk through each required and optional parameter of the REST interface.
- Base URL.
- A properly escaped feed URL.
- DOM Level 1 document context for XML. Set to blank if not needed.
- API version number, currently 1.0.
- Optional. Maximum number of entries included in the response. Default is 4.
- Optional. Lets Google track your requests for metering and other purposes. You can agree to a terms of service and receive a key if you’d like.
This endpoint is unsupported and technically in violation of the product’s terms of service. Yet it functions just fine for my needs and provides a quicker load for client- and server-side scripts.