Working of a page-ranking application?

I came across some page-ranking web-app that would generate the current ranking of a website. I was wondering from where do they get the data for ranking a page? Do they somehow access the google databases and check their indexed values?:surprised