http://search.twitter.com/trends.json
You get back the top ten currently trending topics in no particular
order, like this:
{"as_of": "2008-09-23 17:32:37",
"trends": [
{"name": "Android",
"url": "http:\/\/search.twitter.com\/search?q=Android"},
{"name": "T-Mobile G1",
"url":"http:\/\/search.twitter.com\/search?q=T-Mobile+G1"},
...
]
}
As you can see, each trend includes a URL to the corresponding page of
search results on Twitter Search. Note that this method is only
available in JSON format. As we merge the Search API with the main
Twitter REST API, we'll provide this data in XML format as well.
You can find the updated documentation for the Search API, including
documentation for this new method, on the Twitter API Wiki:
http://apiwiki.twitter.com/Search+API+Documentation. We've already
used this API to develop some neat tools inside of Twitter, and we're
eager to see what you all come up with!
--
Alex Payne - API Lead, Twitter, Inc.
http://twitter.com/al3x