Note that if you are using the API as REST URL
e.g.
select * from search.termextract where context="Italian sculptors and painters of the renaissance favored the Virgin Mary for inspiration" and query="madonna"
http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20search.termextract%20where%20context%3D%22Italian%20sculptors%20and%20painters%20of%20the%20renaissance%20favored%20the%20Virgin%20Mary%20for%20inspiration%22%20and%20query%3D%22madonna%22&diagnostics=true
REST url tends to break with large text easily, if url goes even bigger than 1024 characters , it will be blocked client or server somewhere in the chain. For large URL you should use POST.