I tried to use Java and DOM XML parser to get the Alexa ranking from below :
http://data.alexa.com/data?cli=10&url=domainName
Is there any API for Alexa ranking and other useful for particular URL ?
Yep but you've gotta pay for it: http://aws.amazon.com/awis/