This my Answer to the stackoverflow question: How can I programmatically generate relevant tags for a database of URLs?:
You can use delicious suggested tags API.
An example of how to use the api via python http://www.michael-noll.com/projects/delicious-python-api/
An other alternative is Open Calais
