Flights feed

The base URL for Cleartrip’s flights feed is
http://www.cleartrip.com/alerts/rss?

Depending on the content you want to receive, you can add parameters to the URL as listed in the table below:

Parameter Options Description Example
from Mandatory 3-letter IATA code for your departure airport from=BOM
to Optional 3-letter IATA code for your destination airport to=GOI
when Optional yyyymm format to indicate year and month when=200808

To get a list of the best flight prices from Mumbai to Goa in August, 2008, the feed URL should be constructed as:
http://www.cleartrip.com/alerts/rss?from=BOM&to=GOI&when=200809

Hotels feed

The base URL for Cleartrip’s hotels feed is:
http://www.cleartrip.com/hotels/india/[city_name].rss

Insert the name of a destination city in place of [city_name] in the above URL.

To get a list of Cleartrip’s hotels and hotel deals for Goa, the feed URL should be constructed as:
http://www.cleartrip.com/hotels/india/goa.rss

Depending on the content you want to receive, you can add one of the following parameters to the URL:

Parameter Options Description Example
stars Optional Hotel star rating
Valid values are 1, 2, 3, 4, 5
stars=5
locality Optional Name of an area or neighbourhood in a city locality=anjuna
chain Optional Name of a hotel chain chain=starwood

Examples

To get a list of all 5 Star hotels in Goa, the URL should be constructed as:
http://www.cleartrip.com/hotels/india/goa.rss?stars=5

Content feeds

Cleartrip makes content feeds available for readers of the Cleartrip Blog and the Cleartrip Forum.

Blog feeds

The URL for the Cleartrip Blog posts feed is:
http://blog.cleartrip.com/journal/rss.xml

The URL for user comments on the Cleartrip Blog is:
http://blog.cleartrip.com/journal/rss-comments.xml

Forum feed

The URL for the Cleartrip Forum is:
http://www.cleartrip.com/forums/posts.rss

What’s RSS?

RSS or Really Simple Syndication is a feed format which allows websites to distribute content without requiring someone using a browser to visit the website. RSS supports subscriptions to regular content updates which can be delivered automatically via other sites, newsreaders

So what’s the point?

Cleartrip’s mission is to make travel simple and the simple publishing and distribution mechanism enabled by RSS was too tempting for us to pass up. So, we decided to open up some of our content and data and make it available to the world via RSS. We believe that RSS serves as a lightweight API and is an effective means of communication for people and computers alike.