Ted-api is a project mainly written in PYTHON and JAVASCRIPT, it's free.
A REST API for TED & TEDx talks
REST API for TED Talks.
Hosted on http://ted-api.appspot.com/rest/v1/json/
Uses http://code.google.com/p/appengine-rest-server/ as API base
Checkout the Models in the appengine/models.py file and you should be able to make queries.
Example: http://ted-api.appspot.com/rest/v1/json/Talk?offset=1